jtlt 0.24.2 → 0.25.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/.github/workflows/test.yml +17 -0
- package/CHANGES.md +5 -1
- package/demo/codemirror.esm.js +1 -1
- package/demo/vendor/jsonpath-plus/dist/index-browser-esm.js +1124 -604
- package/package.json +9 -9
- package/pnpm-workspace.yaml +31 -29
|
@@ -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
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
|