@depict-ai/utilishared 1.0.50 → 1.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +4 -4
- package/ES10/index.d.ts +1 -1
- package/ES10/index.js +4 -4
- package/babel-helpers/cjs/assertClassBrand.cjs +5 -0
- package/babel-helpers/cjs/classApplyDescriptorGet.cjs +4 -0
- package/babel-helpers/cjs/classApplyDescriptorSet.cjs +7 -0
- package/babel-helpers/cjs/classPrivateFieldGet.cjs +7 -0
- package/babel-helpers/cjs/classPrivateFieldGet2.cjs +5 -0
- package/babel-helpers/cjs/classPrivateFieldSet.cjs +7 -0
- package/babel-helpers/cjs/defineProperty.cjs +10 -0
- package/babel-helpers/cjs/toPrimitive.cjs +12 -0
- package/babel-helpers/cjs/toPropertyKey.cjs +7 -0
- package/babel-helpers/cjs/typeof.cjs +10 -0
- package/babel-helpers/esm/assertClassBrand.js +5 -0
- package/babel-helpers/esm/classApplyDescriptorGet.js +4 -0
- package/babel-helpers/esm/classApplyDescriptorSet.js +7 -0
- package/babel-helpers/esm/classPrivateFieldGet.js +7 -0
- package/babel-helpers/esm/classPrivateFieldGet2.js +5 -0
- package/babel-helpers/esm/classPrivateFieldSet.js +7 -0
- package/babel-helpers/esm/defineProperty.js +10 -0
- package/babel-helpers/esm/toPrimitive.js +12 -0
- package/babel-helpers/esm/toPropertyKey.js +7 -0
- package/babel-helpers/esm/typeof.js +10 -0
- package/latest/index.cjs +1 -1
- package/latest/index.d.ts +1 -1
- package/latest/index.js +1 -1
- package/package.json +5 -13
package/ES10/index.cjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
var $bBfCy$solidjs = require("solid-js");
|
|
2
|
-
var $bBfCy$babelruntimehelpersclassPrivateFieldSet = require("
|
|
3
|
-
var $bBfCy$babelruntimehelpersclassPrivateFieldGet = require("
|
|
4
|
-
var $bBfCy$babelruntimehelpersdefineProperty = require("
|
|
2
|
+
var $bBfCy$babelruntimehelpersclassPrivateFieldSet = require("../babel-helpers/cjs/classPrivateFieldSet.cjs");
|
|
3
|
+
var $bBfCy$babelruntimehelpersclassPrivateFieldGet = require("../babel-helpers/cjs/classPrivateFieldGet.cjs");
|
|
4
|
+
var $bBfCy$babelruntimehelpersdefineProperty = require("../babel-helpers/cjs/defineProperty.cjs");
|
|
5
5
|
require("../multi_import_deduplicator.cjs").register_es_version("utilishared", "ES10");
|
|
6
6
|
function $parcel$exportWildcard(dest, source) {
|
|
7
7
|
Object.keys(source).forEach(function (key) {
|
|
@@ -279,7 +279,7 @@ $parcel$export(module.exports, "add_to_version_info", () => $045fb30107c9eecc$ex
|
|
|
279
279
|
$parcel$export(module.exports, "edit_current_page_meta_tags", () => $0126fdc29a9f7f2d$export$ef73ea4f975745ba);
|
|
280
280
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $84d13ab567309a50$export$c3f56a35e076f139);
|
|
281
281
|
$parcel$export(module.exports, "use_href_accessor", () => $59b7011b96010a8e$export$e35115e6d0715f77);
|
|
282
|
-
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.
|
|
282
|
+
const $ce0ab19b284b64fa$export$83d89fbfd8236492 = "1.0.51";
|
|
283
283
|
const $9e9538f4aff6f83c$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
|
|
284
284
|
const $7f95f77417d06249$var$browser_prefix_styling = "color: #fff;";
|
|
285
285
|
let $7f95f77417d06249$var$browser_prefix = "[Depict]";
|
package/ES10/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../jsx.d.ts" />
|
|
2
2
|
import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
|
|
3
3
|
import { Accessor } from "solid-js";
|
|
4
|
-
export const version = "1.0.
|
|
4
|
+
export const version = "1.0.51";
|
|
5
5
|
export const is_debug: boolean;
|
|
6
6
|
/**
|
|
7
7
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
package/ES10/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { onCleanup as $76EG6$onCleanup, createEffect as $76EG6$createEffect, createSignal as $76EG6$createSignal } from "solid-js";
|
|
2
|
-
import $76EG6$babelruntimehelpersclassPrivateFieldSet from "
|
|
3
|
-
import $76EG6$babelruntimehelpersclassPrivateFieldGet from "
|
|
4
|
-
import $76EG6$babelruntimehelpersdefineProperty from "
|
|
2
|
+
import $76EG6$babelruntimehelpersclassPrivateFieldSet from "../babel-helpers/esm/classPrivateFieldSet.js";
|
|
3
|
+
import $76EG6$babelruntimehelpersclassPrivateFieldGet from "../babel-helpers/esm/classPrivateFieldGet.js";
|
|
4
|
+
import $76EG6$babelruntimehelpersdefineProperty from "../babel-helpers/esm/defineProperty.js";
|
|
5
5
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
6
6
|
register_es_version("utilishared", "ES10");
|
|
7
7
|
function $parcel$export(e, n, v, s) {
|
|
@@ -15,7 +15,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
15
15
|
function $parcel$interopDefault(a) {
|
|
16
16
|
return a && a.__esModule ? a.default : a;
|
|
17
17
|
}
|
|
18
|
-
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.
|
|
18
|
+
const $b9e07ce3c67aa344$export$83d89fbfd8236492 = "1.0.51";
|
|
19
19
|
const $a5a2bdb4ae93374b$export$55fe61489d2c7417 = /*@__PURE__*/((_globalThis$document, _globalThis$document$, _globalThis$document$2, _globalThis$localStor, _globalThis$localStor2) => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && ((globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$document = globalThis.document) === null || _globalThis$document === void 0 ? void 0 : (_globalThis$document$ = _globalThis$document.currentScript) === null || _globalThis$document$ === void 0 ? void 0 : (_globalThis$document$2 = _globalThis$document$.dataset) === null || _globalThis$document$2 === void 0 ? void 0 : _globalThis$document$2.debug) === "true" || (globalThis === null || globalThis === void 0 ? void 0 : (_globalThis$localStor = globalThis.localStorage) === null || _globalThis$localStor === void 0 ? void 0 : (_globalThis$localStor2 = _globalThis$localStor.getItem) === null || _globalThis$localStor2 === void 0 ? void 0 : _globalThis$localStor2.call(_globalThis$localStor, "debug")) === "true"))();
|
|
20
20
|
const $241f2f02cc612a49$var$browser_prefix_styling = "color: #fff;";
|
|
21
21
|
let $241f2f02cc612a49$var$browser_prefix = "[Depict]";
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
function _assertClassBrand(e, t, n) {
|
|
2
|
+
if ("function" == typeof e ? e === t : e.has(t)) return arguments.length < 3 ? t : n;
|
|
3
|
+
throw new TypeError("Private element is not present on this object");
|
|
4
|
+
}
|
|
5
|
+
module.exports = _assertClassBrand, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
function _classApplyDescriptorSet(e, t, l) {
|
|
2
|
+
if (t.set) t.set.call(e, l);else {
|
|
3
|
+
if (!t.writable) throw new TypeError("attempted to set read only private field");
|
|
4
|
+
t.value = l;
|
|
5
|
+
}
|
|
6
|
+
}
|
|
7
|
+
module.exports = _classApplyDescriptorSet, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var classApplyDescriptorGet = require("./classApplyDescriptorGet.cjs");
|
|
2
|
+
var classPrivateFieldGet2 = require("./classPrivateFieldGet2.cjs");
|
|
3
|
+
function _classPrivateFieldGet(e, t) {
|
|
4
|
+
var r = classPrivateFieldGet2(t, e);
|
|
5
|
+
return classApplyDescriptorGet(e, r);
|
|
6
|
+
}
|
|
7
|
+
module.exports = _classPrivateFieldGet, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var classApplyDescriptorSet = require("./classApplyDescriptorSet.cjs");
|
|
2
|
+
var classPrivateFieldGet2 = require("./classPrivateFieldGet2.cjs");
|
|
3
|
+
function _classPrivateFieldSet(e, t, r) {
|
|
4
|
+
var s = classPrivateFieldGet2(t, e);
|
|
5
|
+
return classApplyDescriptorSet(e, s, r), r;
|
|
6
|
+
}
|
|
7
|
+
module.exports = _classPrivateFieldSet, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var toPropertyKey = require("./toPropertyKey.cjs");
|
|
2
|
+
function _defineProperty(e, r, t) {
|
|
3
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
4
|
+
value: t,
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
configurable: !0,
|
|
7
|
+
writable: !0
|
|
8
|
+
}) : e[r] = t, e;
|
|
9
|
+
}
|
|
10
|
+
module.exports = _defineProperty, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
var _typeof = require("./typeof.cjs")["default"];
|
|
2
|
+
function toPrimitive(t, r) {
|
|
3
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
4
|
+
var e = t[Symbol.toPrimitive];
|
|
5
|
+
if (void 0 !== e) {
|
|
6
|
+
var i = e.call(t, r || "default");
|
|
7
|
+
if ("object" != _typeof(i)) return i;
|
|
8
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
9
|
+
}
|
|
10
|
+
return ("string" === r ? String : Number)(t);
|
|
11
|
+
}
|
|
12
|
+
module.exports = toPrimitive, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
var _typeof = require("./typeof.cjs")["default"];
|
|
2
|
+
var toPrimitive = require("./toPrimitive.cjs");
|
|
3
|
+
function toPropertyKey(t) {
|
|
4
|
+
var i = toPrimitive(t, "string");
|
|
5
|
+
return "symbol" == _typeof(i) ? i : i + "";
|
|
6
|
+
}
|
|
7
|
+
module.exports = toPropertyKey, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return module.exports = _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, module.exports.__esModule = true, module.exports["default"] = module.exports, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
module.exports = _typeof, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import classApplyDescriptorGet from "./classApplyDescriptorGet.js";
|
|
2
|
+
import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
|
|
3
|
+
function _classPrivateFieldGet(e, t) {
|
|
4
|
+
var r = classPrivateFieldGet2(t, e);
|
|
5
|
+
return classApplyDescriptorGet(e, r);
|
|
6
|
+
}
|
|
7
|
+
export { _classPrivateFieldGet as default };
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import classApplyDescriptorSet from "./classApplyDescriptorSet.js";
|
|
2
|
+
import classPrivateFieldGet2 from "./classPrivateFieldGet2.js";
|
|
3
|
+
function _classPrivateFieldSet(e, t, r) {
|
|
4
|
+
var s = classPrivateFieldGet2(t, e);
|
|
5
|
+
return classApplyDescriptorSet(e, s, r), r;
|
|
6
|
+
}
|
|
7
|
+
export { _classPrivateFieldSet as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import toPropertyKey from "./toPropertyKey.js";
|
|
2
|
+
function _defineProperty(e, r, t) {
|
|
3
|
+
return (r = toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
4
|
+
value: t,
|
|
5
|
+
enumerable: !0,
|
|
6
|
+
configurable: !0,
|
|
7
|
+
writable: !0
|
|
8
|
+
}) : e[r] = t, e;
|
|
9
|
+
}
|
|
10
|
+
export { _defineProperty as default };
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import _typeof from "./typeof.js";
|
|
2
|
+
function toPrimitive(t, r) {
|
|
3
|
+
if ("object" != _typeof(t) || !t) return t;
|
|
4
|
+
var e = t[Symbol.toPrimitive];
|
|
5
|
+
if (void 0 !== e) {
|
|
6
|
+
var i = e.call(t, r || "default");
|
|
7
|
+
if ("object" != _typeof(i)) return i;
|
|
8
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
9
|
+
}
|
|
10
|
+
return ("string" === r ? String : Number)(t);
|
|
11
|
+
}
|
|
12
|
+
export { toPrimitive as default };
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
function _typeof(o) {
|
|
2
|
+
"@babel/helpers - typeof";
|
|
3
|
+
|
|
4
|
+
return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) {
|
|
5
|
+
return typeof o;
|
|
6
|
+
} : function (o) {
|
|
7
|
+
return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
8
|
+
}, _typeof(o);
|
|
9
|
+
}
|
|
10
|
+
export { _typeof as default };
|
package/latest/index.cjs
CHANGED
|
@@ -276,7 +276,7 @@ $parcel$export(module.exports, "add_to_version_info", () => $e4a18bf12ad092d9$ex
|
|
|
276
276
|
$parcel$export(module.exports, "edit_current_page_meta_tags", () => $8838e3e61b748a8b$export$ef73ea4f975745ba);
|
|
277
277
|
$parcel$export(module.exports, "sync_el_content_with_accessor", () => $35303d72263038db$export$c3f56a35e076f139);
|
|
278
278
|
$parcel$export(module.exports, "use_href_accessor", () => $da35c7e27be2a442$export$e35115e6d0715f77);
|
|
279
|
-
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.
|
|
279
|
+
const $815f67c61b4c0a42$export$83d89fbfd8236492 = "1.0.51";
|
|
280
280
|
const $7b5e577a60b81e60$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
281
281
|
const $e6c6e7929ea385ae$var$browser_prefix_styling = "color: #fff;";
|
|
282
282
|
let $e6c6e7929ea385ae$var$browser_prefix = "[Depict]";
|
package/latest/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference path="../jsx.d.ts" />
|
|
2
2
|
import { EUnavailabilityType } from "@depict-ai/types/api/TrackV2Request";
|
|
3
3
|
import { Accessor } from "solid-js";
|
|
4
|
-
export const version = "1.0.
|
|
4
|
+
export const version = "1.0.51";
|
|
5
5
|
export const is_debug: boolean;
|
|
6
6
|
/**
|
|
7
7
|
* Sets the prefix of dlog, dwarn, and derror messages in the browser console. Defaults to `[Depict]`.
|
package/latest/index.js
CHANGED
|
@@ -12,7 +12,7 @@ function $parcel$export(e, n, v, s) {
|
|
|
12
12
|
function $parcel$interopDefault(a) {
|
|
13
13
|
return a && a.__esModule ? a.default : a;
|
|
14
14
|
}
|
|
15
|
-
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.
|
|
15
|
+
const $0766c85d387a9765$export$83d89fbfd8236492 = "1.0.51";
|
|
16
16
|
const $571bce04eb920cd8$export$55fe61489d2c7417 = /*@__PURE__*/(() => process.env.STRIP_DEBUG === "true" ? false : process.env.DEBUG === "true" || process.env.NODE_ENV === "development" || process.env.BUILD_TARGET !== "node" && (globalThis?.document?.currentScript?.dataset?.debug === "true" || globalThis?.localStorage?.getItem?.("debug") === "true"))();
|
|
17
17
|
const $649f456f663da9fc$var$browser_prefix_styling = "color: #fff;";
|
|
18
18
|
let $649f456f663da9fc$var$browser_prefix = "[Depict]";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/utilishared",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.52",
|
|
4
4
|
"packageManager": "yarn@3.2.2",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"types": "ES10/index.d.ts",
|
|
@@ -9,13 +9,6 @@
|
|
|
9
9
|
"publishConfig": {
|
|
10
10
|
"access": "public"
|
|
11
11
|
},
|
|
12
|
-
"scripts": {
|
|
13
|
-
"build": "./scripts/build",
|
|
14
|
-
"publish": "yarn build && yarn npm publish",
|
|
15
|
-
"print-included-package-files": "yarn pack --dry-run",
|
|
16
|
-
"typecheck": "yarn g:tsc --build tsconfig.json",
|
|
17
|
-
"test": "jest"
|
|
18
|
-
},
|
|
19
12
|
"targets": {
|
|
20
13
|
"module_latest": {
|
|
21
14
|
"outputFormat": "esmodule",
|
|
@@ -75,11 +68,12 @@
|
|
|
75
68
|
"/latest",
|
|
76
69
|
"/ES10",
|
|
77
70
|
"./multi_import_deduplicator.mjs",
|
|
78
|
-
"./multi_import_deduplicator.cjs"
|
|
71
|
+
"./multi_import_deduplicator.cjs",
|
|
72
|
+
"/babel-helpers"
|
|
79
73
|
],
|
|
80
74
|
"devDependencies": {
|
|
81
75
|
"@babel/core": "latest",
|
|
82
|
-
"@depict-ai/types": "^
|
|
76
|
+
"@depict-ai/types": "^4.0.0",
|
|
83
77
|
"@parcel/resolver-default": "^2.9.3",
|
|
84
78
|
"@sentry/cli": "^2.21.2",
|
|
85
79
|
"@sentry/types": "^7.75.1",
|
|
@@ -91,12 +85,10 @@
|
|
|
91
85
|
},
|
|
92
86
|
"dependencies": {
|
|
93
87
|
"@babel/plugin-transform-typescript": "^7.22.9",
|
|
94
|
-
"@babel/runtime": "latest",
|
|
95
|
-
"@babel/runtime-corejs3": "latest",
|
|
96
88
|
"@sentry/browser": "^7.75.1",
|
|
97
89
|
"solid-js": "^1.8.1"
|
|
98
90
|
},
|
|
99
91
|
"type": "module",
|
|
100
92
|
"main": "ES10/index.cjs",
|
|
101
93
|
"module": "ES10/index.js"
|
|
102
|
-
}
|
|
94
|
+
}
|