From c08510aaaf6ea0ac8ccc92227a2f4d67d689a614 Mon Sep 17 00:00:00 2001 From: isaacs Date: Wed, 30 Jun 2021 16:50:12 -0700 Subject: [PATCH] source of testing-shrinkwrap-abbrev package --- .../1.1.0/npm-shrinkwrap.json | 27 +++++++++++++++++++ .../1.1.0/package.json | 10 +++++++ .../testing-shrinkwrap-abbrev/1.1.0/test.js | 3 +++ .../1.1.1/npm-shrinkwrap.json | 27 +++++++++++++++++++ .../1.1.1/package.json | 10 +++++++ .../testing-shrinkwrap-abbrev/1.1.1/test.js | 2 ++ .../1.2.0/npm-shrinkwrap.json | 23 ++++++++++++++++ .../1.2.0/package.json | 10 +++++++ .../testing-shrinkwrap-abbrev/1.2.0/test.js | 2 ++ .../1.2.1/npm-shrinkwrap.json | 23 ++++++++++++++++ .../1.2.1/package.json | 10 +++++++ .../testing-shrinkwrap-abbrev/1.2.1/test.js | 2 ++ 12 files changed, 149 insertions(+) create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.0/npm-shrinkwrap.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.0/package.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.0/test.js create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.1/npm-shrinkwrap.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.1/package.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.1.1/test.js create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.0/npm-shrinkwrap.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.0/package.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.0/test.js create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.1/npm-shrinkwrap.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.1/package.json create mode 100644 test/fixtures/testing-shrinkwrap-abbrev/1.2.1/test.js diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/npm-shrinkwrap.json b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/npm-shrinkwrap.json new file mode 100644 index 000000000..3c0109543 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/npm-shrinkwrap.json @@ -0,0 +1,27 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.0", + "dependencies": { + "abbrev": "*" + } + }, + "node_modules/abbrev": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", + "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=" + } + }, + "dependencies": { + "abbrev": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.0.tgz", + "integrity": "sha1-0FVMIlZjbi9W58LlrRg/hZQo2B8=" + } + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/package.json b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/package.json new file mode 100644 index 000000000..5bd252f84 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/package.json @@ -0,0 +1,10 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.0", + "dependencies": { + "abbrev": "*" + }, + "scripts": { + "test": "node test.js" + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/test.js b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/test.js new file mode 100644 index 000000000..d18ad4a45 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.0/test.js @@ -0,0 +1,3 @@ +const { version } = require('./package.json') +const { version: abbrev } = require('./node_modules/abbrev/package.json') +require('assert').equal(version, abbrev, 'should have same version') diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/npm-shrinkwrap.json b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/npm-shrinkwrap.json new file mode 100644 index 000000000..7c57cef8c --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/npm-shrinkwrap.json @@ -0,0 +1,27 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.2", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.1", + "dependencies": { + "abbrev": "*" + } + }, + "node_modules/abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + } + }, + "dependencies": { + "abbrev": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.1.1.tgz", + "integrity": "sha512-nne9/IiQ/hzIhY6pdDnbBtz7DjPTKrY00P/zvPSm5pOFkl6xuGrGnXn/VtTNNfNtAfZ9/1RtehkszU9qcTii0Q==" + } + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/package.json b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/package.json new file mode 100644 index 000000000..0d8ea306c --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/package.json @@ -0,0 +1,10 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.2", + "dependencies": { + "abbrev": "*" + }, + "scripts": { + "test": "node test.js" + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/test.js b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/test.js new file mode 100644 index 000000000..f8575f811 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.1.1/test.js @@ -0,0 +1,2 @@ +const { version: abbrev } = require('./node_modules/abbrev/package.json') +require('assert').equal(abbrev, '1.1.1', 'should have expected version') diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/npm-shrinkwrap.json b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/npm-shrinkwrap.json new file mode 100644 index 000000000..c3e882225 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/npm-shrinkwrap.json @@ -0,0 +1,23 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.2.0", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.2.0", + "dependencies": { + "abbrev": "*" + } + }, + "node_modules/abbrev": { + "version": "1.1.0" + } + }, + "dependencies": { + "abbrev": { + "version": "1.1.0" + } + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/package.json b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/package.json new file mode 100644 index 000000000..4ae9addf0 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/package.json @@ -0,0 +1,10 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.2.0", + "dependencies": { + "abbrev": "*" + }, + "scripts": { + "test": "node test.js" + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/test.js b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/test.js new file mode 100644 index 000000000..5c6adad2a --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.0/test.js @@ -0,0 +1,2 @@ +const { version: abbrev } = require('./node_modules/abbrev/package.json') +require('assert').equal(abbrev, '1.1.0', 'should have same version') diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/npm-shrinkwrap.json b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/npm-shrinkwrap.json new file mode 100644 index 000000000..d25bd00c9 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/npm-shrinkwrap.json @@ -0,0 +1,23 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.2", + "lockfileVersion": 2, + "requires": true, + "packages": { + "": { + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.1.1", + "dependencies": { + "abbrev": "*" + } + }, + "node_modules/abbrev": { + "version": "1.1.1" + } + }, + "dependencies": { + "abbrev": { + "version": "1.1.1" + } + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/package.json b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/package.json new file mode 100644 index 000000000..11df5022e --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/package.json @@ -0,0 +1,10 @@ +{ + "name": "@isaacs/testing-shrinkwrap-abbrev", + "version": "1.2.1", + "dependencies": { + "abbrev": "*" + }, + "scripts": { + "test": "node test.js" + } +} diff --git a/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/test.js b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/test.js new file mode 100644 index 000000000..f8575f811 --- /dev/null +++ b/test/fixtures/testing-shrinkwrap-abbrev/1.2.1/test.js @@ -0,0 +1,2 @@ +const { version: abbrev } = require('./node_modules/abbrev/package.json') +require('assert').equal(abbrev, '1.1.1', 'should have expected version')