@shopify/async
Advanced tools
Comparing version 3.0.0 to 3.0.1-address-mocks-minified-beta.0
@@ -25,5 +25,5 @@ const DEFAULT_PACKAGES_TO_PROCESS = { | ||
.get('specifiers') | ||
.filter(specifier => { | ||
.filter((specifier) => { | ||
return (specifier.isImportSpecifier() && | ||
processImports.some(name => specifier.get('imported').isIdentifier({ name }))); | ||
processImports.some((name) => specifier.get('imported').isIdentifier({ name }))); | ||
}); | ||
@@ -45,3 +45,3 @@ if (importSpecifiersToProcess.length === 0) { | ||
function addIdOption(binding, t, { webpack = true } = {}) { | ||
binding.referencePaths.forEach(refPath => { | ||
binding.referencePaths.forEach((refPath) => { | ||
const callExpression = refPath.parentPath; | ||
@@ -61,3 +61,3 @@ if (!callExpression.isCallExpression()) { | ||
const propertiesMap = {}; | ||
properties.forEach(property => { | ||
properties.forEach((property) => { | ||
if (!property.isObjectMember() || property.node.computed) { | ||
@@ -64,0 +64,0 @@ return; |
{ | ||
"name": "@shopify/async", | ||
"version": "3.0.0", | ||
"version": "3.0.1-address-mocks-minified-beta.0", | ||
"license": "MIT", | ||
@@ -63,3 +63,3 @@ "description": "Primitives for loading parts of an application asynchronously", | ||
}, | ||
"gitHead": "40de4af181104f298cbab42d2d3d68e228a9a31a" | ||
"gitHead": "1a19759d10db9ca65d346141b10e7b0654e023e6" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
43316
1