Skip to content

Commit

Permalink
chore: update target
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Dec 9, 2024
1 parent 49113fc commit e02a1da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion target/cjs/util.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ var makeDeferred = () => {
var isPromiseLike = (value) => typeof (value == null ? void 0 : value.then) === "function";
var isStringLiteral = (pieces, ...rest) => {
var _a;
return (pieces == null ? void 0 : pieces.length) > 0 && ((_a = pieces.raw) == null ? void 0 : _a.length) === pieces.length && Object.isFrozen(pieces) && rest.length + 1 === pieces.length;
return (pieces == null ? void 0 : pieces.length) > 0 && ((_a = pieces.raw) == null ? void 0 : _a.length) === pieces.length && // Object.isFrozen(pieces) &&
rest.length + 1 === pieces.length;
};
var assign = (target, ...extras) => Object.defineProperties(target, extras.reduce((m, extra) => __spreadValues(__spreadValues({}, m), Object.fromEntries(Object.entries(Object.getOwnPropertyDescriptors(extra)).filter(([, v]) => !Object.prototype.hasOwnProperty.call(v, "value") || v.value !== void 0))), {}));
var quote = (arg) => {
Expand Down
3 changes: 2 additions & 1 deletion target/esm/util.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ var makeDeferred = () => {
var isPromiseLike = (value) => typeof (value == null ? void 0 : value.then) === "function";
var isStringLiteral = (pieces, ...rest) => {
var _a;
return (pieces == null ? void 0 : pieces.length) > 0 && ((_a = pieces.raw) == null ? void 0 : _a.length) === pieces.length && Object.isFrozen(pieces) && rest.length + 1 === pieces.length;
return (pieces == null ? void 0 : pieces.length) > 0 && ((_a = pieces.raw) == null ? void 0 : _a.length) === pieces.length && // Object.isFrozen(pieces) &&
rest.length + 1 === pieces.length;
};
var assign = (target, ...extras) => Object.defineProperties(target, extras.reduce((m, extra) => ({ ...m, ...Object.fromEntries(Object.entries(Object.getOwnPropertyDescriptors(extra)).filter(([, v]) => !Object.prototype.hasOwnProperty.call(v, "value") || v.value !== void 0)) }), {}));
var quote = (arg) => {
Expand Down

0 comments on commit e02a1da

Please sign in to comment.