Debian Codegraph @

workspaces/arborist/test/fixtures/reify-cases/update-exact-version.js

raw
1 // generated from test/fixtures/update-exact-version
2 module.exports = t => {
3 const path = t.testdir({
4 "node_modules": {
5 "abbrev": {
6 "package.json": JSON.stringify({
7 "name": "abbrev",
8 "version": "1.0.4",
9 "description": "Like ruby's abbrev module, but in js",
10 "author": "Isaac Z. Schlueter <[email protected]>",
11 "main": "./lib/abbrev.js",
12 "scripts": {
13 "test": "node lib/abbrev.js"
14 },
15 "repository": "http://github.com/isaacs/abbrev-js",
16 "license": {
17 "type": "MIT",
18 "url": "https://github.com/isaacs/abbrev-js/raw/master/LICENSE"
19 }
20 })
21 }
22 },
23 "package-lock.json": JSON.stringify({
24 "name": "update-exact-version",
25 "lockfileVersion": 2,
26 "requires": true,
27 "packages": {
28 "": {
29 "dependencies": {
30 "abbrev": "1.0.4"
31 }
32 },
33 "node_modules/abbrev": {
34 "version": "1.0.4",
35 "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.4.tgz",
36 "integrity": "sha1-vVWuXkE7oXIu5Mq6H26hBBSlns0="
37 }
38 },
39 "dependencies": {
40 "abbrev": {
41 "version": "1.0.4",
42 "resolved": "https://registry.npmjs.org/abbrev/-/abbrev-1.0.4.tgz",
43 "integrity": "sha1-vVWuXkE7oXIu5Mq6H26hBBSlns0="
44 }
45 }
46 }),
47 "package.json": JSON.stringify({
48 "dependencies": {
49 "abbrev": "1.0.4"
50 }
51 })
52 })
53 return path
54 }