@vercel/nft
Advanced tools
Comparing version 0.11.1 to 0.11.2
@@ -20,2 +20,3 @@ "use strict"; | ||
emitAssetDirectory(path_1.resolve(path_1.dirname(id), 'prebuilds')); | ||
emitAssetDirectory(path_1.resolve(path_1.dirname(id), 'lib', 'binding')); | ||
} | ||
@@ -28,2 +29,7 @@ }, | ||
}, | ||
'camaro'({ id, emitAsset }) { | ||
if (id.endsWith('camaro/dist/camaro.js')) { | ||
emitAsset(path_1.resolve(path_1.dirname(id), 'camaro.wasm')); | ||
} | ||
}, | ||
'google-gax'({ id, ast, emitAssetDirectory }) { | ||
@@ -30,0 +36,0 @@ if (id.endsWith('google-gax/build/src/grpc.js')) { |
@@ -223,2 +223,3 @@ "use strict"; | ||
'CallExpression': function CallExpression(node, walk) { | ||
var _a; | ||
const callee = walk(node.callee); | ||
@@ -241,3 +242,3 @@ if (!callee || 'test' in callee) | ||
let argsElse; | ||
let allWildcards = node.arguments.length > 0; | ||
let allWildcards = node.arguments.length > 0 && ((_a = node.callee.property) === null || _a === void 0 ? void 0 : _a.name) !== 'concat'; | ||
const wildcards = []; | ||
@@ -333,2 +334,9 @@ for (let i = 0, l = node.arguments.length; i < l; i++) { | ||
if (node.property.type === 'Identifier') { | ||
if (typeof obj.value === 'string' && node.property.name === 'concat') { | ||
return { | ||
value: { | ||
[exports.FUNCTION]: (...args) => obj.value.concat(args) | ||
} | ||
}; | ||
} | ||
if (typeof obj.value === 'object' && obj.value !== null) { | ||
@@ -335,0 +343,0 @@ const objValue = obj.value; |
{ | ||
"name": "@vercel/nft", | ||
"version": "0.11.1", | ||
"version": "0.11.2", | ||
"repository": "vercel/nft", | ||
@@ -50,3 +50,3 @@ "license": "MIT", | ||
"apollo-server-express": "^2.14.2", | ||
"argon2": "^0.24.0", | ||
"argon2": "^0.27.2", | ||
"auth0": "^2.27.1", | ||
@@ -57,2 +57,3 @@ "axios": "^0.21.1", | ||
"bull": "^3.10.0", | ||
"camaro": "^6.1.0", | ||
"canvas": "^2.7.0", | ||
@@ -59,0 +60,0 @@ "chromeless": "^1.5.2", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
156299
3134
84