npm-pkgbuild 10.7.6 → 10.7.9

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.6",
3
+ "version": "10.7.9",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -40,27 +40,27 @@
40
40
  "lint:docs": "documentation lint ./src/**/*.mjs"
41
41
  },
42
42
  "dependencies": {
43
- "@npmcli/arborist": "^5.2.0",
44
- "aggregate-async-iterator": "^1.1.10",
45
- "commander": "^9.2.0",
46
- "content-entry": "^5.0.1",
47
- "content-entry-filesystem": "^5.0.1",
48
- "content-entry-transform": "^1.4.1",
43
+ "@npmcli/arborist": "^5.2.1",
44
+ "aggregate-async-iterator": "^1.1.11",
45
+ "commander": "^9.3.0",
46
+ "content-entry": "^5.0.3",
47
+ "content-entry-filesystem": "^5.0.3",
48
+ "content-entry-transform": "^1.4.3",
49
49
  "execa": "^6.1.0",
50
- "expression-expander": "^7.0.16",
50
+ "expression-expander": "^7.0.17",
51
51
  "globby": "^13.1.1",
52
52
  "ini": "^3.0.0",
53
- "iterable-string-interceptor": "^2.0.0",
54
- "key-value-transformer": "^3.0.0",
55
- "node-fetch": "^3.2.4",
56
- "npm-package-walker": "^6.0.0",
57
- "npm-packlist": "^5.0.3",
58
- "pacote": "^13.4.0",
53
+ "iterable-string-interceptor": "^2.0.1",
54
+ "key-value-transformer": "^3.0.1",
55
+ "node-fetch": "^3.2.5",
56
+ "npm-package-walker": "^6.0.1",
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
  },
62
62
  "devDependencies": {
63
- "ava": "^4.2.0",
63
+ "ava": "^4.3.0",
64
64
  "c8": "^7.11.3",
65
65
  "documentation": "^13.2.5",
66
66
  "semantic-release": "^19.0.2",
@@ -146,6 +146,8 @@ const toBeSkipped = new RegExp(
146
146
  "\\.cs",
147
147
  "\\.cmd",
148
148
  "\\.markdown",
149
+ "\\.sublime-project",
150
+ "\\.sublime-workspace",
149
151
  "appveyor\\.yml",
150
152
  "seed\\.yml",
151
153
  "\\.xclangspec",
@@ -33,7 +33,7 @@ export const npmArchMapping = {
33
33
 
34
34
  /**
35
35
  * Deliver basic properties from the root package
36
- * @param {Object} json content of rool package.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 ContetProviders from pkgbuild.content
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.pkgDir
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
@@ -117,10 +117,13 @@ program
117
117
  ".conf",
118
118
  ".json",
119
119
  ".html",
120
+ ".css",
120
121
  ".txt",
121
122
  ".webmanifest",
122
123
  ".service",
123
124
  ".socket",
125
+ ".path",
126
+ ".timer",
124
127
  ".rules"
125
128
  ]),
126
129
  properties