@shopify/admin-graphql-api-utilities
Advanced tools
Comparing version 1.0.0-sknext-beta.1 to 1.0.0-sknext-beta.2
"use strict"; | ||
var __values = (this && this.__values) || function(o) { | ||
var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0; | ||
if (m) return m.call(o); | ||
if (o && typeof o.length === "number") return { | ||
next: function () { | ||
if (o && i >= o.length) o = void 0; | ||
return { value: o && o[i++], done: !o }; | ||
} | ||
}; | ||
throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined."); | ||
}; | ||
var __read = (this && this.__read) || function (o, n) { | ||
var m = typeof Symbol === "function" && o[Symbol.iterator]; | ||
if (!m) return o; | ||
var i = m.call(o), r, ar = [], e; | ||
try { | ||
while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value); | ||
} | ||
catch (error) { e = { error: error }; } | ||
finally { | ||
try { | ||
if (r && !r.done && (m = i["return"])) m.call(i); | ||
} | ||
finally { if (e) throw e.error; } | ||
} | ||
return ar; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.keyFromEdges = exports.nodesFromEdges = exports.composeGid = exports.composeGidFactory = exports.parseGidWithParams = exports.parseGid = exports.parseGidType = void 0; | ||
var tslib_1 = require("tslib"); | ||
var GID_TYPE_REGEXP = /^gid:\/\/[\w-]+\/([\w-]+)\//; | ||
@@ -74,4 +100,4 @@ var GID_REGEXP = /\/(\w[\w-]*)(?:\?(.*))*$/; | ||
try { | ||
for (var entries_1 = tslib_1.__values(entries), entries_1_1 = entries_1.next(); !entries_1_1.done; entries_1_1 = entries_1.next()) { | ||
var _b = tslib_1.__read(entries_1_1.value, 2), key = _b[0], val = _b[1]; | ||
for (var entries_1 = __values(entries), entries_1_1 = entries_1.next(); !entries_1_1.done; entries_1_1 = entries_1.next()) { | ||
var _b = __read(entries_1_1.value, 2), key = _b[0], val = _b[1]; | ||
obj[key] = val; | ||
@@ -78,0 +104,0 @@ } |
@@ -8,4 +8,6 @@ # Changelog | ||
<-- ## [Unreleased] --> | ||
<!-- ## [Unreleased] --> | ||
- Added new types of builds (CommonJS, ESM, esnext, Node) for greater tree-shakability | ||
## [0.1.0] - 2020-07-28 | ||
@@ -12,0 +14,0 @@ |
@@ -1,1 +0,1 @@ | ||
module.exports = require("./build/cjs/index"); | ||
module.exports = require("./build/node/index"); |
{ | ||
"name": "@shopify/admin-graphql-api-utilities", | ||
"version": "1.0.0-sknext-beta.1", | ||
"version": "1.0.0-sknext-beta.2", | ||
"license": "MIT", | ||
@@ -26,5 +26,2 @@ "description": "A set of utilities to use when consuming Shopify’s admin GraphQL API", | ||
"sideEffects": false, | ||
"dependencies": { | ||
"tslib": "^1.9.3" | ||
}, | ||
"files": [ | ||
@@ -31,0 +28,0 @@ "build/*", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
24680
0
381
0
- Removedtslib@^1.9.3
- Removedtslib@1.14.1(transitive)