jtlt 0.24.2 → 0.25.1
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/.github/workflows/test.yml +17 -0
- package/CHANGES.md +10 -1
- package/demo/codemirror.esm.js +1 -1
- package/demo/vendor/jsonpath-plus/dist/index-browser-esm.js +1165 -597
- package/dist/JSONPathTransformerContext.d.ts +5 -5
- package/dist/JSONPathTransformerContext.d.ts.map +1 -1
- package/dist/XPathTransformerContext.d.ts +3 -3
- package/dist/XPathTransformerContext.d.ts.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/indexedDB.d.ts +3 -3
- package/dist/indexedDB.d.ts.map +1 -1
- package/docs/API.expanded.md +1 -1
- package/package.json +15 -15
- package/pnpm-workspace.yaml +32 -29
- package/src/JSONPathTransformerContext.js +39 -25
- package/src/XPathTransformerContext.js +1 -1
- package/src/index.js +1 -1
- package/src/indexedDB.js +8 -5
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
name: Test
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
pull_request:
|
|
5
|
+
|
|
6
|
+
jobs:
|
|
7
|
+
test:
|
|
8
|
+
runs-on: ubuntu-latest
|
|
9
|
+
steps:
|
|
10
|
+
- uses: actions/checkout@v4
|
|
11
|
+
- uses: pnpm/action-setup@v4
|
|
12
|
+
- uses: actions/setup-node@v4
|
|
13
|
+
with:
|
|
14
|
+
node-version: 22
|
|
15
|
+
cache: pnpm
|
|
16
|
+
- run: pnpm install --frozen-lockfile
|
|
17
|
+
- run: npm test
|
package/CHANGES.md
CHANGED
|
@@ -1,4 +1,13 @@
|
|
|
1
|
-
# jtlt
|
|
1
|
+
# CHANGES for jtlt
|
|
2
|
+
|
|
3
|
+
## 0.25.1
|
|
4
|
+
|
|
5
|
+
- fix: JSONPath (preventEval -> eval: false; returnType->resultType; add customTypes; avoid any type)
|
|
6
|
+
- chore: update idb, jsdom, jsonpath-plus, simple-get-json, devDeps.
|
|
7
|
+
|
|
8
|
+
## 0.25.0
|
|
9
|
+
|
|
10
|
+
- chore: update jsdom, jsonpath-plus, devDeps.
|
|
2
11
|
|
|
3
12
|
## 0.24.2
|
|
4
13
|
|
package/demo/codemirror.esm.js
CHANGED
|
@@ -7441,7 +7441,7 @@ class EditorState {
|
|
|
7441
7441
|
if (typeof text == "string")
|
|
7442
7442
|
text = this.toText(text);
|
|
7443
7443
|
return this.changeByRange(range => ({ changes: { from: range.from, to: range.to, insert: text },
|
|
7444
|
-
range: EditorSelection.cursor(range.from + text.length) }));
|
|
7444
|
+
range: EditorSelection.cursor(range.from + text.length, -1) }));
|
|
7445
7445
|
}
|
|
7446
7446
|
/**
|
|
7447
7447
|
Create a set of changes and a new selection by running the given
|