npm-pkgbuild 10.7.5 → 10.7.8
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "npm-pkgbuild",
|
|
3
|
-
"version": "10.7.
|
|
3
|
+
"version": "10.7.8",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -42,20 +42,20 @@
|
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@npmcli/arborist": "^5.2.0",
|
|
44
44
|
"aggregate-async-iterator": "^1.1.10",
|
|
45
|
-
"commander": "^9.
|
|
46
|
-
"content-entry": "^5.0.
|
|
45
|
+
"commander": "^9.3.0",
|
|
46
|
+
"content-entry": "^5.0.2",
|
|
47
47
|
"content-entry-filesystem": "^5.0.1",
|
|
48
|
-
"content-entry-transform": "^1.4.
|
|
48
|
+
"content-entry-transform": "^1.4.2",
|
|
49
49
|
"execa": "^6.1.0",
|
|
50
50
|
"expression-expander": "^7.0.16",
|
|
51
|
-
"globby": "^13.1.
|
|
51
|
+
"globby": "^13.1.1",
|
|
52
52
|
"ini": "^3.0.0",
|
|
53
53
|
"iterable-string-interceptor": "^2.0.0",
|
|
54
54
|
"key-value-transformer": "^3.0.0",
|
|
55
55
|
"node-fetch": "^3.2.4",
|
|
56
|
-
"npm-package-walker": "^
|
|
57
|
-
"npm-packlist": "^5.0
|
|
58
|
-
"pacote": "^13.
|
|
56
|
+
"npm-package-walker": "^6.0.0",
|
|
57
|
+
"npm-packlist": "^5.1.0",
|
|
58
|
+
"pacote": "^13.5.0",
|
|
59
59
|
"pkg-dir": "^6.0.1",
|
|
60
60
|
"tar-stream": "^2.2.0"
|
|
61
61
|
},
|
|
@@ -33,7 +33,7 @@ export const npmArchMapping = {
|
|
|
33
33
|
|
|
34
34
|
/**
|
|
35
35
|
* Deliver basic properties from the root package
|
|
36
|
-
* @param {Object} json
|
|
36
|
+
* @param {Object} json content of root package.json
|
|
37
37
|
* @returns {Object} key value pairs extracted from json
|
|
38
38
|
*/
|
|
39
39
|
function extractFromRootPackage(json) {
|
|
@@ -85,7 +85,7 @@ function extractFromRootPackage(json) {
|
|
|
85
85
|
const entryAttributeNames = ["owner", "group", "mode"];
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* Delivers
|
|
88
|
+
* Delivers ContentProviders from pkgbuild.content
|
|
89
89
|
* @param {Object} content from pkgbuild.content
|
|
90
90
|
* @returns {Iterator<ContentProvider>}
|
|
91
91
|
*/
|
|
@@ -137,7 +137,7 @@ function* content2Sources(content, dir) {
|
|
|
137
137
|
* - architecture given in a abstract definition are used to reduce the set of avaliable architectures
|
|
138
138
|
* @param {Object} options
|
|
139
139
|
* @param {Object} options.json package.json content
|
|
140
|
-
* @param {string} options.
|
|
140
|
+
* @param {string} options.dir where to look for package.json
|
|
141
141
|
* @returns {AsyncIter<PackageDefinition>}
|
|
142
142
|
*/
|
|
143
143
|
export async function* extractFromPackage(options = {}) {
|
|
@@ -235,7 +235,7 @@ export async function* extractFromPackage(options = {}) {
|
|
|
235
235
|
}
|
|
236
236
|
}
|
|
237
237
|
if (numberOfArchs === 0) {
|
|
238
|
-
console.warn(`No matching arch remaining was ${[...arch]}`);
|
|
238
|
+
console.warn(`No matching arch remaining, was ${[...arch]}`);
|
|
239
239
|
}
|
|
240
240
|
} else {
|
|
241
241
|
// or one set if no arch is given
|