@shopify/react-async
Advanced tools
Comparing version 2.1.0 to 2.1.1
@@ -10,3 +10,3 @@ "use strict"; | ||
var utilities_1 = require("./utilities"); | ||
/* eslint-enable camelcase */ | ||
/* eslint-enable @typescript-eslint/camelcase */ | ||
var ConnectedAsync = /** @class */ (function (_super) { | ||
@@ -115,7 +115,7 @@ tslib_1.__extends(ConnectedAsync, _super); | ||
if ( | ||
/* eslint-disable camelcase */ | ||
/* eslint-disable @typescript-eslint/camelcase */ | ||
typeof __webpack_require__ === 'function' && | ||
typeof __webpack_modules__ === 'object' && | ||
__webpack_modules__[id] | ||
/* eslint-enable camelcase */ | ||
/* eslint-enable @typescript-eslint/camelcase */ | ||
) { | ||
@@ -122,0 +122,0 @@ try { |
@@ -14,15 +14,9 @@ "use strict"; | ||
return tslib_1.__awaiter(this, void 0, void 0, function () { | ||
var resolved, error_1; | ||
var resolved; | ||
return tslib_1.__generator(this, function (_a) { | ||
switch (_a.label) { | ||
case 0: | ||
_a.trys.push([0, 2, , 3]); | ||
return [4 /*yield*/, load()]; | ||
case 0: return [4 /*yield*/, load()]; | ||
case 1: | ||
resolved = _a.sent(); | ||
return [2 /*return*/, normalize(resolved)]; | ||
case 2: | ||
error_1 = _a.sent(); | ||
throw error_1; | ||
case 3: return [2 /*return*/]; | ||
} | ||
@@ -29,0 +23,0 @@ }); |
{ | ||
"name": "@shopify/react-async", | ||
"version": "2.1.0", | ||
"version": "2.1.1", | ||
"license": "MIT", | ||
@@ -29,5 +29,5 @@ "description": "Tools for creating powerful, asynchronously-loaded React components.", | ||
"@shopify/javascript-utilities": "^2.4.0", | ||
"@shopify/react-effect": "^3.0.0", | ||
"@shopify/react-intersection-observer": "^2.0.0", | ||
"@shopify/useful-types": "^1.2.1" | ||
"@shopify/react-effect": "^3.0.1", | ||
"@shopify/react-intersection-observer": "^2.0.1", | ||
"@shopify/useful-types": "^1.2.2" | ||
}, | ||
@@ -34,0 +34,0 @@ "devDependencies": { |
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
43619
650