Commit dc9ec9c8 authored by Bastien ROUCARIÈS's avatar Bastien ROUCARIÈS

Add cli and upgrade package

parent fd94ae99
node-cookie-parser (1.4.3-1) unstable; urgency=medium
* Team upload
* New upstream version
* Bump compat and policy (no changes)
* Move to salsa
* Improve cli
-- Bastien Roucariès <rouca@debian.org> Thu, 10 May 2018 14:45:21 +0200
node-cookie-parser (1.1.0-1) unstable; urgency=low
* Initial release (Closes: #751576)
......
Source: node-cookie-parser
Section: web
Priority: extra
Section: javascript
Priority: optional
Maintainer: Debian Javascript Maintainers <pkg-javascript-devel@lists.alioth.debian.org>
Uploaders: Leo Iannacone <l3on@ubuntu.com>
Build-Depends:
debhelper (>= 8)
debhelper (>= 11)
, dh-buildinfo
, nodejs
, node-cookie-signature
, node-cookie
, node-supertest
, node-mocha
Standards-Version: 3.9.5
, node-cookie-signature (>= 1.0.3) <!nocheck>
, node-cookie (>= 0.3.1) <!nocheck>
, node-supertest (>= 0.14) <!nocheck>
, mocha (>= 4) <!nocheck>
Standards-Version: 4.1.4
Homepage: https://github.com/expressjs/cookie-parser
Vcs-Git: git://anonscm.debian.org/pkg-javascript/node-cookie-parser.git
Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-javascript/node-cookie-parser.git
Vcs-Git: https://salsa.debian.org/js-team/node-cookie-parser.git
Vcs-Browser: https://salsa.debian.org/js-team/node-cookie-parser
Package: node-cookie-parser
Architecture: all
Depends:
${misc:Depends}
, nodejs
, node-cookie-signature
, node-cookie
, node-cookie-signature (>= 1.0.3)
, node-cookie (>= 0.3.1)
Description: cookie parsing middleware with signatures - Node.js module
This module provides an express/connect middleware for parsing
the HTTP Cookie header. It populates req.cookies with an object
......
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: cookie-parser
Upstream-Contact: https://github.com/expressjs/cookie-parser/issues
Source: https://github.com/expressjs/cookie-parser
Files: *
Copyright: 2014 TJ Holowaychuk <tj@vision-media.ca>
2014-2018 Douglas Christopher Wilson <doug@somethingdoug.com>
2014 Roman Shtylman <shtylman@gmail.com>
2014 Jonathan Ong <jonathanrichardong@gmail.com>
2014 Jamie Nguyen <j@jamielinux.com>
License: Expat
Files: debian/*
Copyright: 2014 Leo Iannacone <l3on@ubuntu.com>
2018 Bastien Roucariès <rouca@debian.org>
License: Expat
License: Expat
......
package.json usr/lib/nodejs/cookie-parser/
lib usr/lib/nodejs/cookie-parser/
index.js usr/lib/nodejs/cookie-parser/
......@@ -10,9 +10,13 @@
#override_dh_auto_build:
override_dh_auto_test:
mocha -C --ui bdd --reporter list -- test/*.js
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS) $(DEB_BUILD_PROFILES)))
mocha --exit --ui bdd --reporter list -- test/*.js
else
@echo '**********************************************************'
@echo 'Skip test suite '
@echo '**********************************************************'
endif
override_dh_installchangelogs:
dh_installchangelogs -k History.md
dh_installchangelogs -k HISTORY.md
Tests: require
Depends: node-cookie-parser, nodejs (>=6)
Tests: runtestsuite
Depends: node-cookie-parser, nodejs (>=6), mocha (>= 4), node-supertest (>= 0.14)
#!/bin/sh
set -e
node -e "require('cookie-parser');"
#!/bin/sh
set -e
mocha --exit --ui bdd --reporter list -- test/*.js
\ No newline at end of file
version=3
version=4
opts=\
dversionmangle=s/\?(debian|dfsg|ds|deb)\d*$//,\
filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-cookie-parser-$1.tar.gz/ \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment