Debian Codegraph @

workspaces/arborist/test/fixtures/registry-mocks/content/npmcli/move-file.json

raw
1 {
2 "_id": "@npmcli/move-file",
3 "_rev": "7-4f2dd2d37f8a9ff0890e722a4d2fe290",
4 "name": "@npmcli/move-file",
5 "dist-tags": {
6 "latest": "1.0.1"
7 },
8 "versions": {
9 "1.0.0": {
10 "name": "@npmcli/move-file",
11 "version": "1.0.0",
12 "description": "move a file (fork of move-file)",
13 "dependencies": {
14 "mkdirp": "^1.0.4"
15 },
16 "devDependencies": {
17 "require-inject": "^1.4.4",
18 "tap": "^14.10.7"
19 },
20 "scripts": {
21 "test": "tap",
22 "snap": "tap",
23 "preversion": "npm test",
24 "postversion": "npm publish",
25 "prepublishOnly": "git push origin --follow-tags"
26 },
27 "repository": {
28 "type": "git",
29 "url": "git+https://github.com/npm/move-file.git"
30 },
31 "tap": {
32 "check-coverage": true
33 },
34 "license": "MIT",
35 "gitHead": "87340c2856f495058c6aacbdd6b4747b4e7765fd",
36 "bugs": {
37 "url": "https://github.com/npm/move-file/issues"
38 },
39 "homepage": "https://github.com/npm/move-file#readme",
40 "_id": "@npmcli/[email protected]",
41 "_nodeVersion": "14.2.0",
42 "_npmVersion": "6.14.5",
43 "dist": {
44 "integrity": "sha512-pYo136mVTRpGpGO1vr9o5eD/XM3ivMlQQSi67DGt8np0pl9+5K2JXG7um39C+86W8zNNaw4B3+GyEzM3jMrniw==",
45 "shasum": "f50a712695100a96c04163b15fcbed9417fc7a8c",
46 "tarball": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.0.0.tgz",
47 "fileCount": 4,
48 "unpackedSize": 4996,
49 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1uV8CRA9TVsSAnZWagAA/BAP/2YlLrShn9Qbs7dqC3KM\nhvfJVhR469jef0igIQxVZN463dBb8l5R2O3fvebWEagBOo7wxVjKmS33RySS\nY6BaAAI51Nztv4qJuo0Zn0yqr5fB0PFoT3xQM8eGq7++HOqIyNyvCspt4Q8n\nT4KAororGvaQllB9tDWSqW4VlB7hcOjrdJ2TyIrN1EZuDwhwLEAOmfem2YyX\nsAZOPV5E9kOlB8VnGoXt2ttc/VmQhIma+p69JZFA4yJ4SYpYQQj90VZuXe4z\ntLu0CpVYXot0mYwj3Klq4u7iNQ/TvCZhc7DWa3gFeHSxpYMq8OlZrQJ4a8Sd\nNlTYrOHosRQct7mdyo9rxibK6OgNE1ujpbK0mJntupPqaGU3Q9jkyHOAAxVD\nNxZsmlCP/jfhijzUdBH8fKUl8KsWrdmPEjIlSzFQ0mjQYLqjJGucmw4L2wmg\nyGu2Mzo6yHpVSXGdzrYItjiwmFOGtJ6rhpm++V1qIvXN/GLqsfIgRNJUXwvp\n+/aLKT6pklciU0U/32oC6eSuJ/g2SsElB3sNoItg9Gh4zwTiD3q6wPZMKDa6\naehFAkxhT3RMe0BSZwYxygBtyr/WwjD8w0me0UHL/CEn9CX2LJ8AfjfZpKEh\nNbn2N1E4cByY1j6oXd2S3zqKHFAbTYqMx9le/3twUD5wPW3o9hFd2TTchbn+\nwcTu\r\n=MT/M\r\n-----END PGP SIGNATURE-----\r\n"
50 },
51 "maintainers": [
52 {
53 "name": "ruyadorno",
54 "email": "[email protected]"
55 },
56 {
57 "name": "claudiahdz",
58 "email": "[email protected]"
59 },
60 {
61 "name": "darcyclarke",
62 "email": "[email protected]"
63 },
64 {
65 "name": "adam_baldwin",
66 "email": "[email protected]"
67 },
68 {
69 "name": "isaacs",
70 "email": "[email protected]"
71 }
72 ],
73 "_npmUser": {
74 "name": "isaacs",
75 "email": "[email protected]"
76 },
77 "directories": {},
78 "_npmOperationalInternal": {
79 "host": "s3://npm-registry-packages",
80 "tmp": "tmp/move-file_1.0.0_1591141756117_0.17984452306055188"
81 },
82 "_hasShrinkwrap": false
83 },
84 "1.0.1": {
85 "name": "@npmcli/move-file",
86 "version": "1.0.1",
87 "description": "move a file (fork of move-file)",
88 "dependencies": {
89 "mkdirp": "^1.0.4"
90 },
91 "devDependencies": {
92 "require-inject": "^1.4.4",
93 "tap": "^14.10.7"
94 },
95 "scripts": {
96 "test": "tap",
97 "snap": "tap",
98 "preversion": "npm test",
99 "postversion": "npm publish",
100 "prepublishOnly": "git push origin --follow-tags"
101 },
102 "repository": {
103 "type": "git",
104 "url": "git+https://github.com/npm/move-file.git"
105 },
106 "tap": {
107 "check-coverage": true
108 },
109 "license": "MIT",
110 "engines": {
111 "node": ">=10"
112 },
113 "gitHead": "c2081b7c1528a3d948ab9d8ffba5e2a3d6b197b1",
114 "bugs": {
115 "url": "https://github.com/npm/move-file/issues"
116 },
117 "homepage": "https://github.com/npm/move-file#readme",
118 "_id": "@npmcli/[email protected]",
119 "_nodeVersion": "14.2.0",
120 "_npmVersion": "6.14.5",
121 "dist": {
122 "integrity": "sha512-Uv6h1sT+0DrblvIrolFtbvM1FgWm+/sy4B3pvLp67Zys+thcukzS5ekn7HsZFGpWP4Q3fYJCljbWQE/XivMRLw==",
123 "shasum": "de103070dac0f48ce49cf6693c23af59c0f70464",
124 "tarball": "https://registry.npmjs.org/@npmcli/move-file/-/move-file-1.0.1.tgz",
125 "fileCount": 4,
126 "unpackedSize": 5035,
127 "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1uaTCRA9TVsSAnZWagAAG50P/0CFWBcyHCFJQOxtmboc\n8rPOnbZSLnHzouL3PPqihx0yz+mrnMskoIpZSv2Byy2Ji1MCyTeFFiZ/PnqC\nFizBB32NLFk8k5pDMqIKoVWZDwKl+2AUwWT7UwKmwWTH7fHF5GpwAJaobilV\nihpEmEydZ70s5Mii7zy9ty/tbfbUxJx29RBYYaOL9PimpK5PBT0QWZ9uMcfl\nCOgFee8zgPJO03KgF9XnZeVKxHK+jXDSX5/XVCSM2jCcQR7fZy5738/3lOTH\nzA7UQ7BpJroLh1mwLCOABaa5Tr1r5JhoqcNCE/t8xbNNKHkDjsLdaKBDbqmy\nNiOsqHYmwuf+al5+25Q6LDEqy6nFZQHb7SEqT3beqVicifq4Tj4DD4b3lKky\nBMdhUgiGItGh/2UT4Psotwnlsb+vkbBHEiKR55ig6XiLFe0F6P6Qcu5TO2c+\nvni5b/SUVBvboJ+Ebm/gETqp02F9t2uyss5rCYVUbneqV250cce/zBNIBECG\ncHnekxO4TWFca9b2ILf5r7+gyRq9GmVHsQAca+MUAlFS/6jZQGvQLzNXvTmq\nCFjoevSg4+yosp1JsmBQKvJiri5pa6TAPFd7s8OGsbe4iqkb24aqvMxn0Is3\nZohC+BNDFf5DjMQF5o+HrQ0dGHYqZ7XzbSR8QIv96LOwpiiNbajHxDY5Rymh\n//LJ\r\n=0T3F\r\n-----END PGP SIGNATURE-----\r\n"
128 },
129 "maintainers": [
130 {
131 "name": "adam_baldwin",
132 "email": "[email protected]"
133 },
134 {
135 "name": "claudiahdz",
136 "email": "[email protected]"
137 },
138 {
139 "name": "darcyclarke",
140 "email": "[email protected]"
141 },
142 {
143 "name": "isaacs",
144 "email": "[email protected]"
145 },
146 {
147 "name": "ruyadorno",
148 "email": "[email protected]"
149 }
150 ],
151 "_npmUser": {
152 "name": "isaacs",
153 "email": "[email protected]"
154 },
155 "directories": {},
156 "_npmOperationalInternal": {
157 "host": "s3://npm-registry-packages",
158 "tmp": "tmp/move-file_1.0.1_1591142034779_0.7981442693487335"
159 },
160 "_hasShrinkwrap": false
161 }
162 },
163 "time": {
164 "created": "2020-06-02T23:49:15.875Z",
165 "1.0.0": "2020-06-02T23:49:16.235Z",
166 "modified": "2020-10-19T13:49:47.342Z",
167 "1.0.1": "2020-06-02T23:53:54.901Z"
168 },
169 "maintainers": [
170 {
171 "email": "[email protected]",
172 "name": "nlf"
173 },
174 {
175 "email": "[email protected]",
176 "name": "ruyadorno"
177 },
178 {
179 "email": "[email protected]",
180 "name": "darcyclarke"
181 },
182 {
183 "email": "[email protected]",
184 "name": "isaacs"
185 }
186 ],
187 "description": "move a file (fork of move-file)",
188 "homepage": "https://github.com/npm/move-file#readme",
189 "repository": {
190 "type": "git",
191 "url": "git+https://github.com/npm/move-file.git"
192 },
193 "bugs": {
194 "url": "https://github.com/npm/move-file/issues"
195 },
196 "license": "MIT",
197 "readme": "# @npmcli/move-file\n\nA fork of [move-file](https://github.com/sindresorhus/move-file) with\ncompatibility with all node 10.x versions.\n\n> Move a file\n\nThe built-in\n[`fs.rename()`](https://nodejs.org/api/fs.html#fs_fs_rename_oldpath_newpath_callback)\nis just a JavaScript wrapper for the C `rename(2)` function, which doesn't\nsupport moving files across partitions or devices. This module is what you\nwould have expected `fs.rename()` to be.\n\n## Highlights\n\n- Promise API.\n- Supports moving a file across partitions and devices.\n- Optionally prevent overwriting an existing file.\n- Creates non-existent destination directories for you.\n- Support for Node versions that lack built-in recursive `fs.mkdir()`\n\n## Install\n\n```\n$ npm install @npmcli/move-file\n```\n\n## Usage\n\n```js\nconst moveFile = require('@npmcli/move-file');\n\n(async () => {\n\tawait moveFile('source/unicorn.png', 'destination/unicorn.png');\n\tconsole.log('The file has been moved');\n})();\n```\n\n## API\n\n### moveFile(source, destination, options?)\n\nReturns a `Promise` that resolves when the file has been moved.\n\n### moveFile.sync(source, destination, options?)\n\n#### source\n\nType: `string`\n\nFile you want to move.\n\n#### destination\n\nType: `string`\n\nWhere you want the file moved.\n\n#### options\n\nType: `object`\n\n##### overwrite\n\nType: `boolean`\\\nDefault: `true`\n\nOverwrite existing destination file.\n",
198 "readmeFilename": "README.md"
199 }