Skip to content

Commit 1d4be7a

Browse files
committed
deps: @npmcli/[email protected]
1 parent a39556f commit 1d4be7a

File tree

8 files changed

+76
-11
lines changed

8 files changed

+76
-11
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
The ISC License
2+
3+
Copyright npm, Inc.
4+
5+
Permission to use, copy, modify, and/or distribute this software for any
6+
purpose with or without fee is hereby granted, provided that the above
7+
copyright notice and this permission notice appear in all copies.
8+
9+
THE SOFTWARE IS PROVIDED "AS IS" AND NPM DISCLAIMS ALL WARRANTIES WITH REGARD
10+
TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND
11+
FITNESS. IN NO EVENT SHALL NPM BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
12+
CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE,
13+
DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
14+
ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS
15+
SOFTWARE.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
const { basename, dirname } = require('path')
2+
3+
const getName = (parent, base) =>
4+
parent.charAt(0) === '@' ? `${parent}/${base}` : base
5+
6+
module.exports = dir => dir ? getName(basename(dirname(dir)), basename(dir))
7+
: false
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
{
2+
"name": "@npmcli/name-from-folder",
3+
"version": "2.0.0",
4+
"files": [
5+
"bin/",
6+
"lib/"
7+
],
8+
"main": "lib/index.js",
9+
"description": "Get the package name from a folder path",
10+
"repository": {
11+
"type": "git",
12+
"url": "https://github.com/npm/name-from-folder.git"
13+
},
14+
"author": "GitHub Inc.",
15+
"license": "ISC",
16+
"scripts": {
17+
"test": "tap",
18+
"snap": "tap",
19+
"lint": "eslint \"**/*.js\"",
20+
"postlint": "template-oss-check",
21+
"template-oss-apply": "template-oss-apply --force",
22+
"lintfix": "npm run lint -- --fix",
23+
"posttest": "npm run lint"
24+
},
25+
"devDependencies": {
26+
"@npmcli/eslint-config": "^4.0.1",
27+
"@npmcli/template-oss": "4.11.0",
28+
"tap": "^16.3.2"
29+
},
30+
"engines": {
31+
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
32+
},
33+
"templateOSS": {
34+
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
35+
"version": "4.11.0"
36+
},
37+
"tap": {
38+
"nyc-arg": [
39+
"--exclude",
40+
"tap-snapshots/**"
41+
]
42+
}
43+
}

node_modules/@npmcli/map-workspaces/package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@npmcli/map-workspaces",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"main": "lib/index.js",
55
"files": [
66
"bin/",
@@ -42,18 +42,18 @@
4242
]
4343
},
4444
"devDependencies": {
45-
"@npmcli/eslint-config": "^3.0.1",
46-
"@npmcli/template-oss": "4.5.1",
45+
"@npmcli/eslint-config": "^4.0.0",
46+
"@npmcli/template-oss": "4.11.0",
4747
"tap": "^16.0.1"
4848
},
4949
"dependencies": {
50-
"@npmcli/name-from-folder": "^1.0.1",
50+
"@npmcli/name-from-folder": "^2.0.0",
5151
"glob": "^8.0.1",
5252
"minimatch": "^5.0.1",
5353
"read-package-json-fast": "^3.0.0"
5454
},
5555
"templateOSS": {
5656
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
57-
"version": "4.5.1"
57+
"version": "4.11.0"
5858
}
5959
}

package-lock.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@
8787
"@isaacs/string-locale-compare": "^1.1.0",
8888
"@npmcli/arborist": "^6.2.0",
8989
"@npmcli/config": "^6.1.1",
90-
"@npmcli/map-workspaces": "^3.0.0",
90+
"@npmcli/map-workspaces": "^3.0.1",
9191
"@npmcli/package-json": "^3.0.0",
9292
"@npmcli/run-script": "^6.0.0",
9393
"abbrev": "^2.0.0",
@@ -14385,7 +14385,7 @@
1438514385
"@isaacs/string-locale-compare": "^1.1.0",
1438614386
"@npmcli/fs": "^3.1.0",
1438714387
"@npmcli/installed-package-contents": "^2.0.0",
14388-
"@npmcli/map-workspaces": "^3.0.0",
14388+
"@npmcli/map-workspaces": "^3.0.1",
1438914389
"@npmcli/metavuln-calculator": "^5.0.0",
1439014390
"@npmcli/name-from-folder": "^1.0.1",
1439114391
"@npmcli/node-gyp": "^3.0.0",
@@ -14439,7 +14439,7 @@
1443914439
"version": "6.1.1",
1444014440
"license": "ISC",
1444114441
"dependencies": {
14442-
"@npmcli/map-workspaces": "^3.0.0",
14442+
"@npmcli/map-workspaces": "^3.0.1",
1444314443
"ini": "^3.0.0",
1444414444
"nopt": "^7.0.0",
1444514445
"proc-log": "^3.0.0",

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
"@isaacs/string-locale-compare": "^1.1.0",
5656
"@npmcli/arborist": "^6.2.0",
5757
"@npmcli/config": "^6.1.1",
58-
"@npmcli/map-workspaces": "^3.0.0",
58+
"@npmcli/map-workspaces": "^3.0.1",
5959
"@npmcli/package-json": "^3.0.0",
6060
"@npmcli/run-script": "^6.0.0",
6161
"abbrev": "^2.0.0",

workspaces/arborist/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"@isaacs/string-locale-compare": "^1.1.0",
77
"@npmcli/fs": "^3.1.0",
88
"@npmcli/installed-package-contents": "^2.0.0",
9-
"@npmcli/map-workspaces": "^3.0.0",
9+
"@npmcli/map-workspaces": "^3.0.1",
1010
"@npmcli/metavuln-calculator": "^5.0.0",
1111
"@npmcli/name-from-folder": "^1.0.1",
1212
"@npmcli/node-gyp": "^3.0.0",

workspaces/config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
"tap": "^16.3.2"
3838
},
3939
"dependencies": {
40-
"@npmcli/map-workspaces": "^3.0.0",
40+
"@npmcli/map-workspaces": "^3.0.1",
4141
"ini": "^3.0.0",
4242
"nopt": "^7.0.0",
4343
"proc-log": "^3.0.0",

0 commit comments

Comments
 (0)