debian/0000755000000000000000000000000012260371123007163 5ustar debian/README.source0000644000000000000000000000057112257676621011366 0ustar node-jsdom for Debian --------------------- The tarball has been repackaged to: - remove a minified version of jQuery contained in the examples directory; - remove the testsuite, which has portions © W3C, under a non-free license -- David Paleino Sat, 29 Oct 2011 18:42:48 +0200 debian/compat0000644000000000000000000000000212257676621010402 0ustar 8 debian/control0000644000000000000000000000145012260370327010573 0ustar Source: node-jsdom Section: web Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: David Paleino Build-Depends: debhelper (>= 8~) Standards-Version: 3.9.5 Homepage: https://github.com/tmpvar/jsdom Vcs-Git: git://anonscm.debian.org/collab-maint/node-jsdom.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/node-jsdom.git Package: node-jsdom Architecture: all Depends: ${misc:Depends} , nodejs , node-htmlparser , node-cssom , node-request , node-contextify (>= 0.1) Description: javascript implementation of the W3C DOM node-jsdom is a CommonJS implementation of the DOM, intended to be platform independent and as minimal/light as possible, while completely adhering to the w3c DOM specifications. debian/docs0000644000000000000000000000001212257676621010050 0ustar README.md debian/examples0000644000000000000000000000001212257676621010736 0ustar example/* debian/install0000644000000000000000000000002612257676621010573 0ustar lib/* usr/lib/nodejs/ debian/patches/0000755000000000000000000000000012260370652010620 5ustar debian/patches/series0000644000000000000000000000004312257676621012045 0ustar 00-dont_require_package-json.patch debian/patches/00-dont_require_package-json.patch0000644000000000000000000000151312260370652017200 0ustar Last-Update: 2013-12-31 From: David Paleino Reviewed-By: Dmitry Smirnov Subject: don't require package.json Origin: vendor Forwarded: no --- lib/jsdom.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/lib/jsdom.js +++ b/lib/jsdom.js @@ -1,9 +1,8 @@ var fs = require('fs'); var path = require('path'); var URL = require('url'); var request = require('request'); -var pkg = require('../package.json'); var toFileUrl = require('./jsdom/utils').toFileUrl; var style = require('./jsdom/level2/style'); var features = require('./jsdom/browser/documentfeatures'); @@ -28,9 +27,9 @@ exports.debugMode = false; exports.__defineGetter__('version', function() { - return pkg.version; + return '0.8.10'; }); exports.level = function (level, feature) { if(!feature) { debian/source/0000755000000000000000000000000012257676621010504 5ustar debian/source/format0000644000000000000000000000001412257676621011712 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000043112257676621010233 0ustar version=3 opts=dversionmangle=s/\+dfsg\d// \ https://alioth.debian.org/~dapal/npmjs.php?id=jsdom \ http://registry.npmjs.org/jsdom/-/jsdom-(\d+.*)\.tgz opts=dversionmangle=s/\+dfsg\d// \ https://github.com/tmpvar/jsdom/releases \ .*/archive/v?(\d[-\d\.]+)\.tar\.(?:gz|bz2|xz) debian/changelog0000644000000000000000000000171412260371123011040 0ustar node-jsdom (0.8.10+dfsg1-1) unstable; urgency=low * Team upload. * New upstream release. * Bump Standards to 3.9.5. * Updated VCS links to canonical form. * Removed obsolete "override_dh_fixperms". * "debian/watch" to check Github for releases. * Updated "00-dont_require_package-json.patch". * Minor get-orig-source DFSG-repackaging corrections. [ David Paleino ] * Update debian/copyright * Bump dependency on node-contextify (>= 0.1) -- Dmitry Smirnov Tue, 31 Dec 2013 08:57:57 +1100 node-jsdom (0.2.10+dfsg1-1) unstable; urgency=low * New upstream version -- David Paleino Sat, 31 Dec 2011 12:06:18 +0100 node-jsdom (0.2.9+dfsg1-1) unstable; urgency=low * New upstream version -- David Paleino Wed, 16 Nov 2011 22:15:34 +0100 node-jsdom (0.2.8+dfsg1-1) unstable; urgency=low * Initial release -- David Paleino Sat, 29 Oct 2011 18:49:00 +0200 debian/copyright0000644000000000000000000000743412260370652011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0 Files: * Copyright: © 2010, Elijah Insua License: MIT Files: debian/* Copyright: © 2011-2012, David Paleino License: MIT Files: example/ender/* Copyright: © 2011, Dustin Diaz © 2011, Jacob Thornton License: MIT Files: example/pure/pure.js Copyright: © 2010, Michael Cvilic License: MIT Files: example/sizzle/sizzle.js Copyright: © 2009, The Dojo Foundation License: MIT or BSD-3 or GPL-2+ Comment: https://github.com/jquery/sizzle/blob/master/LICENSE License: MIT Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: . The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. . THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. License: BSD-3 Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: * Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. * Neither the name of the nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. . THIS SOFTWARE IS PROVIDED BY John Resig ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-2+ This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/rules0000755000000000000000000000126312260370652010253 0ustar #!/usr/bin/make -f # -*- makefile -*- # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 ifndef UPVER UPVER := $(shell dpkg-parsechangelog | grep ^Version | cut -d\ -f2 | cut -d- -f1 | cut -d+ -f1) endif %: dh $@ get-orig-source: uscan \ --verbose \ --download-version $(UPVER) \ --force-download \ --destdir . \ --rename tar -xf node-jsdom_$(UPVER).orig.tar.gz @echo Removing minified jQuery @rm -rfv jsdom-$(UPVER)/example/jquery/ @echo Removing tests, since the W3C testsuite is under a non-free license @rm -rfv jsdom-$(UPVER)/test/ tar -caf node-jsdom_$(UPVER)+dfsg1.orig.tar.xz jsdom-$(UPVER)/ rm -rf node-jsdom_$(UPVER).orig.tar.gz jsdom-$(UPVER)/