[Pkg-javascript-commits] [dompurify.js] 03/03: Added nodejs package
Alexandre Viau
aviau at moszumanska.debian.org
Sun Dec 27 22:42:59 UTC 2015
This is an automated email from the git hooks/post-receive script.
aviau pushed a commit to branch master
in repository dompurify.js.
commit e2987d9bd1e5c0b8242fdd33103caa200076f3a1
Author: aviau <alexandre at alexandreviau.net>
Date: Sat Dec 26 13:02:33 2015 -0500
Added nodejs package
---
debian/control | 22 +++++++++++++++++++---
debian/{install => libjs-dompurify.install} | 0
debian/node-dompurify.install | 1 +
debian/node-dompurify.links | 1 +
4 files changed, 21 insertions(+), 3 deletions(-)
diff --git a/debian/control b/debian/control
index 5b268cf..4b46db6 100644
--- a/debian/control
+++ b/debian/control
@@ -3,20 +3,36 @@ Section: web
Priority: extra
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel at lists.alioth.debian.org>
Uploaders: Alexandre Viau <aviau at debian.org>
-Build-Depends: debhelper (>= 9), uglifyjs
+Build-Depends: debhelper (>= 9), uglifyjs, nodejs
Standards-Version: 3.9.6
Vcs-Git: git://anonscm.debian.org/pkg-javascript/dompurify.js.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/dompurify.js.git
Homepage: https://github.com/cure53/DOMPurify
-Package: libjs-dompurify.js
+Package: libjs-dompurify
Architecture: all
Depends: ${misc:Depends}
Recommends: javascript-common
-Description: DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML, MathML and SVG
+Description: XSS sanitizer for HTML, MathML and SVG
DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML,
MathML and SVG. It's also very simple to use and get started with. DOMPurify
is written in JavaScript and works in all modern browsers (Safari,
Opera (15+), Internet Explorer (10+), Edge, Firefox and Chrome - as well as
almost anything else using Blink or WebKit). It doesn't break on IE6 or
other legacy browsers. It simply does nothing there.
+ .
+ This package contains the source and the minified version.
+
+Package: node-dompurify
+Architecture: all
+Depends: ${misc:Depends}, nodejs, libjs-dompurify
+Recommends: javascript-common
+Description: XSS sanitizer for HTML, MathML and SVG - Node.js module
+ DOMPurify is a DOM-only, super-fast, uber-tolerant XSS sanitizer for HTML,
+ MathML and SVG. It's also very simple to use and get started with. DOMPurify
+ is written in JavaScript and works in all modern browsers (Safari,
+ Opera (15+), Internet Explorer (10+), Edge, Firefox and Chrome - as well as
+ almost anything else using Blink or WebKit). It doesn't break on IE6 or
+ other legacy browsers. It simply does nothing there.
+ .
+ This package contains the nodejs module.
diff --git a/debian/install b/debian/libjs-dompurify.install
similarity index 100%
rename from debian/install
rename to debian/libjs-dompurify.install
diff --git a/debian/node-dompurify.install b/debian/node-dompurify.install
new file mode 100644
index 0000000..a6d7e8f
--- /dev/null
+++ b/debian/node-dompurify.install
@@ -0,0 +1 @@
+package.json usr/lib/nodejs/dompurify
diff --git a/debian/node-dompurify.links b/debian/node-dompurify.links
new file mode 100644
index 0000000..9c592bf
--- /dev/null
+++ b/debian/node-dompurify.links
@@ -0,0 +1 @@
+/usr/share/javascript/dompurify/purify.js /usr/lib/nodejs/dompurify/src/purify.js
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/dompurify.js.git
More information about the Pkg-javascript-commits
mailing list