@next-core/brick-utils 2.30.1-alpha.0 → 2.31.0
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/CHANGELOG.md +39 -2
- package/dist/index.bundle.js +1685 -1058
- package/dist/index.bundle.js.map +1 -1
- package/dist/index.esm.js +1681 -1057
- package/dist/index.esm.js.map +1 -1
- package/dist/types/loadScript.d.ts +3 -3
- package/package.json +5 -5
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export declare function loadScript(src: string): Promise<string>;
|
|
2
|
-
export declare function loadScript(src: string[]): Promise<string[]>;
|
|
3
|
-
export declare function prefetchScript(src: string | string[]): void;
|
|
1
|
+
export declare function loadScript(src: string, prefix?: string): Promise<string>;
|
|
2
|
+
export declare function loadScript(src: string[], prefix?: string): Promise<string[]>;
|
|
3
|
+
export declare function prefetchScript(src: string | string[], prefix?: string): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@next-core/brick-utils",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.31.0",
|
|
4
4
|
"description": "Pure utility functions for kernel",
|
|
5
5
|
"homepage": "https://github.com/easyops-cn/next-core/tree/master/packages/brick-utils",
|
|
6
6
|
"license": "GPL-3.0",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
},
|
|
30
30
|
"sideEffects": false,
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@next-core/brick-types": "^2.
|
|
33
|
-
"@next-core/cook": "^1.
|
|
32
|
+
"@next-core/brick-types": "^2.50.0",
|
|
33
|
+
"@next-core/cook": "^1.5.0",
|
|
34
34
|
"file-saver": "^2.0.5",
|
|
35
35
|
"path-to-regexp": "^6.2.0"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@next-core/pipes": "^1.0.
|
|
38
|
+
"@next-core/pipes": "^1.0.1",
|
|
39
39
|
"js-yaml": "^3.14.1",
|
|
40
40
|
"lodash": "^4.17.21",
|
|
41
41
|
"moment": "^2.29.1"
|
|
@@ -46,5 +46,5 @@
|
|
|
46
46
|
"lodash": "*",
|
|
47
47
|
"moment": "*"
|
|
48
48
|
},
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "3c33270fc173e7afc80576f51415132bc1ef577f"
|
|
50
50
|
}
|