npm-pkgbuild 11.1.13 → 11.1.14

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": "11.1.13",
3
+ "version": "11.1.14",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -133,7 +133,7 @@ export async function* extractFromPackage(options = {}, env = {}) {
133
133
 
134
134
  if (requires.properties) {
135
135
  for (const [k, v] of Object.entries(requires.properties)) {
136
- if (root.properties[k] !== v) {
136
+ if (root.properties[k] !== v && options[k] !== v) {
137
137
  fullfilled = false;
138
138
  break;
139
139
  }
@@ -88,5 +88,6 @@ ENTRYPOINT ["node", ""]
88
88
  * @see {https://docs.docker.com/engine/reference/builder/}
89
89
  */
90
90
  const fields = {
91
- version: { type: "string", mandatory: true }
91
+ version: { type: "string", mandatory: true },
92
+ author: { alias: "maintainer", type: "string" }
92
93
  };