Skip to content

Commit eadb418

Browse files
authored
chore: bump flatted and handlebars (#86)
1 parent 29f7b1b commit eadb418

File tree

2 files changed

+86
-62
lines changed

2 files changed

+86
-62
lines changed

dist/index.js

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22967,7 +22967,7 @@ var require_brace_expansion = __commonJS({
2296722967
var x = numeric(n[0]);
2296822968
var y = numeric(n[1]);
2296922969
var width = Math.max(n[0].length, n[1].length);
22970-
var incr = n.length == 3 ? Math.abs(numeric(n[2])) : 1;
22970+
var incr = n.length == 3 ? Math.max(Math.abs(numeric(n[2])), 1) : 1;
2297122971
var test = lte;
2297222972
var reverse = y < x;
2297322973
if (reverse) {
@@ -36402,7 +36402,7 @@ var require_lodash = __commonJS({
3640236402
"node_modules/lodash/lodash.js"(exports2, module2) {
3640336403
(function() {
3640436404
var undefined2;
36405-
var VERSION = "4.17.21";
36405+
var VERSION = "4.17.23";
3640636406
var LARGE_ARRAY_SIZE = 200;
3640736407
var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
3640836408
var HASH_UNDEFINED = "__lodash_hash_undefined__";
@@ -38330,8 +38330,28 @@ var require_lodash = __commonJS({
3833038330
}
3833138331
function baseUnset(object, path) {
3833238332
path = castPath(path, object);
38333-
object = parent(object, path);
38334-
return object == null || delete object[toKey(last(path))];
38333+
var index = -1, length = path.length;
38334+
if (!length) {
38335+
return true;
38336+
}
38337+
var isRootPrimitive = object == null || typeof object !== "object" && typeof object !== "function";
38338+
while (++index < length) {
38339+
var key = path[index];
38340+
if (typeof key !== "string") {
38341+
continue;
38342+
}
38343+
if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
38344+
return false;
38345+
}
38346+
if (key === "constructor" && index + 1 < length && typeof path[index + 1] === "string" && path[index + 1] === "prototype") {
38347+
if (isRootPrimitive && index === 0) {
38348+
continue;
38349+
}
38350+
return false;
38351+
}
38352+
}
38353+
var obj = parent(object, path);
38354+
return obj == null || delete obj[toKey(last(path))];
3833538355
}
3833638356
function baseUpdate(object, path, updater, customizer) {
3833738357
return baseSet(object, path, updater(baseGet(object, path)), customizer);

package-lock.json

Lines changed: 62 additions & 58 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)