@atom.io/template-preact-svg-editor 0.0.76 → 0.0.77
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/.turbo/turbo-build.log +1 -1
- package/CHANGELOG.md +9 -0
- package/eslint.config.ts +1 -0
- package/package.json +5 -5
- package/src/BezierPlayground.tsx +2 -2
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
package/eslint.config.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atom.io/template-preact-svg-editor",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.77",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -14,13 +14,13 @@
|
|
|
14
14
|
"preact": "10.29.7",
|
|
15
15
|
"react": "npm:@preact/compat@18.3.2",
|
|
16
16
|
"react-dom": "npm:@preact/compat@18.3.2",
|
|
17
|
-
"atom.io": "0.
|
|
17
|
+
"atom.io": "0.50.0"
|
|
18
18
|
},
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@eslint-react/eslint-plugin": "5.14.
|
|
20
|
+
"@eslint-react/eslint-plugin": "5.14.7",
|
|
21
21
|
"@preact/preset-vite": "2.10.5",
|
|
22
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
23
|
-
"@typescript-eslint/parser": "8.
|
|
22
|
+
"@typescript-eslint/eslint-plugin": "8.64.0",
|
|
23
|
+
"@typescript-eslint/parser": "8.64.0",
|
|
24
24
|
"eslint-plugin-import-x": "4.17.1",
|
|
25
25
|
"eslint-plugin-simple-import-sort": "13.0.0",
|
|
26
26
|
"typescript": "7.0.2",
|
package/src/BezierPlayground.tsx
CHANGED
|
@@ -257,7 +257,7 @@ const preactLogoAtom = atom<Loadable<string>>({
|
|
|
257
257
|
default: () => fetch(`preact.svg`).then((res) => res.text()),
|
|
258
258
|
})
|
|
259
259
|
|
|
260
|
-
const
|
|
260
|
+
const resetTransaction = transaction<() => Promise<void>>({
|
|
261
261
|
key: `reset`,
|
|
262
262
|
do: async () => {
|
|
263
263
|
const logo = await getState(preactLogoAtom)
|
|
@@ -389,7 +389,7 @@ const resetTX = transaction<() => Promise<void>>({
|
|
|
389
389
|
}
|
|
390
390
|
},
|
|
391
391
|
})
|
|
392
|
-
const reset = runTransaction(
|
|
392
|
+
const reset = runTransaction(resetTransaction)
|
|
393
393
|
|
|
394
394
|
const WIDTH = 256
|
|
395
395
|
const HEIGHT = 296
|