Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
lukekarrys committed Nov 7, 2022
1 parent 3226887 commit cd47de8
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 285 deletions.
3 changes: 1 addition & 2 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ graph LR;
bin-links-->write-file-atomic;
cacache-->fs-minipass;
cacache-->npmcli-fs["@npmcli/fs"];
cacache-->npmcli-move-file["@npmcli/move-file"];
cacache-->ssri;
cacache-->unique-filename;
init-package-json-->npm-package-arg;
Expand Down Expand Up @@ -759,4 +758,4 @@ packages higher up the chain.
- @npmcli/git, make-fetch-happen, @npmcli/config, init-package-json
- @npmcli/installed-package-contents, @npmcli/map-workspaces, cacache, npm-pick-manifest, @npmcli/run-script, read-package-json, promzard
- @npmcli/docs, @npmcli/fs, npm-bundled, read-package-json-fast, unique-filename, npm-install-checks, npm-package-arg, npm-packlist, normalize-package-data, @npmcli/package-json, bin-links, nopt, npmlog, parse-conflict-json, read
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, @npmcli/move-file, fs-minipass, ssri, unique-slug, @npmcli/promise-spawn, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, treeverse, minify-registry-metadata, ini, @npmcli/disparity-colors, @npmcli/ci-detect, mute-stream, npm-audit-report, npm-user-validate
- @npmcli/eslint-config, @npmcli/template-oss, ignore-walk, semver, npm-normalize-package-bin, @npmcli/name-from-folder, json-parse-even-better-errors, fs-minipass, ssri, unique-slug, @npmcli/promise-spawn, hosted-git-info, proc-log, validate-npm-package-name, @npmcli/node-gyp, minipass-fetch, @npmcli/query, cmd-shim, read-cmd-shim, write-file-atomic, abbrev, are-we-there-yet, gauge, treeverse, minify-registry-metadata, ini, @npmcli/disparity-colors, @npmcli/ci-detect, mute-stream, npm-audit-report, npm-user-validate
1 change: 0 additions & 1 deletion node_modules/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
!/@npmcli/installed-package-contents
!/@npmcli/map-workspaces
!/@npmcli/metavuln-calculator
!/@npmcli/move-file
!/@npmcli/name-from-folder
!/@npmcli/node-gyp
!/@npmcli/package-json
Expand Down
22 changes: 0 additions & 22 deletions node_modules/@npmcli/move-file/LICENSE.md

This file was deleted.

185 changes: 0 additions & 185 deletions node_modules/@npmcli/move-file/lib/index.js

This file was deleted.

48 changes: 0 additions & 48 deletions node_modules/@npmcli/move-file/package.json

This file was deleted.

2 changes: 1 addition & 1 deletion node_modules/cacache/lib/entry-index.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const uniqueFilename = require('unique-filename')
const contentPath = require('./content/path')
const hashToSegments = require('./util/hash-to-segments')
const indexV = require('../package.json')['cache-version'].index
const moveFile = require('@npmcli/move-file')
const { moveFile } = require('@npmcli/fs')

module.exports.NotFoundError = class NotFoundError extends Error {
constructor (cache, key) {
Expand Down
2 changes: 1 addition & 1 deletion node_modules/cacache/lib/util/move-file.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
'use strict'

const fs = require('fs/promises')
const move = require('@npmcli/move-file')
const { moveFile: move } = require('@npmcli/fs')
const pinflight = require('promise-inflight')

module.exports = moveFile
Expand Down
9 changes: 4 additions & 5 deletions node_modules/cacache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cacache",
"version": "17.0.1",
"version": "17.0.2",
"cache-version": {
"content": "2",
"index": "5"
Expand Down Expand Up @@ -45,8 +45,7 @@
],
"license": "ISC",
"dependencies": {
"@npmcli/fs": "^3.0.0",
"@npmcli/move-file": "^3.0.0",
"@npmcli/fs": "^3.1.0",
"fs-minipass": "^2.1.0",
"glob": "^8.0.1",
"lru-cache": "^7.7.1",
Expand All @@ -62,7 +61,7 @@
},
"devDependencies": {
"@npmcli/eslint-config": "^4.0.0",
"@npmcli/template-oss": "4.5.1",
"@npmcli/template-oss": "4.8.0",
"tap": "^16.0.0"
},
"engines": {
Expand All @@ -71,7 +70,7 @@
"templateOSS": {
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
"windowsCI": false,
"version": "4.5.1"
"version": "4.8.0"
},
"author": "GitHub Inc.",
"tap": {
Expand Down
24 changes: 6 additions & 18 deletions package-lock.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"@npmcli/run-script": "^6.0.0",
"abbrev": "^2.0.0",
"archy": "~1.0.0",
"cacache": "^17.0.1",
"cacache": "^17.0.2",
"chalk": "^4.1.2",
"cli-columns": "^4.0.0",
"cli-table3": "^0.6.3",
Expand Down Expand Up @@ -2176,18 +2176,6 @@
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/@npmcli/move-file": {
"version": "3.0.0",
"inBundle": true,
"license": "MIT",
"dependencies": {
"mkdirp": "^1.0.4",
"rimraf": "^3.0.2"
},
"engines": {
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
}
},
"node_modules/@npmcli/name-from-folder": {
"version": "1.0.1",
"inBundle": true,
Expand Down Expand Up @@ -3099,12 +3087,12 @@
}
},
"node_modules/cacache": {
"version": "17.0.1",
"version": "17.0.2",
"resolved": "https://registry.npmjs.org/cacache/-/cacache-17.0.2.tgz",
"integrity": "sha512-rYUs2x4OjSgCQND7nTrh21AHIBFgd7s/ctAYvU3a8u+nK+R5YaX/SFPDYz4Azz7SGL6+6L9ZZWI4Kawpb7grzQ==",
"inBundle": true,
"license": "ISC",
"dependencies": {
"@npmcli/fs": "^3.0.0",
"@npmcli/move-file": "^3.0.0",
"@npmcli/fs": "^3.1.0",
"fs-minipass": "^2.1.0",
"glob": "^8.0.1",
"lru-cache": "^7.7.1",
Expand Down Expand Up @@ -15034,7 +15022,7 @@
"@npmcli/query": "^3.0.0",
"@npmcli/run-script": "^6.0.0",
"bin-links": "^4.0.1",
"cacache": "^17.0.1",
"cacache": "^17.0.2",
"common-ancestor-path": "^1.0.1",
"hosted-git-info": "^6.1.1",
"json-parse-even-better-errors": "^3.0.0",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"@npmcli/run-script": "^6.0.0",
"abbrev": "^2.0.0",
"archy": "~1.0.0",
"cacache": "^17.0.1",
"cacache": "^17.0.2",
"chalk": "^4.1.2",
"cli-columns": "^4.0.0",
"cli-table3": "^0.6.3",
Expand Down
Loading

0 comments on commit cd47de8

Please sign in to comment.