Debian Codegraph @

workspaces/arborist/test/fixtures/reify-cases/once-outdated.js

raw
1 // generated from test/fixtures/once-outdated
2 module.exports = t => {
3 const path = t.testdir({
4 "node_modules": {
5 "once": {
6 "node_modules": {
7 "wrappy": {
8 "package.json": JSON.stringify({
9 "_from": "wrappy@1",
10 "_id": "[email protected]",
11 "_inBundle": false,
12 "_integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=",
13 "_location": "/once/wrappy",
14 "_phantomChildren": {},
15 "_requested": {
16 "type": "range",
17 "registry": true,
18 "raw": "wrappy@1",
19 "name": "wrappy",
20 "escapedName": "wrappy",
21 "rawSpec": "1",
22 "saveSpec": null,
23 "fetchSpec": "1"
24 },
25 "_requiredBy": [
26 "/once"
27 ],
28 "_resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
29 "_shasum": "b5243d8f3ec1aa35f1364605bc0d1036e30ab69f",
30 "_spec": "wrappy@1",
31 "_where": "/Users/isaacs/dev/npm/arborist/test/fixtures/once-outdated/node_modules/once",
32 "author": {
33 "name": "Isaac Z. Schlueter",
34 "email": "[email protected]",
35 "url": "http://blog.izs.me/"
36 },
37 "bugs": {
38 "url": "https://github.com/npm/wrappy/issues"
39 },
40 "bundleDependencies": false,
41 "dependencies": {},
42 "deprecated": false,
43 "description": "Callback wrapping utility",
44 "devDependencies": {
45 "tap": "^2.3.1"
46 },
47 "directories": {
48 "test": "test"
49 },
50 "files": [
51 "wrappy.js"
52 ],
53 "homepage": "https://github.com/npm/wrappy",
54 "license": "ISC",
55 "main": "wrappy.js",
56 "name": "wrappy",
57 "repository": {
58 "type": "git",
59 "url": "git+https://github.com/npm/wrappy.git"
60 },
61 "scripts": {
62 "test": "tap --coverage test/*.js"
63 },
64 "version": "1.0.2"
65 })
66 }
67 },
68 "package.json": JSON.stringify({
69 "_from": "[email protected]",
70 "_id": "[email protected]",
71 "_inBundle": false,
72 "_integrity": "sha1-8/Pk2lt9J7XHMpae4+Z+cpRXsx8=",
73 "_location": "/once",
74 "_phantomChildren": {},
75 "_requested": {
76 "type": "version",
77 "registry": true,
78 "raw": "[email protected]",
79 "name": "once",
80 "escapedName": "once",
81 "rawSpec": "1.3.1",
82 "saveSpec": null,
83 "fetchSpec": "1.3.1"
84 },
85 "_requiredBy": [
86 "#USER",
87 "/"
88 ],
89 "_resolved": "https://registry.npmjs.org/once/-/once-1.3.1.tgz",
90 "_shasum": "f3f3e4da5b7d27b5c732969ee3e67e729457b31f",
91 "_spec": "[email protected]",
92 "_where": "/Users/isaacs/dev/npm/arborist/test/fixtures/once-outdated",
93 "author": {
94 "name": "Isaac Z. Schlueter",
95 "email": "[email protected]",
96 "url": "http://blog.izs.me/"
97 },
98 "bugs": {
99 "url": "https://github.com/isaacs/once/issues"
100 },
101 "bundleDependencies": false,
102 "dependencies": {
103 "wrappy": "1"
104 },
105 "deprecated": false,
106 "description": "Run a function exactly one time",
107 "devDependencies": {
108 "tap": "~0.3.0"
109 },
110 "directories": {
111 "test": "test"
112 },
113 "homepage": "https://github.com/isaacs/once#readme",
114 "keywords": [
115 "once",
116 "function",
117 "one",
118 "single"
119 ],
120 "license": "BSD",
121 "main": "once.js",
122 "name": "once",
123 "repository": {
124 "type": "git",
125 "url": "git://github.com/isaacs/once.git"
126 },
127 "scripts": {
128 "test": "tap test/*.js"
129 },
130 "version": "1.3.1"
131 })
132 }
133 },
134 "package-lock.json": JSON.stringify({
135 "requires": true,
136 "lockfileVersion": 1,
137 "dependencies": {
138 "once": {
139 "version": "1.3.1",
140 "resolved": "https://registry.npmjs.org/once/-/once-1.3.1.tgz",
141 "integrity": "sha1-8/Pk2lt9J7XHMpae4+Z+cpRXsx8=",
142 "requires": {
143 "wrappy": "1"
144 },
145 "dependencies": {
146 "wrappy": {
147 "version": "1.0.2",
148 "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz",
149 "integrity": "sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8="
150 }
151 }
152 }
153 }
154 }),
155 "package.json": JSON.stringify({
156 "dependencies": {
157 "once": "^1.3.1"
158 }
159 })
160 })
161 return path
162 }