mirror of
https://github.com/harttle/liquidjs.git
synced 2026-10-02 16:45:14 -07:00
chore(release): 6.4.2 [skip ci]
## [6.4.2](https://github.com/harttle/liquidjs/compare/v6.4.1...v6.4.2) (2019-01-28)
### Bug Fixes
* **CI:** e2e not building cjs ([dde7b3b](https://github.com/harttle/liquidjs/commit/dde7b3b))
This commit is contained in:
@@ -1,3 +1,10 @@
|
|||||||
|
## [6.4.2](https://github.com/harttle/liquidjs/compare/v6.4.1...v6.4.2) (2019-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
### Bug Fixes
|
||||||
|
|
||||||
|
* **CI:** e2e not building cjs ([dde7b3b](https://github.com/harttle/liquidjs/commit/dde7b3b))
|
||||||
|
|
||||||
## [6.4.1](https://github.com/harttle/liquidjs/compare/v6.4.0...v6.4.1) (2019-01-28)
|
## [6.4.1](https://github.com/harttle/liquidjs/compare/v6.4.0...v6.4.1) (2019-01-28)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Vendored
+35
-24
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* [email protected].1, https://github.com/harttle/liquidjs
|
* [email protected].2, https://github.com/harttle/liquidjs
|
||||||
* (c) 2016-2019 harttle
|
* (c) 2016-2019 harttle
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/
|
*/
|
||||||
@@ -52,7 +52,7 @@ var asyncToGenerator = function (fn) {
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var regeneratorRuntime$1 = function (exports) {
|
!function (global) {
|
||||||
|
|
||||||
var Op = Object.prototype;
|
var Op = Object.prototype;
|
||||||
var hasOwn = Op.hasOwnProperty;
|
var hasOwn = Op.hasOwnProperty;
|
||||||
@@ -62,6 +62,23 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
||||||
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
||||||
|
|
||||||
|
var inModule = (typeof module === "undefined" ? "undefined" : _typeof(module)) === "object";
|
||||||
|
var runtime = global.regeneratorRuntime;
|
||||||
|
if (runtime) {
|
||||||
|
if (inModule) {
|
||||||
|
// If regeneratorRuntime is defined globally and we're in a module,
|
||||||
|
// make the exports object identical to regeneratorRuntime.
|
||||||
|
module.exports = runtime;
|
||||||
|
}
|
||||||
|
// Don't bother evaluating the rest of this file if the runtime was
|
||||||
|
// already defined globally.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Define the runtime globally (as expected by generated code) as either
|
||||||
|
// module.exports (if we're in a module) or a new, empty object.
|
||||||
|
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
|
||||||
|
|
||||||
function wrap(innerFn, outerFn, self, tryLocsList) {
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
||||||
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
||||||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
||||||
@@ -74,7 +91,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
|
|
||||||
return generator;
|
return generator;
|
||||||
}
|
}
|
||||||
exports.wrap = wrap;
|
runtime.wrap = wrap;
|
||||||
|
|
||||||
// Try/catch helper to minimize deoptimizations. Returns a completion
|
// Try/catch helper to minimize deoptimizations. Returns a completion
|
||||||
// record like context.tryEntries[i].completion. This interface could
|
// record like context.tryEntries[i].completion. This interface could
|
||||||
@@ -141,7 +158,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.isGeneratorFunction = function (genFun) {
|
runtime.isGeneratorFunction = function (genFun) {
|
||||||
var ctor = typeof genFun === "function" && genFun.constructor;
|
var ctor = typeof genFun === "function" && genFun.constructor;
|
||||||
return ctor ? ctor === GeneratorFunction ||
|
return ctor ? ctor === GeneratorFunction ||
|
||||||
// For the native GeneratorFunction constructor, the best we can
|
// For the native GeneratorFunction constructor, the best we can
|
||||||
@@ -149,7 +166,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.mark = function (genFun) {
|
runtime.mark = function (genFun) {
|
||||||
if (Object.setPrototypeOf) {
|
if (Object.setPrototypeOf) {
|
||||||
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
||||||
} else {
|
} else {
|
||||||
@@ -166,7 +183,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
||||||
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
||||||
// meant to be awaited.
|
// meant to be awaited.
|
||||||
exports.awrap = function (arg) {
|
runtime.awrap = function (arg) {
|
||||||
return { __await: arg };
|
return { __await: arg };
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -237,15 +254,15 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
exports.AsyncIterator = AsyncIterator;
|
runtime.AsyncIterator = AsyncIterator;
|
||||||
|
|
||||||
// Note that simple async functions are implemented on top of
|
// Note that simple async functions are implemented on top of
|
||||||
// AsyncIterator objects; they just return a Promise for the value of
|
// AsyncIterator objects; they just return a Promise for the value of
|
||||||
// the final result produced by the iterator.
|
// the final result produced by the iterator.
|
||||||
exports.async = function (innerFn, outerFn, self, tryLocsList) {
|
runtime.async = function (innerFn, outerFn, self, tryLocsList) {
|
||||||
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
|
||||||
|
|
||||||
return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
return runtime.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
||||||
: iter.next().then(function (result) {
|
: iter.next().then(function (result) {
|
||||||
return result.done ? result.value : iter.next();
|
return result.done ? result.value : iter.next();
|
||||||
});
|
});
|
||||||
@@ -336,8 +353,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
context.delegate = null;
|
context.delegate = null;
|
||||||
|
|
||||||
if (context.method === "throw") {
|
if (context.method === "throw") {
|
||||||
// Note: ["return"] must be used for ES3 parsing compatibility.
|
if (delegate.iterator.return) {
|
||||||
if (delegate.iterator["return"]) {
|
|
||||||
// If the delegate iterator has a return method, give it a
|
// If the delegate iterator has a return method, give it a
|
||||||
// chance to clean up.
|
// chance to clean up.
|
||||||
context.method = "return";
|
context.method = "return";
|
||||||
@@ -455,7 +471,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
this.reset(true);
|
this.reset(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.keys = function (object) {
|
runtime.keys = function (object) {
|
||||||
var keys = [];
|
var keys = [];
|
||||||
for (var key in object) {
|
for (var key in object) {
|
||||||
keys.push(key);
|
keys.push(key);
|
||||||
@@ -517,7 +533,7 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
// Return an iterator with no values.
|
// Return an iterator with no values.
|
||||||
return { next: doneResult };
|
return { next: doneResult };
|
||||||
}
|
}
|
||||||
exports.values = values;
|
runtime.values = values;
|
||||||
|
|
||||||
function doneResult() {
|
function doneResult() {
|
||||||
return { value: undefined, done: true };
|
return { value: undefined, done: true };
|
||||||
@@ -710,18 +726,13 @@ var regeneratorRuntime$1 = function (exports) {
|
|||||||
return ContinueSentinel;
|
return ContinueSentinel;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Regardless of whether this script is executing as a CommonJS module
|
|
||||||
// or not, return the runtime object so that we can declare the variable
|
|
||||||
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
||||||
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
||||||
return exports;
|
|
||||||
}(
|
}(
|
||||||
// If this script is executing as a CommonJS module, use module.exports
|
// In sloppy mode, unbound `this` refers to the global object, fallback to
|
||||||
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
// Function constructor if we're in global strict mode. That is sadly a form
|
||||||
// object. Either way, the resulting object will be used to initialize
|
// of indirect eval which violates Content Security Policy.
|
||||||
// the regeneratorRuntime variable at the top of this file.
|
function () {
|
||||||
(typeof module === "undefined" ? "undefined" : _typeof(module)) === "object" ? module.exports : {});
|
return this || (typeof self === "undefined" ? "undefined" : _typeof(self)) === "object" && self;
|
||||||
|
}() || Function("return this")());
|
||||||
|
|
||||||
var toStr = Object.prototype.toString;
|
var toStr = Object.prototype.toString;
|
||||||
var arrToStr = Array.prototype.toString;
|
var arrToStr = Array.prototype.toString;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+35
-24
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* liquidjs@6.4.1, https://github.com/harttle/liquidjs
|
* liquidjs@6.4.2, https://github.com/harttle/liquidjs
|
||||||
* (c) 2016-2019 harttle
|
* (c) 2016-2019 harttle
|
||||||
* Released under the MIT License.
|
* Released under the MIT License.
|
||||||
*/
|
*/
|
||||||
@@ -51,7 +51,7 @@
|
|||||||
* LICENSE file in the root directory of this source tree.
|
* LICENSE file in the root directory of this source tree.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
var regeneratorRuntime$1 = function (exports) {
|
!function (global) {
|
||||||
|
|
||||||
var Op = Object.prototype;
|
var Op = Object.prototype;
|
||||||
var hasOwn = Op.hasOwnProperty;
|
var hasOwn = Op.hasOwnProperty;
|
||||||
@@ -61,6 +61,23 @@
|
|||||||
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
var asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator";
|
||||||
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
var toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
||||||
|
|
||||||
|
var inModule = (typeof module === "undefined" ? "undefined" : _typeof(module)) === "object";
|
||||||
|
var runtime = global.regeneratorRuntime;
|
||||||
|
if (runtime) {
|
||||||
|
if (inModule) {
|
||||||
|
// If regeneratorRuntime is defined globally and we're in a module,
|
||||||
|
// make the exports object identical to regeneratorRuntime.
|
||||||
|
module.exports = runtime;
|
||||||
|
}
|
||||||
|
// Don't bother evaluating the rest of this file if the runtime was
|
||||||
|
// already defined globally.
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Define the runtime globally (as expected by generated code) as either
|
||||||
|
// module.exports (if we're in a module) or a new, empty object.
|
||||||
|
runtime = global.regeneratorRuntime = inModule ? module.exports : {};
|
||||||
|
|
||||||
function wrap(innerFn, outerFn, self, tryLocsList) {
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
||||||
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
// If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.
|
||||||
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;
|
||||||
@@ -73,7 +90,7 @@
|
|||||||
|
|
||||||
return generator;
|
return generator;
|
||||||
}
|
}
|
||||||
exports.wrap = wrap;
|
runtime.wrap = wrap;
|
||||||
|
|
||||||
// Try/catch helper to minimize deoptimizations. Returns a completion
|
// Try/catch helper to minimize deoptimizations. Returns a completion
|
||||||
// record like context.tryEntries[i].completion. This interface could
|
// record like context.tryEntries[i].completion. This interface could
|
||||||
@@ -140,7 +157,7 @@
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.isGeneratorFunction = function (genFun) {
|
runtime.isGeneratorFunction = function (genFun) {
|
||||||
var ctor = typeof genFun === "function" && genFun.constructor;
|
var ctor = typeof genFun === "function" && genFun.constructor;
|
||||||
return ctor ? ctor === GeneratorFunction ||
|
return ctor ? ctor === GeneratorFunction ||
|
||||||
// For the native GeneratorFunction constructor, the best we can
|
// For the native GeneratorFunction constructor, the best we can
|
||||||
@@ -148,7 +165,7 @@
|
|||||||
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
(ctor.displayName || ctor.name) === "GeneratorFunction" : false;
|
||||||
};
|
};
|
||||||
|
|
||||||
exports.mark = function (genFun) {
|
runtime.mark = function (genFun) {
|
||||||
if (Object.setPrototypeOf) {
|
if (Object.setPrototypeOf) {
|
||||||
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);
|
||||||
} else {
|
} else {
|
||||||
@@ -165,7 +182,7 @@
|
|||||||
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
// `yield regeneratorRuntime.awrap(x)`, so that the runtime can test
|
||||||
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
// `hasOwn.call(value, "__await")` to determine if the yielded value is
|
||||||
// meant to be awaited.
|
// meant to be awaited.
|
||||||
exports.awrap = function (arg) {
|
runtime.awrap = function (arg) {
|
||||||
return { __await: arg };
|
return { __await: arg };
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -236,15 +253,15 @@
|
|||||||
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
||||||
return this;
|
return this;
|
||||||
};
|
};
|
||||||
exports.AsyncIterator = AsyncIterator;
|
runtime.AsyncIterator = AsyncIterator;
|
||||||
|
|
||||||
// Note that simple async functions are implemented on top of
|
// Note that simple async functions are implemented on top of
|
||||||
// AsyncIterator objects; they just return a Promise for the value of
|
// AsyncIterator objects; they just return a Promise for the value of
|
||||||
// the final result produced by the iterator.
|
// the final result produced by the iterator.
|
||||||
exports.async = function (innerFn, outerFn, self, tryLocsList) {
|
runtime.async = function (innerFn, outerFn, self, tryLocsList) {
|
||||||
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
|
var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList));
|
||||||
|
|
||||||
return exports.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
return runtime.isGeneratorFunction(outerFn) ? iter // If outerFn is a generator, return the full iterator.
|
||||||
: iter.next().then(function (result) {
|
: iter.next().then(function (result) {
|
||||||
return result.done ? result.value : iter.next();
|
return result.done ? result.value : iter.next();
|
||||||
});
|
});
|
||||||
@@ -335,8 +352,7 @@
|
|||||||
context.delegate = null;
|
context.delegate = null;
|
||||||
|
|
||||||
if (context.method === "throw") {
|
if (context.method === "throw") {
|
||||||
// Note: ["return"] must be used for ES3 parsing compatibility.
|
if (delegate.iterator.return) {
|
||||||
if (delegate.iterator["return"]) {
|
|
||||||
// If the delegate iterator has a return method, give it a
|
// If the delegate iterator has a return method, give it a
|
||||||
// chance to clean up.
|
// chance to clean up.
|
||||||
context.method = "return";
|
context.method = "return";
|
||||||
@@ -454,7 +470,7 @@
|
|||||||
this.reset(true);
|
this.reset(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
exports.keys = function (object) {
|
runtime.keys = function (object) {
|
||||||
var keys = [];
|
var keys = [];
|
||||||
for (var key in object) {
|
for (var key in object) {
|
||||||
keys.push(key);
|
keys.push(key);
|
||||||
@@ -516,7 +532,7 @@
|
|||||||
// Return an iterator with no values.
|
// Return an iterator with no values.
|
||||||
return { next: doneResult };
|
return { next: doneResult };
|
||||||
}
|
}
|
||||||
exports.values = values;
|
runtime.values = values;
|
||||||
|
|
||||||
function doneResult() {
|
function doneResult() {
|
||||||
return { value: undefined, done: true };
|
return { value: undefined, done: true };
|
||||||
@@ -709,18 +725,13 @@
|
|||||||
return ContinueSentinel;
|
return ContinueSentinel;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Regardless of whether this script is executing as a CommonJS module
|
|
||||||
// or not, return the runtime object so that we can declare the variable
|
|
||||||
// regeneratorRuntime in the outer scope, which allows this module to be
|
|
||||||
// injected easily by `bin/regenerator --include-runtime script.js`.
|
|
||||||
return exports;
|
|
||||||
}(
|
}(
|
||||||
// If this script is executing as a CommonJS module, use module.exports
|
// In sloppy mode, unbound `this` refers to the global object, fallback to
|
||||||
// as the regeneratorRuntime namespace. Otherwise create a new empty
|
// Function constructor if we're in global strict mode. That is sadly a form
|
||||||
// object. Either way, the resulting object will be used to initialize
|
// of indirect eval which violates Content Security Policy.
|
||||||
// the regeneratorRuntime variable at the top of this file.
|
function () {
|
||||||
(typeof module === "undefined" ? "undefined" : _typeof(module)) === "object" ? module.exports : {});
|
return this || (typeof self === "undefined" ? "undefined" : _typeof(self)) === "object" && self;
|
||||||
|
}() || Function("return this")());
|
||||||
|
|
||||||
var toStr = Object.prototype.toString;
|
var toStr = Object.prototype.toString;
|
||||||
var arrToStr = Array.prototype.toString;
|
var arrToStr = Array.prototype.toString;
|
||||||
|
|||||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Generated
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "liquidjs",
|
"name": "liquidjs",
|
||||||
"version": "6.4.1",
|
"version": "6.4.2",
|
||||||
"lockfileVersion": 1,
|
"lockfileVersion": 1,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "liquidjs",
|
"name": "liquidjs",
|
||||||
"version": "6.4.1",
|
"version": "6.4.2",
|
||||||
"description": "Liquid template engine by pure JavaScript: compatible to shopify, easy to extend.",
|
"description": "Liquid template engine by pure JavaScript: compatible to shopify, easy to extend.",
|
||||||
"main": "dist/liquid.common.js",
|
"main": "dist/liquid.common.js",
|
||||||
"module": "src/index.js",
|
"module": "src/index.js",
|
||||||
|
|||||||
Reference in New Issue
Block a user