diff -Nru node-lockfile-1.0.4/debian/changelog node-lockfile-1.0.4+~1.0.2/debian/changelog --- node-lockfile-1.0.4/debian/changelog 2021-11-09 00:34:19.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/changelog 2022-02-17 15:29:22.000000000 +0000 @@ -1,3 +1,15 @@ +node-lockfile (1.0.4+~1.0.2-1) unstable; urgency=medium + + * Team upload + + [ Debian Janitor ] + * Remove constraints unnecessary since buster + + [ Yadd ] + * Embed typescript declarations and repack + + -- Yadd Thu, 17 Feb 2022 16:29:22 +0100 + node-lockfile (1.0.4-4) unstable; urgency=medium * Team upload diff -Nru node-lockfile-1.0.4/debian/control node-lockfile-1.0.4+~1.0.2/debian/control --- node-lockfile-1.0.4/debian/control 2021-11-09 00:34:05.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/control 2022-02-17 15:28:09.000000000 +0000 @@ -3,23 +3,22 @@ Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Jérémy Lal -Testsuite: autopkgtest-pkg-nodejs -Build-Depends: - debhelper-compat (= 13) - , node-tap - , node-signal-exit (>= 3.0.2~) +Build-Depends: debhelper-compat (= 13) , dh-sequence-nodejs + , node-signal-exit + , node-tap Standards-Version: 4.6.0 -Homepage: https://github.com/isaacs/lockfile -Vcs-Git: https://salsa.debian.org/js-team/node-lockfile.git Vcs-Browser: https://salsa.debian.org/js-team/node-lockfile +Vcs-Git: https://salsa.debian.org/js-team/node-lockfile.git +Homepage: https://github.com/isaacs/lockfile +Testsuite: autopkgtest-pkg-nodejs Rules-Requires-Root: no Package: node-lockfile Architecture: all -Depends: - ${misc:Depends} - , node-signal-exit (>= 3.0.2~) +Depends: ${misc:Depends} + , node-signal-exit +Provides: ${nodejs:Provides} Description: Asynchronous file lock module for Node.js This module provides asynchronous and synchronous concurrent file locking. It supports timeouts, expirations, and retrying upon failure. diff -Nru node-lockfile-1.0.4/debian/copyright node-lockfile-1.0.4+~1.0.2/debian/copyright --- node-lockfile-1.0.4/debian/copyright 2021-11-09 00:33:47.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/copyright 2022-02-17 15:28:11.000000000 +0000 @@ -2,6 +2,7 @@ Upstream-Name: lockfile Upstream-Contact: https://github.com/isaacs/lockfile/issues Source: https://github.com/isaacs/lockfile + https://registry.npmjs.org/@types/lockfile Files: * Copyright: 2012-2013, Isaac Z. Schlueter @@ -16,6 +17,10 @@ Copyright: 2009-2011, Isaac Z. Schlueter License: Expat +Files: types-*/* +Copyright: Microsoft Corporation +License: Expat + License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions diff -Nru node-lockfile-1.0.4/debian/gbp.conf node-lockfile-1.0.4+~1.0.2/debian/gbp.conf --- node-lockfile-1.0.4/debian/gbp.conf 2019-11-19 21:43:49.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/gbp.conf 2022-02-17 15:28:11.000000000 +0000 @@ -1,5 +1,6 @@ [DEFAULT] -pristine-tar = True +pristine-tar=True +component=['types-lockfile'] [import-orig] -filter = [ '.gitignore', '.travis.yml', '.git*' ] +filter=[ '.gitignore', '.travis.yml', '.git*' ] diff -Nru node-lockfile-1.0.4/debian/nodejs/root_modules node-lockfile-1.0.4+~1.0.2/debian/nodejs/root_modules --- node-lockfile-1.0.4/debian/nodejs/root_modules 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/nodejs/root_modules 2022-02-17 15:28:09.000000000 +0000 @@ -0,0 +1 @@ +* \ No newline at end of file diff -Nru node-lockfile-1.0.4/debian/patches/dont-install-gen-changelog.sh.patch node-lockfile-1.0.4+~1.0.2/debian/patches/dont-install-gen-changelog.sh.patch --- node-lockfile-1.0.4/debian/patches/dont-install-gen-changelog.sh.patch 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/patches/dont-install-gen-changelog.sh.patch 2022-02-17 15:29:22.000000000 +0000 @@ -0,0 +1,9 @@ +Description: don't install gen-changelog.sh +Author: Yadd +Forwarded: not-needed +Last-Update: 2022-02-17 + +--- /dev/null ++++ b/.npmignore +@@ -0,0 +1 @@ ++gen-changelog.sh diff -Nru node-lockfile-1.0.4/debian/patches/series node-lockfile-1.0.4+~1.0.2/debian/patches/series --- node-lockfile-1.0.4/debian/patches/series 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/patches/series 2022-02-17 15:29:22.000000000 +0000 @@ -0,0 +1 @@ +dont-install-gen-changelog.sh.patch diff -Nru node-lockfile-1.0.4/debian/source/lintian-overrides node-lockfile-1.0.4+~1.0.2/debian/source/lintian-overrides --- node-lockfile-1.0.4/debian/source/lintian-overrides 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/source/lintian-overrides 2022-02-17 15:28:11.000000000 +0000 @@ -0,0 +1,2 @@ +# Generic types-* path +add-component-copyright types-* diff -Nru node-lockfile-1.0.4/debian/watch node-lockfile-1.0.4+~1.0.2/debian/watch --- node-lockfile-1.0.4/debian/watch 2021-11-09 00:33:48.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/debian/watch 2022-02-17 15:28:24.000000000 +0000 @@ -1,4 +1,6 @@ version=4 opts=filenamemangle=s/.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-lockfile-$1/ \ -https://github.com/isaacs/lockfile/tags .*/archive/.*/v?([\d\.]+).tar.gz +https://github.com/isaacs/lockfile/tags .*/archive/.*/v?([\d\.]+).tar.gz group +opts="searchmode=plain,component=types-lockfile,ctype=nodejs,pgpmode=none,filenamemangle=s/^.*?(\d[\d\.-]*@ARCHIVE_EXT@)/node-types-lockfile-$1/" \ + https://registry.npmjs.org/@types/lockfile https://registry.npmjs.org/@types/lockfile/-/lockfile-([\d\.]+)@ARCHIVE_EXT@ group diff -Nru node-lockfile-1.0.4/types-lockfile/index.d.ts node-lockfile-1.0.4+~1.0.2/types-lockfile/index.d.ts --- node-lockfile-1.0.4/types-lockfile/index.d.ts 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/types-lockfile/index.d.ts 2021-07-06 22:02:44.000000000 +0000 @@ -0,0 +1,24 @@ +// Type definitions for lockfile 1.0 +// Project: https://github.com/npm/lockfile +// Definitions by: Bart van der Schoor +// BendingBender +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export interface Options { + wait?: number | undefined; + pollPeriod?: number | undefined; + stale?: number | undefined; + retries?: number | undefined; + retryWait?: number | undefined; +} + +export function lock(path: string, opts: Options, callback: (err: Error | null) => void): void; +export function lock(path: string, callback: (err: Error | null) => void): void; +export function lockSync(path: string, opts?: Options): void; + +export function unlock(path: string, callback: (err: Error | null) => void): void; +export function unlockSync(path: string): void; + +export function check(path: string, opts: Options, callback: (err: Error | null, isLocked: boolean) => void): void; +export function check(path: string, callback: (err: Error | null, isLocked: boolean) => void): void; +export function checkSync(path: string, opts?: Options): boolean; diff -Nru node-lockfile-1.0.4/types-lockfile/LICENSE node-lockfile-1.0.4+~1.0.2/types-lockfile/LICENSE --- node-lockfile-1.0.4/types-lockfile/LICENSE 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/types-lockfile/LICENSE 2021-07-06 22:02:43.000000000 +0000 @@ -0,0 +1,21 @@ + MIT License + + Copyright (c) Microsoft Corporation. + + 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-lockfile-1.0.4/types-lockfile/package.json node-lockfile-1.0.4+~1.0.2/types-lockfile/package.json --- node-lockfile-1.0.4/types-lockfile/package.json 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/types-lockfile/package.json 2021-07-06 22:02:43.000000000 +0000 @@ -0,0 +1,30 @@ +{ + "name": "@types/lockfile", + "version": "1.0.2", + "description": "TypeScript definitions for lockfile", + "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lockfile", + "license": "MIT", + "contributors": [ + { + "name": "Bart van der Schoor", + "url": "https://github.com/Bartvds", + "githubUsername": "Bartvds" + }, + { + "name": "BendingBender", + "url": "https://github.com/BendingBender", + "githubUsername": "BendingBender" + } + ], + "main": "", + "types": "index.d.ts", + "repository": { + "type": "git", + "url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", + "directory": "types/lockfile" + }, + "scripts": {}, + "dependencies": {}, + "typesPublisherContentHash": "ba21281add102fcc83396c0bc84b782603fc0e8bab8c1cf3bc157fe48d7525ff", + "typeScriptVersion": "3.6" +} \ No newline at end of file diff -Nru node-lockfile-1.0.4/types-lockfile/README.md node-lockfile-1.0.4+~1.0.2/types-lockfile/README.md --- node-lockfile-1.0.4/types-lockfile/README.md 1970-01-01 00:00:00.000000000 +0000 +++ node-lockfile-1.0.4+~1.0.2/types-lockfile/README.md 2021-07-06 22:02:43.000000000 +0000 @@ -0,0 +1,44 @@ +# Installation +> `npm install --save @types/lockfile` + +# Summary +This package contains type definitions for lockfile (https://github.com/npm/lockfile). + +# Details +Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lockfile. +## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/lockfile/index.d.ts) +````ts +// Type definitions for lockfile 1.0 +// Project: https://github.com/npm/lockfile +// Definitions by: Bart van der Schoor +// BendingBender +// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped + +export interface Options { + wait?: number | undefined; + pollPeriod?: number | undefined; + stale?: number | undefined; + retries?: number | undefined; + retryWait?: number | undefined; +} + +export function lock(path: string, opts: Options, callback: (err: Error | null) => void): void; +export function lock(path: string, callback: (err: Error | null) => void): void; +export function lockSync(path: string, opts?: Options): void; + +export function unlock(path: string, callback: (err: Error | null) => void): void; +export function unlockSync(path: string): void; + +export function check(path: string, opts: Options, callback: (err: Error | null, isLocked: boolean) => void): void; +export function check(path: string, callback: (err: Error | null, isLocked: boolean) => void): void; +export function checkSync(path: string, opts?: Options): boolean; + +```` + +### Additional Details + * Last updated: Tue, 06 Jul 2021 22:02:43 GMT + * Dependencies: none + * Global values: none + +# Credits +These definitions were written by [Bart van der Schoor](https://github.com/Bartvds), and [BendingBender](https://github.com/BendingBender).