@kubohiroya/turbowarp-asset-cache 0.4.0 → 0.5.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/README.ja.md +4 -3
- package/README.md +4 -3
- package/dist/asset-cache.js +2 -2
- package/dist/composition.js +2 -2
- package/package.json +8 -8
package/README.ja.md
CHANGED
|
@@ -55,7 +55,7 @@ Animated Text(`text`)が必要です。
|
|
|
55
55
|
SVG入力は既定で拒否します。remote binaryのcache entryは、保存前にサイズ・content-type・SHA-256を
|
|
56
56
|
検証します。IndexedDBは機密の境界ではなく補助的なcacheとして扱います。
|
|
57
57
|
|
|
58
|
-
メンテナはNode.js
|
|
58
|
+
メンテナはNode.js 24以降と、Corepack経由のpnpmを使います。インストール例とCDN URLのsource of truthは
|
|
59
59
|
`package.json`のversionです。
|
|
60
60
|
|
|
61
61
|
## セキュリティダイアログの説明言語
|
|
@@ -75,14 +75,14 @@ SVG入力は既定で拒否します。remote binaryのcache entryは、保存
|
|
|
75
75
|
versionを付けたnpm packageにも、同じレビュー済みビルドが入っています。
|
|
76
76
|
|
|
77
77
|
```bash
|
|
78
|
-
pnpm add --save-exact @kubohiroya/turbowarp-asset-cache@0.
|
|
78
|
+
pnpm add --save-exact @kubohiroya/turbowarp-asset-cache@0.5.0
|
|
79
79
|
```
|
|
80
80
|
|
|
81
81
|
`node_modules/@kubohiroya/turbowarp-asset-cache/dist/asset-cache.js`を読み込むか、version固定の
|
|
82
82
|
CDN URLを使います。
|
|
83
83
|
|
|
84
84
|
```text
|
|
85
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.
|
|
85
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.5.0/dist/asset-cache.js
|
|
86
86
|
```
|
|
87
87
|
|
|
88
88
|
## クイックスタート
|
|
@@ -121,6 +121,7 @@ assets.releaseAll();
|
|
|
121
121
|
## 開発
|
|
122
122
|
|
|
123
123
|
```bash
|
|
124
|
+
npm install --global corepack@latest
|
|
124
125
|
corepack enable
|
|
125
126
|
pnpm install --frozen-lockfile
|
|
126
127
|
pnpm run check
|
package/README.md
CHANGED
|
@@ -41,7 +41,7 @@ Standalone use requires TurboWarp Desktop or another TurboWarp environment that
|
|
|
41
41
|
|
|
42
42
|
SVG input is reject-by-default, remote binary cache entries are size/content-type/SHA-256 verified before storage, and IndexedDB is treated as an auxiliary cache rather than a secrecy boundary.
|
|
43
43
|
|
|
44
|
-
Maintainers use Node.js
|
|
44
|
+
Maintainers use Node.js 24 or later with pnpm through Corepack. The package version in `package.json` is the source of truth for install examples and CDN URLs.
|
|
45
45
|
|
|
46
46
|
## Security dialog description language
|
|
47
47
|
|
|
@@ -58,13 +58,13 @@ The built JavaScript file is committed to this repository so users do not need t
|
|
|
58
58
|
The versioned npm package contains the same reviewed build:
|
|
59
59
|
|
|
60
60
|
```bash
|
|
61
|
-
pnpm add --save-exact @kubohiroya/turbowarp-asset-cache@0.
|
|
61
|
+
pnpm add --save-exact @kubohiroya/turbowarp-asset-cache@0.5.0
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Load `node_modules/@kubohiroya/turbowarp-asset-cache/dist/asset-cache.js`, or use the version-pinned CDN URL:
|
|
65
65
|
|
|
66
66
|
```text
|
|
67
|
-
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.
|
|
67
|
+
https://cdn.jsdelivr.net/npm/@kubohiroya/turbowarp-asset-cache@0.5.0/dist/asset-cache.js
|
|
68
68
|
```
|
|
69
69
|
|
|
70
70
|
## Quick Start
|
|
@@ -99,6 +99,7 @@ assets.releaseAll();
|
|
|
99
99
|
## Development
|
|
100
100
|
|
|
101
101
|
```bash
|
|
102
|
+
npm install --global corepack@latest
|
|
102
103
|
corepack enable
|
|
103
104
|
pnpm install --frozen-lockfile
|
|
104
105
|
pnpm run check
|
package/dist/asset-cache.js
CHANGED
|
@@ -721,7 +721,7 @@ var block_definitions_default = {
|
|
|
721
721
|
]
|
|
722
722
|
};
|
|
723
723
|
//#endregion
|
|
724
|
-
//#region node_modules/.pnpm/@kubohiroya+turbowarp-extension-data-editor@0.
|
|
724
|
+
//#region node_modules/.pnpm/@kubohiroya+turbowarp-extension-data-editor@0.4.0_react@18.3.1/node_modules/@kubohiroya/turbowarp-extension-data-editor/dist/fixed-input-schema.js
|
|
725
725
|
var numberToken = /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$/u;
|
|
726
726
|
var invalidNumber = Object.freeze({
|
|
727
727
|
kind: "invalid",
|
|
@@ -1118,7 +1118,7 @@ function fixedInputRegistration(scratch) {
|
|
|
1118
1118
|
};
|
|
1119
1119
|
}
|
|
1120
1120
|
//#endregion
|
|
1121
|
-
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-data@0.
|
|
1121
|
+
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-data@0.6.0/node_modules/@kubohiroya/turbowarp-named-data/dist/composition.js
|
|
1122
1122
|
var NAMED_DATA_REGISTRY_SYMBOL_KEY = "@kubohiroya/turbowarp-named-data/registry";
|
|
1123
1123
|
var NAMED_DATA_REGISTRY_SYMBOL = Symbol.for(NAMED_DATA_REGISTRY_SYMBOL_KEY);
|
|
1124
1124
|
var NAMED_DATA_NAMESPACE_PATTERN = /^[a-z][a-z0-9.-]{0,63}$/u;
|
package/dist/composition.js
CHANGED
|
@@ -710,7 +710,7 @@ var block_definitions_default = {
|
|
|
710
710
|
]
|
|
711
711
|
};
|
|
712
712
|
//#endregion
|
|
713
|
-
//#region node_modules/.pnpm/@kubohiroya+turbowarp-extension-data-editor@0.
|
|
713
|
+
//#region node_modules/.pnpm/@kubohiroya+turbowarp-extension-data-editor@0.4.0_react@18.3.1/node_modules/@kubohiroya/turbowarp-extension-data-editor/dist/fixed-input-schema.js
|
|
714
714
|
var numberToken = /^-?(?:0|[1-9][0-9]*)(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$/u;
|
|
715
715
|
var invalidNumber = Object.freeze({
|
|
716
716
|
kind: "invalid",
|
|
@@ -1107,7 +1107,7 @@ function fixedInputRegistration(scratch) {
|
|
|
1107
1107
|
};
|
|
1108
1108
|
}
|
|
1109
1109
|
//#endregion
|
|
1110
|
-
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-data@0.
|
|
1110
|
+
//#region node_modules/.pnpm/@kubohiroya+turbowarp-named-data@0.6.0/node_modules/@kubohiroya/turbowarp-named-data/dist/composition.js
|
|
1111
1111
|
var NAMED_DATA_REGISTRY_SYMBOL_KEY = "@kubohiroya/turbowarp-named-data/registry";
|
|
1112
1112
|
var NAMED_DATA_REGISTRY_SYMBOL = Symbol.for(NAMED_DATA_REGISTRY_SYMBOL_KEY);
|
|
1113
1113
|
var NAMED_DATA_NAMESPACE_PATTERN = /^[a-z][a-z0-9.-]{0,63}$/u;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubohiroya/turbowarp-asset-cache",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "A browser-local image, audio, and runtime-text asset cache for TurboWarp projects.",
|
|
5
5
|
"author": "Hiroya Kubo <hiroya@cuc.ac.jp>",
|
|
6
6
|
"type": "module",
|
|
@@ -36,9 +36,9 @@
|
|
|
36
36
|
"access": "public",
|
|
37
37
|
"registry": "https://registry.npmjs.org/"
|
|
38
38
|
},
|
|
39
|
-
"packageManager": "pnpm@11.
|
|
39
|
+
"packageManager": "pnpm@11.28.8",
|
|
40
40
|
"engines": {
|
|
41
|
-
"node": ">=
|
|
41
|
+
"node": ">=24"
|
|
42
42
|
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"dev": "vite build --watch",
|
|
@@ -65,10 +65,10 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@eslint/js": "^9.39.5",
|
|
68
|
-
"@kubohiroya/turbowarp-extension-data-editor": "^0.
|
|
69
|
-
"@kubohiroya/turbowarp-extension-manifest": "^0.
|
|
70
|
-
"@kubohiroya/turbowarp-named-data": "^0.
|
|
71
|
-
"@kubohiroya/vite-plugin-turbowarp-extension": "^0.
|
|
68
|
+
"@kubohiroya/turbowarp-extension-data-editor": "^0.4.0",
|
|
69
|
+
"@kubohiroya/turbowarp-extension-manifest": "^0.4.0",
|
|
70
|
+
"@kubohiroya/turbowarp-named-data": "^0.6.0",
|
|
71
|
+
"@kubohiroya/vite-plugin-turbowarp-extension": "^0.9.0",
|
|
72
72
|
"@types/node": "^22.20.1",
|
|
73
73
|
"@xmldom/xmldom": "0.9.11",
|
|
74
74
|
"eslint": "^9.39.5",
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
"vitest": "^4.1.10"
|
|
80
80
|
},
|
|
81
81
|
"peerDependencies": {
|
|
82
|
-
"@kubohiroya/turbowarp-named-data": "^0.
|
|
82
|
+
"@kubohiroya/turbowarp-named-data": "^0.6.0"
|
|
83
83
|
},
|
|
84
84
|
"keywords": [
|
|
85
85
|
"turbowarp",
|