diff -Nru node-ansi-regex-5.0.0/debian/changelog node-ansi-regex-5.0.1/debian/changelog --- node-ansi-regex-5.0.0/debian/changelog 2020-02-18 16:06:21.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/changelog 2021-09-22 06:56:34.000000000 +0000 @@ -1,3 +1,27 @@ +node-ansi-regex (5.0.1-1) unstable; urgency=medium + + * Team upload + * Drop nodejs dependency + * Declare compliance with policy 4.6.0 + * Modernize debian/watch + * Fix GitHub tags regex + * Use dh-sequence-nodejs + * New upstream version 5.0.1 (Closes: CVE-2021-3807) + + -- Yadd Wed, 22 Sep 2021 08:56:34 +0200 + +node-ansi-regex (5.0.0-2) unstable; urgency=medium + + [ Debian Janitor ] + * Apply multi-arch hints. + + node-ansi-regex: Add Multi-Arch: foreign. + * Remove constraints unnecessary since buster: + + Build-Depends: Drop versioned constraint on pkg-js-tools. + * Bump debhelper from old 12 to 13. + * Update standards version to 4.5.1, no changes needed. + + -- Jelmer Vernooij Sat, 28 Aug 2021 23:51:00 +0100 + node-ansi-regex (5.0.0-1) unstable; urgency=medium * Team upload diff -Nru node-ansi-regex-5.0.0/debian/control node-ansi-regex-5.0.1/debian/control --- node-ansi-regex-5.0.0/debian/control 2020-02-18 16:04:17.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/control 2021-09-22 06:54:28.000000000 +0000 @@ -3,22 +3,20 @@ Priority: optional Maintainer: Debian Javascript Maintainers Uploaders: Thorsten Alteholz -Testsuite: autopkgtest-pkg-nodejs -Build-Depends: - debhelper-compat (= 12) +Build-Depends: debhelper-compat (= 13) , node-tape - , pkg-js-tools (>= 0.9.20~) -Standards-Version: 4.5.0 -Homepage: https://github.com/sindresorhus/ansi-regex -Vcs-Git: https://salsa.debian.org/js-team/node-ansi-regex.git + , dh-sequence-nodejs +Standards-Version: 4.6.0 Vcs-Browser: https://salsa.debian.org/js-team/node-ansi-regex +Vcs-Git: https://salsa.debian.org/js-team/node-ansi-regex.git +Homepage: https://github.com/sindresorhus/ansi-regex +Testsuite: autopkgtest-pkg-nodejs Rules-Requires-Root: no Package: node-ansi-regex Architecture: all -Depends: - ${misc:Depends} - , nodejs +Depends: ${misc:Depends} +Multi-Arch: foreign Description: regular expression for matching ANSI escape codes This module provides a regular expression for matching ANSI escape codes. diff -Nru node-ansi-regex-5.0.0/debian/copyright node-ansi-regex-5.0.1/debian/copyright --- node-ansi-regex-5.0.0/debian/copyright 2020-02-18 07:44:38.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/copyright 2021-09-22 06:54:28.000000000 +0000 @@ -31,4 +31,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. - diff -Nru node-ansi-regex-5.0.0/debian/rules node-ansi-regex-5.0.1/debian/rules --- node-ansi-regex-5.0.0/debian/rules 2020-02-18 15:45:34.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/rules 2021-09-22 06:54:28.000000000 +0000 @@ -5,4 +5,4 @@ #export DH_VERBOSE=1 %: - dh $@ --with nodejs + dh $@ diff -Nru node-ansi-regex-5.0.0/debian/salsa-ci.yml node-ansi-regex-5.0.1/debian/salsa-ci.yml --- node-ansi-regex-5.0.0/debian/salsa-ci.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/salsa-ci.yml 2021-09-22 06:54:28.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-ansi-regex-5.0.0/debian/watch node-ansi-regex-5.0.1/debian/watch --- node-ansi-regex-5.0.0/debian/watch 2020-02-18 07:44:38.000000000 +0000 +++ node-ansi-regex-5.0.1/debian/watch 2021-09-22 06:54:52.000000000 +0000 @@ -1,5 +1,5 @@ -version=3 +version=4 opts=\ -dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\ +dversionmangle=auto,\ filenamemangle=s/.*\/v?([\d\.-]+)\.tar\.gz/node-ansi-regex-$1.tar.gz/ \ - https://github.com/sindresorhus/ansi-regex/tags .*/archive/v?([\d\.]+).tar.gz + https://github.com/sindresorhus/ansi-regex/tags .*/archive/.*/v?([\d\.]+).tar.gz diff -Nru node-ansi-regex-5.0.0/.github/funding.yml node-ansi-regex-5.0.1/.github/funding.yml --- node-ansi-regex-5.0.0/.github/funding.yml 2019-10-04 11:28:46.000000000 +0000 +++ node-ansi-regex-5.0.1/.github/funding.yml 2021-09-14 15:54:07.000000000 +0000 @@ -1,2 +1,2 @@ -github: sindresorhus +github: [sindresorhus,Qix-] tidelift: npm/ansi-regex diff -Nru node-ansi-regex-5.0.0/.github/workflows/main.yml node-ansi-regex-5.0.1/.github/workflows/main.yml --- node-ansi-regex-5.0.0/.github/workflows/main.yml 1970-01-01 00:00:00.000000000 +0000 +++ node-ansi-regex-5.0.1/.github/workflows/main.yml 2021-09-14 15:54:07.000000000 +0000 @@ -0,0 +1,23 @@ +name: CI +on: + - push + - pull_request +jobs: + test: + name: Node.js ${{ matrix.node-version }} + runs-on: ubuntu-latest + strategy: + fail-fast: false + matrix: + node-version: + - 14 + - 12 + - 10 + - 8 + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - run: npm install + - run: npm test diff -Nru node-ansi-regex-5.0.0/index.js node-ansi-regex-5.0.1/index.js --- node-ansi-regex-5.0.0/index.js 2019-10-04 11:28:46.000000000 +0000 +++ node-ansi-regex-5.0.1/index.js 2021-09-14 15:54:07.000000000 +0000 @@ -2,7 +2,7 @@ module.exports = ({onlyFirst = false} = {}) => { const pattern = [ - '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:[a-zA-Z\\d]*(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', + '[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)', '(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))' ].join('|'); diff -Nru node-ansi-regex-5.0.0/package.json node-ansi-regex-5.0.1/package.json --- node-ansi-regex-5.0.0/package.json 2019-10-04 11:28:46.000000000 +0000 +++ node-ansi-regex-5.0.1/package.json 2021-09-14 15:54:07.000000000 +0000 @@ -1,6 +1,6 @@ { "name": "ansi-regex", - "version": "5.0.0", + "version": "5.0.1", "description": "Regular expression for matching ANSI escape codes", "license": "MIT", "repository": "chalk/ansi-regex", diff -Nru node-ansi-regex-5.0.0/readme.md node-ansi-regex-5.0.1/readme.md --- node-ansi-regex-5.0.0/readme.md 2019-10-04 11:28:46.000000000 +0000 +++ node-ansi-regex-5.0.1/readme.md 2021-09-14 15:54:07.000000000 +0000 @@ -1,4 +1,4 @@ -# ansi-regex [![Build Status](https://travis-ci.org/chalk/ansi-regex.svg?branch=master)](https://travis-ci.org/chalk/ansi-regex) +# ansi-regex > Regular expression for matching [ANSI escape codes](https://en.wikipedia.org/wiki/ANSI_escape_code) diff -Nru node-ansi-regex-5.0.0/.travis.yml node-ansi-regex-5.0.1/.travis.yml --- node-ansi-regex-5.0.0/.travis.yml 2019-10-04 11:28:46.000000000 +0000 +++ node-ansi-regex-5.0.1/.travis.yml 1970-01-01 00:00:00.000000000 +0000 @@ -1,5 +0,0 @@ -language: node_js -node_js: - - '12' - - '10' - - '8'