diff -Nru node-commondir-1.0.1/debian/changelog node-commondir-1.0.1+~1.0.0/debian/changelog --- node-commondir-1.0.1/debian/changelog 2020-05-03 07:40:20.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/changelog 2021-12-29 17:57:34.000000000 +0000 @@ -1,3 +1,23 @@ +node-commondir (1.0.1+~1.0.0-1) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * Apply multi-arch hints. + + node-commondir: Add Multi-Arch: foreign. + + [ Yadd ] + * Bump debhelper compatibility level to 13 + * Modernize debian/watch + * Fix GitHub tags regex + * Fix filenamemangle + * Use dh-sequence-nodejs instead of pkg-js-tools + * Update standards version to 4.6.0, no changes needed. + * Drop dependency to nodejs + * Embed typescript declarations and repack + + -- Yadd Wed, 29 Dec 2021 18:57:34 +0100 + node-commondir (1.0.1-2) unstable; urgency=medium * Team upload diff -Nru node-commondir-1.0.1/debian/control node-commondir-1.0.1+~1.0.0/debian/control --- node-commondir-1.0.1/debian/control 2020-05-03 07:40:15.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/control 2021-12-29 17:56:30.000000000 +0000 @@ -3,10 +3,10 @@ Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Pirate Praveen -Build-Depends: debhelper-compat (= 12) +Build-Depends: debhelper-compat (= 13) + , dh-sequence-nodejs , node-tape - , pkg-js-tools (>= 0.9.20~) -Standards-Version: 4.5.0 +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/js-team/node-commondir Vcs-Git: https://salsa.debian.org/js-team/node-commondir.git Homepage: https://github.com/substack/node-commondir @@ -16,6 +16,7 @@ Package: node-commondir Architecture: all Depends: ${misc:Depends} - , nodejs +Provides: ${nodejs:Provides} +Multi-Arch: foreign Description: compute the closest common parent for file paths Node.js is an event-based server-side JavaScript engine. diff -Nru node-commondir-1.0.1/debian/copyright node-commondir-1.0.1+~1.0.0/debian/copyright --- node-commondir-1.0.1/debian/copyright 2020-05-03 07:36:25.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/copyright 2021-12-29 17:56:31.000000000 +0000 @@ -2,6 +2,7 @@ Upstream-Name: commondir Upstream-Contact: https://github.com/substack/node-commondir/issues Source: https://github.com/substack/node-commondir + https://registry.npmjs.org/@types/commondir Files: * Copyright: 2016 James Halliday (http://substack.net) @@ -11,6 +12,10 @@ Copyright: 2016 Pirate Praveen License: Expat +Files: types-*/* +Copyright: Microsoft Corporation +License: Expat + License: Expat Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files diff -Nru node-commondir-1.0.1/debian/gbp.conf node-commondir-1.0.1+~1.0.0/debian/gbp.conf --- node-commondir-1.0.1/debian/gbp.conf 2020-05-03 07:40:15.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/gbp.conf 2021-12-29 17:56:31.000000000 +0000 @@ -1,5 +1,6 @@ [DEFAULT] -pristine-tar = True +pristine-tar=True +component=['types-commondir'] [import-orig] -filter = [ '.gitignore', '.travis.yml', '.git*' ] +filter=[ '.gitignore', '.travis.yml', '.git*' ] diff -Nru node-commondir-1.0.1/debian/nodejs/root_modules node-commondir-1.0.1+~1.0.0/debian/nodejs/root_modules --- node-commondir-1.0.1/debian/nodejs/root_modules 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/nodejs/root_modules 2021-12-29 17:56:30.000000000 +0000 @@ -0,0 +1 @@ +* \ No newline at end of file diff -Nru node-commondir-1.0.1/debian/rules node-commondir-1.0.1+~1.0.0/debian/rules --- node-commondir-1.0.1/debian/rules 2020-05-03 07:37:59.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/rules 2021-04-14 14:42:39.000000000 +0000 @@ -5,4 +5,4 @@ #export DH_VERBOSE=1 %: - dh $@ --with nodejs + dh $@ diff -Nru node-commondir-1.0.1/debian/salsa-ci.yml node-commondir-1.0.1+~1.0.0/debian/salsa-ci.yml --- node-commondir-1.0.1/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/salsa-ci.yml 2021-04-14 14:42:42.000000000 +0000 @@ -0,0 +1,4 @@ +--- +include: + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/salsa-ci.yml + - https://salsa.debian.org/salsa-ci-team/pipeline/raw/master/pipeline-jobs.yml diff -Nru node-commondir-1.0.1/debian/source/lintian-overrides node-commondir-1.0.1+~1.0.0/debian/source/lintian-overrides --- node-commondir-1.0.1/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/source/lintian-overrides 2021-12-29 17:56:31.000000000 +0000 @@ -0,0 +1,2 @@ +# Generic types-* path +add-component-copyright types-* diff -Nru node-commondir-1.0.1/debian/watch node-commondir-1.0.1+~1.0.0/debian/watch --- node-commondir-1.0.1/debian/watch 2020-02-19 05:38:10.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/debian/watch 2021-12-29 17:56:38.000000000 +0000 @@ -1,5 +1,10 @@ -version=3 +version=4 opts=\ -dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ -filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-commondir-$1.tar.gz/ \ - https://github.com/substack/node-commondir/tags .*/archive/v?([\d\.]+).tar.gz +dversionmangle=auto,\ +filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-commondir-$1/ \ + https://github.com/substack/node-commondir/tags .*/archive/.*/v?([\d\.]+).tar.gz group + +# It is not recommended use npmregistry. Please investigate more. +# Take a look at https://wiki.debian.org/debian/watch/ +opts="searchmode=plain,component=types-commondir,ctype=nodejs,pgpmode=none,filenamemangle=s/^.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-types-commondir-$1/" \ + https://registry.npmjs.org/@types/commondir https://registry.npmjs.org/@types/commondir/-/commondir-([\d\.]+)@ARCHIVE_EXT@ group diff -Nru node-commondir-1.0.1/types-commondir/index.d.ts node-commondir-1.0.1+~1.0.0/types-commondir/index.d.ts --- node-commondir-1.0.1/types-commondir/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/types-commondir/index.d.ts 2018-07-26 23:47:21.000000000 +0000 @@ -0,0 +1,20 @@ +// Type definitions for commondir 1.0 +// Project: https://github.com/substack/node-commondir +// Definitions by: Leonard Thieu +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export = commondir; + +/** + * Compute the closest common parent directory for an array absolutePaths. + * + * @see \`{@link https://github.com/substack/node-commondir#commondirabsolutepaths }\` + */ +declare function commondir(basedir: string, relativePaths: string[]): string; +/** + * Compute the closest common parent directory for an array relativePaths which will be resolved for each dir in + * relativePaths according to: path.resolve(basedir, dir). + * + * @see \`{@link https://github.com/substack/node-commondir#commondirbasedir-relativepaths }\` + */ +declare function commondir(absolutePaths: string[]): string; diff -Nru node-commondir-1.0.1/types-commondir/LICENSE node-commondir-1.0.1+~1.0.0/types-commondir/LICENSE --- node-commondir-1.0.1/types-commondir/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/types-commondir/LICENSE 2018-07-26 23:47:21.000000000 +0000 @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. All rights reserved. + + 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 diff -Nru node-commondir-1.0.1/types-commondir/package.json node-commondir-1.0.1+~1.0.0/types-commondir/package.json --- node-commondir-1.0.1/types-commondir/package.json 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/types-commondir/package.json 2018-07-26 23:47:21.000000000 +0000 @@ -0,0 +1,22 @@ +{ + "name": "@types/commondir", + "version": "1.0.0", + "description": "TypeScript definitions for commondir", + "license": "MIT", + "contributors": [ + { + "name": "Leonard Thieu", + "url": "https://github.com/leonard-thieu", + "githubUsername": "leonard-thieu" + } + ], + "main": "", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "aca7c139848b80cd5891a3849cfc10957893084b5212e5cb7a5f1ce3a1a3d4ab", + "typeScriptVersion": "2.0" +} \ No newline at end of file diff -Nru node-commondir-1.0.1/types-commondir/README.md node-commondir-1.0.1+~1.0.0/types-commondir/README.md --- node-commondir-1.0.1/types-commondir/README.md 1970-01-01 00:00:00.000000000 +0000 +++ node-commondir-1.0.1+~1.0.0/types-commondir/README.md 2018-07-26 23:47:21.000000000 +0000 @@ -0,0 +1,16 @@ +# Installation +> `npm install --save @types/commondir` + +# Summary +This package contains type definitions for commondir (https://github.com/substack/node-commondir). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/commondir + +Additional Details + * Last updated: Thu, 26 Jul 2018 23:47:21 GMT + * Dependencies: none + * Global values: none + +# Credits +These definitions were written by Leonard Thieu .