@bluepic/embed 0.4.0-next.82 → 0.4.0-next.83
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/dist/bluepic-embed.iife.js +144 -170
- package/dist/bluepic-embed.umd.js +144 -170
- package/dist/main.cjs +131 -157
- package/dist/main.mjs +30571 -34256
- package/dist/style.css +1 -1
- package/dist/util/cloneDeep.d.ts +13 -0
- package/package.json +1 -3
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Deep-clones a value without pulling in lodash.
|
|
3
|
+
*
|
|
4
|
+
* Uses the native `structuredClone`, which handles plain objects, arrays,
|
|
5
|
+
* Dates, Maps, Sets, typed arrays and circular references. Vue reactive
|
|
6
|
+
* proxies are unwrapped via `toRaw` first so the clone is a plain,
|
|
7
|
+
* non-reactive copy (and to avoid cloning through reactivity metadata).
|
|
8
|
+
*
|
|
9
|
+
* Note: `structuredClone` throws on non-cloneable values (functions, DOM
|
|
10
|
+
* nodes, class instances with methods). All call sites clone JSON-like data
|
|
11
|
+
* models, so this is safe here.
|
|
12
|
+
*/
|
|
13
|
+
export declare function cloneDeep<T>(value: T): T;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bluepic/embed",
|
|
3
|
-
"version": "0.4.0-next.
|
|
3
|
+
"version": "0.4.0-next.83",
|
|
4
4
|
"description": "Bluepic embed sdk",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -41,7 +41,6 @@
|
|
|
41
41
|
"@types/css": "^0.0.38",
|
|
42
42
|
"@types/downloadjs": "^1.4.6",
|
|
43
43
|
"@types/fontkit": "^2.0.8",
|
|
44
|
-
"@types/lodash": "^4.17.20",
|
|
45
44
|
"@types/mime-types": "^3.0.1",
|
|
46
45
|
"@types/node": "^24.10.0",
|
|
47
46
|
"@types/object-hash": "^3.0.6",
|
|
@@ -75,7 +74,6 @@
|
|
|
75
74
|
"fontkit": "^2.0.4",
|
|
76
75
|
"grapheme-splitter": "^1.0.4",
|
|
77
76
|
"inline-style-parser": "^0.2.7",
|
|
78
|
-
"lodash": "^4.17.21",
|
|
79
77
|
"mediabunny": "^1.45.2",
|
|
80
78
|
"mime": "^4.1.0",
|
|
81
79
|
"nanoid": "^5.1.6",
|