npm-pkgbuild 11.8.3 → 11.8.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/package.json +4 -4
- package/src/content/npm-pack-content-provider.mjs +1 -0
- package/src/util.mjs +6 -0
package/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[](https://www.npmjs.com/package/npm-pkgbuild)
|
|
2
2
|
[](https://opensource.org/licenses/BSD-3-Clause)
|
|
3
|
-
[](https://bundlejs.com/?q=npm-pkgbuild)
|
|
4
4
|
[](https://npmjs.org/package/npm-pkgbuild)
|
|
5
5
|
[](https://github.com/arlac77/npm-pkgbuild/issues)
|
|
6
6
|
[](https://actions-badge.atrox.dev/arlac77/npm-pkgbuild/goto)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "11.8.
|
|
3
|
+
"version": "11.8.5",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -55,16 +55,16 @@
|
|
|
55
55
|
"globby": "^13.1.4",
|
|
56
56
|
"ini": "^4.1.0",
|
|
57
57
|
"iterable-string-interceptor": "^2.2.4",
|
|
58
|
-
"key-value-transformer": "^3.1.
|
|
58
|
+
"key-value-transformer": "^3.1.1",
|
|
59
59
|
"node-fetch": "^3.3.1",
|
|
60
60
|
"npm-package-walker": "^6.2.4",
|
|
61
61
|
"npm-packlist": "^7.0.4",
|
|
62
|
-
"pacote": "^15.
|
|
62
|
+
"pacote": "^15.2.0",
|
|
63
63
|
"pkg-dir": "^7.0.0",
|
|
64
64
|
"tar-stream": "^3.0.0"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
|
-
"@types/node": "^
|
|
67
|
+
"@types/node": "^20.2.1",
|
|
68
68
|
"ava": "^5.2.0",
|
|
69
69
|
"c8": "^7.13.0",
|
|
70
70
|
"documentation": "^14.0.1",
|
|
@@ -11,6 +11,7 @@ import { ContentProvider } from "./content-provider.mjs";
|
|
|
11
11
|
*
|
|
12
12
|
* @param {Object} definitions
|
|
13
13
|
* @param {Object} entryProperties to be set for each entry
|
|
14
|
+
* @property {string} dir
|
|
14
15
|
*/
|
|
15
16
|
export class NPMPackContentProvider extends ContentProvider {
|
|
16
17
|
/**
|
package/src/util.mjs
CHANGED
|
@@ -35,6 +35,12 @@ export function decodePassword(password) {
|
|
|
35
35
|
return password;
|
|
36
36
|
}
|
|
37
37
|
|
|
38
|
+
/**
|
|
39
|
+
* @typedef {Object} FunctionDecl
|
|
40
|
+
* @property {string} name
|
|
41
|
+
* @property {string[]} body
|
|
42
|
+
*/
|
|
43
|
+
|
|
38
44
|
/**
|
|
39
45
|
* Extract shell functions from a given text.
|
|
40
46
|
* @param {AsyncIterator<string>} source
|