diff -Nru node-uid-safe-2.1.3/debian/changelog node-uid-safe-2.1.5/debian/changelog --- node-uid-safe-2.1.3/debian/changelog 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/changelog 2019-01-10 17:04:30.000000000 +0000 @@ -1,3 +1,22 @@ +node-uid-safe (2.1.5-1) unstable; urgency=medium + + * Team upload + + [ Paolo Greppi ] + * Update Vcs fields for migration to https://salsa.debian.org/ + + [ Xavier Guimard ] + * Add gbp.conf + * New upstream version 2.1.5 + * Remove patch + * Update debian/copyright + * Bump debhelper compatibility level to 12 + * Declare compliance with policy 4.3.0 + * Change section to javascript + * Check DEBUILD_OPTIONS to ignore test + + -- Xavier Guimard Thu, 10 Jan 2019 18:04:30 +0100 + node-uid-safe (2.1.3-1) unstable; urgency=medium * Initial release (Closes: #754574) diff -Nru node-uid-safe-2.1.3/debian/compat node-uid-safe-2.1.5/debian/compat --- node-uid-safe-2.1.3/debian/compat 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/compat 2019-01-10 17:00:32.000000000 +0000 @@ -1 +1 @@ -9 +12 diff -Nru node-uid-safe-2.1.3/debian/control node-uid-safe-2.1.5/debian/control --- node-uid-safe-2.1.3/debian/control 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/control 2019-01-10 17:04:15.000000000 +0000 @@ -1,27 +1,25 @@ Source: node-uid-safe -Section: web -Priority: extra Maintainer: Debian Javascript Maintainers Uploaders: Paolo Greppi -Build-Depends: - debhelper (>= 9) - , dh-buildinfo - , nodejs - , node-random-bytes - , node-promise - , mocha -Standards-Version: 3.9.8 +Section: javascript +Priority: optional +Build-Depends: debhelper (>= 12~), + dh-buildinfo, + nodejs, + node-random-bytes, + node-promise, + mocha +Standards-Version: 4.3.0 +Vcs-Browser: https://salsa.debian.org/js-team/node-uid-safe +Vcs-Git: https://salsa.debian.org/js-team/node-uid-safe.git Homepage: https://github.com/crypto-utils/uid-safe -Vcs-Git: https://anonscm.debian.org/git/pkg-javascript/node-uid-safe.git -Vcs-Browser: https://anonscm.debian.org/cgit/pkg-javascript/node-uid-safe.git Package: node-uid-safe Architecture: all -Depends: - ${misc:Depends} - , nodejs - , node-random-bytes - , node-promise +Depends: ${misc:Depends}, + nodejs, + node-random-bytes, + node-promise Description: UID generator for cookie and URL This Node.js module provides a generator to create cryptographically secure UIDs safe for both cookie and URL usage. diff -Nru node-uid-safe-2.1.3/debian/copyright node-uid-safe-2.1.5/debian/copyright --- node-uid-safe-2.1.3/debian/copyright 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/copyright 2019-01-10 17:01:58.000000000 +0000 @@ -1,4 +1,4 @@ -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: uid-safe Upstream-Contact: https://github.com/crypto-utils/uid-safe/issues Source: https://github.com/crypto-utils/uid-safe @@ -6,7 +6,7 @@ Files: * Copyright: 2014 Jonathan Ong - 2015-2016 Douglas Christopher Wilson + 2015-2017 Douglas Christopher Wilson License: Expat Files: debian/* @@ -15,11 +15,6 @@ 2016 Paolo Greppi License: Expat -Files: debian/patches/01-remove_base64-url_module.patch -Copyright: Joaquim José F. Serafim -License: ISC -Comment: See the patch header for more information. - License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files @@ -40,16 +35,3 @@ 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: ISC - Permission to use, copy, modify, and/or distribute this software for any - purpose with or without fee is hereby granted, provided that the above - copyright notice and this permission notice appear in all copies. - . - THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES - WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF - MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR - ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES - WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN - ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF - OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. diff -Nru node-uid-safe-2.1.3/debian/gbp.conf node-uid-safe-2.1.5/debian/gbp.conf --- node-uid-safe-2.1.3/debian/gbp.conf 1970-01-01 00:00:00.000000000 +0000 +++ node-uid-safe-2.1.5/debian/gbp.conf 2019-01-10 16:55:31.000000000 +0000 @@ -0,0 +1,2 @@ +[import-orig] +filter = .gitignore diff -Nru node-uid-safe-2.1.3/debian/patches/01-remove_base64-url_module.patch node-uid-safe-2.1.5/debian/patches/01-remove_base64-url_module.patch --- node-uid-safe-2.1.3/debian/patches/01-remove_base64-url_module.patch 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/patches/01-remove_base64-url_module.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,26 +0,0 @@ -Description: It has no sense require a module only for a simple - replaces chain. - Import the function directly from upstream: - https://github.com/joaquimserafim/base64-url/blob/master/index.js - Author: Joaquim Serafim - License: ISC -Author: Leo Iannacone -Forwarded: not-needed - -Index: node-uid-safe/index.js -=================================================================== ---- node-uid-safe.orig/index.js -+++ node-uid-safe/index.js -@@ -12,8 +12,11 @@ - * @private - */ - --var escape = require('base64-url').escape - var randomBytes = require('random-bytes') -+// from https://github.com/joaquimserafim/base64-url/blob/master/index.js -+function escape (str) { -+ return str.replace(/\+/g, '-').replace(/\//g, '_').replace(/=/g, ''); -+}; - - /** - * Module exports. diff -Nru node-uid-safe-2.1.3/debian/patches/series node-uid-safe-2.1.5/debian/patches/series --- node-uid-safe-2.1.3/debian/patches/series 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 @@ -1 +0,0 @@ -01-remove_base64-url_module.patch diff -Nru node-uid-safe-2.1.3/debian/rules node-uid-safe-2.1.5/debian/rules --- node-uid-safe-2.1.3/debian/rules 2016-12-22 18:11:40.000000000 +0000 +++ node-uid-safe-2.1.5/debian/rules 2019-01-10 17:04:30.000000000 +0000 @@ -8,4 +8,6 @@ dh $@ override_dh_auto_test: +ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) mocha -C --reporter spec --bail +endif diff -Nru node-uid-safe-2.1.3/.gitignore node-uid-safe-2.1.5/.gitignore --- node-uid-safe-2.1.3/.gitignore 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/.gitignore 2017-08-03 03:20:43.000000000 +0000 @@ -5,3 +5,4 @@ node_modules coverage +package-lock.json diff -Nru node-uid-safe-2.1.3/HISTORY.md node-uid-safe-2.1.5/HISTORY.md --- node-uid-safe-2.1.3/HISTORY.md 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/HISTORY.md 2017-08-03 03:20:43.000000000 +0000 @@ -1,3 +1,13 @@ +2.1.5 / 2017-08-02 +================== + + * perf: remove only trailing `=` + +2.1.4 / 2017-03-02 +================== + + * Remove `base64-url` dependency + 2.1.3 / 2016-10-30 ================== diff -Nru node-uid-safe-2.1.3/index.js node-uid-safe-2.1.5/index.js --- node-uid-safe-2.1.3/index.js 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/index.js 2017-08-03 03:20:43.000000000 +0000 @@ -1,7 +1,7 @@ /*! * uid-safe * Copyright(c) 2014 Jonathan Ong - * Copyright(c) 2015-2016 Douglas Christopher Wilson + * Copyright(c) 2015-2017 Douglas Christopher Wilson * MIT Licensed */ @@ -12,10 +12,18 @@ * @private */ -var escape = require('base64-url').escape var randomBytes = require('random-bytes') /** + * Module variables. + * @private + */ + +var EQUAL_END_REGEXP = /=+$/ +var PLUS_GLOBAL_REGEXP = /\+/g +var SLASH_GLOBAL_REGEXP = /\//g + +/** * Module exports. * @public */ @@ -92,5 +100,8 @@ */ function toString (buf) { - return escape(buf.toString('base64')) + return buf.toString('base64') + .replace(EQUAL_END_REGEXP, '') + .replace(PLUS_GLOBAL_REGEXP, '-') + .replace(SLASH_GLOBAL_REGEXP, '_') } diff -Nru node-uid-safe-2.1.3/LICENSE node-uid-safe-2.1.5/LICENSE --- node-uid-safe-2.1.3/LICENSE 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/LICENSE 2017-08-03 03:20:43.000000000 +0000 @@ -1,7 +1,7 @@ The MIT License (MIT) Copyright (c) 2014 Jonathan Ong -Copyright (c) 2015-2016 Douglas Christopher Wilson +Copyright (c) 2015-2017 Douglas Christopher Wilson Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff -Nru node-uid-safe-2.1.3/package.json node-uid-safe-2.1.5/package.json --- node-uid-safe-2.1.3/package.json 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/package.json 2017-08-03 03:20:43.000000000 +0000 @@ -1,7 +1,7 @@ { "name": "uid-safe", "description": "URL and cookie safe UIDs", - "version": "2.1.3", + "version": "2.1.5", "contributors": [ "Douglas Christopher Wilson ", "Jonathan Ong (http://jongleberry.com)" @@ -9,15 +9,16 @@ "license": "MIT", "repository": "crypto-utils/uid-safe", "dependencies": { - "base64-url": "1.3.3", "random-bytes": "~1.0.0" }, "devDependencies": { - "bluebird": "3.4.6", - "eslint": "3.9.0", - "eslint-config-standard": "6.2.1", - "eslint-plugin-promise": "3.3.0", - "eslint-plugin-standard": "2.0.1", + "bluebird": "3.5.0", + "eslint": "3.19.0", + "eslint-config-standard": "10.2.1", + "eslint-plugin-import": "2.7.0", + "eslint-plugin-node": "5.1.1", + "eslint-plugin-promise": "3.5.0", + "eslint-plugin-standard": "3.0.1", "istanbul": "0.4.5", "mocha": "2.5.3" }, diff -Nru node-uid-safe-2.1.3/.travis.yml node-uid-safe-2.1.5/.travis.yml --- node-uid-safe-2.1.3/.travis.yml 2016-10-31 01:28:20.000000000 +0000 +++ node-uid-safe-2.1.5/.travis.yml 2017-08-03 03:20:43.000000000 +0000 @@ -6,17 +6,21 @@ - "1.8" - "2.5" - "3.3" - - "4.6" + - "4.8" - "5.12" - - "6.9" + - "6.11" + - "7.10" + - "8.2" sudo: false cache: directories: - node_modules before_install: + # Skip updating shrinkwrap / lock + - "npm config set shrinkwrap false" # Setup Node.js version-specific dependencies - "test $TRAVIS_NODE_VERSION != '0.8' || npm rm --save-dev istanbul" - - "test $(echo $TRAVIS_NODE_VERSION | cut -d'.' -f1) -ge 4 || npm rm --save-dev eslint eslint-config-standard eslint-plugin-promise eslint-plugin-standard" + - "test $(echo $TRAVIS_NODE_VERSION | cut -d. -f1) -ge 4 || npm rm --save-dev $(grep -E '\"eslint\\S*\"' package.json | cut -d'\"' -f2)" # Update Node.js modules - "test ! -d node_modules || npm prune" - "test ! -d node_modules || npm rebuild"