alinea 1.5.1 → 1.5.3

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.
@@ -1,5 +1,5 @@
1
1
  {
2
- "_id": "32jmmrahEGbj2XLJgk85LnTNyEt",
2
+ "_id": "343CEKrqErQ4vi29XpCZFNLmjM6",
3
3
  "_type": "Page",
4
4
  "_index": "a0",
5
5
  "_seeded": "welcome.json",
package/dist/LICENSES.md CHANGED
@@ -28,6 +28,29 @@ SOFTWARE.
28
28
 
29
29
  ===
30
30
 
31
+ # htmlparser2@9.1.0 (MIT)
32
+
33
+ Copyright 2010, 2011, Chris Winberry <chris@winberry.net>. All rights reserved.
34
+ Permission is hereby granted, free of charge, to any person obtaining a copy
35
+ of this software and associated documentation files (the "Software"), to
36
+ deal in the Software without restriction, including without limitation the
37
+ rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
38
+ sell copies of the Software, and to permit persons to whom the Software is
39
+ furnished to do so, subject to the following conditions:
40
+
41
+ The above copyright notice and this permission notice shall be included in
42
+ all copies or substantial portions of the Software.
43
+
44
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
45
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
46
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
47
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
48
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
49
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
50
+ IN THE SOFTWARE.
51
+
52
+ ===
53
+
31
54
  # react-query@3.39.3 (MIT)
32
55
 
33
56
  MIT License
@@ -82,26 +105,29 @@ SOFTWARE.
82
105
 
83
106
  ===
84
107
 
85
- # htmlparser2@9.1.0 (MIT)
108
+ # @headlessui/react@2.2.0 (MIT)
109
+
110
+ MIT License
111
+
112
+ Copyright (c) 2020 Tailwind Labs
86
113
 
87
- Copyright 2010, 2011, Chris Winberry <chris@winberry.net>. All rights reserved.
88
114
  Permission is hereby granted, free of charge, to any person obtaining a copy
89
- of this software and associated documentation files (the "Software"), to
90
- deal in the Software without restriction, including without limitation the
91
- rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
92
- sell copies of the Software, and to permit persons to whom the Software is
115
+ of this software and associated documentation files (the "Software"), to deal
116
+ in the Software without restriction, including without limitation the rights
117
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
118
+ copies of the Software, and to permit persons to whom the Software is
93
119
  furnished to do so, subject to the following conditions:
94
-
95
- The above copyright notice and this permission notice shall be included in
96
- all copies or substantial portions of the Software.
97
-
120
+
121
+ The above copyright notice and this permission notice shall be included in all
122
+ copies or substantial portions of the Software.
123
+
98
124
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
99
125
  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
100
126
  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
101
127
  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
102
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
103
- FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
104
- IN THE SOFTWARE.
128
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
129
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
130
+ SOFTWARE.
105
131
 
106
132
  ===
107
133
 
@@ -120,32 +146,6 @@ THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRE
120
146
  EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
121
147
 
122
148
 
123
- ===
124
-
125
- # @headlessui/react@2.2.0 (MIT)
126
-
127
- MIT License
128
-
129
- Copyright (c) 2020 Tailwind Labs
130
-
131
- Permission is hereby granted, free of charge, to any person obtaining a copy
132
- of this software and associated documentation files (the "Software"), to deal
133
- in the Software without restriction, including without limitation the rights
134
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
135
- copies of the Software, and to permit persons to whom the Software is
136
- furnished to do so, subject to the following conditions:
137
-
138
- The above copyright notice and this permission notice shall be included in all
139
- copies or substantial portions of the Software.
140
-
141
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
142
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
143
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
144
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
145
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
146
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
147
- SOFTWARE.
148
-
149
149
  ===
150
150
 
151
151
  # domhandler@5.0.3 (BSD-2-Clause)
@@ -207,6 +207,49 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
207
207
  SOFTWARE.
208
208
 
209
209
 
210
+ ===
211
+
212
+ # @popperjs/core@2.11.8 (MIT)
213
+
214
+ The MIT License (MIT)
215
+
216
+ Copyright (c) 2019 Federico Zivolo
217
+
218
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
219
+ this software and associated documentation files (the "Software"), to deal in
220
+ the Software without restriction, including without limitation the rights to
221
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
222
+ the Software, and to permit persons to whom the Software is furnished to do so,
223
+ subject to the following conditions:
224
+
225
+ The above copyright notice and this permission notice shall be included in all
226
+ copies or substantial portions of the Software.
227
+
228
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
229
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
230
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
231
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
232
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
233
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
234
+
235
+
236
+ ===
237
+
238
+ # dom-serializer@2.0.0 (MIT)
239
+
240
+ License
241
+
242
+ (The MIT License)
243
+
244
+ Copyright (c) 2014 The cheeriojs contributors
245
+
246
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
247
+
248
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
249
+
250
+ THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
251
+
252
+
210
253
  ===
211
254
 
212
255
  # prop-types@15.8.1 (MIT)
@@ -441,32 +484,6 @@ SOFTWARE.
441
484
  limitations under the License.
442
485
 
443
486
 
444
- ===
445
-
446
- # @popperjs/core@2.11.8 (MIT)
447
-
448
- The MIT License (MIT)
449
-
450
- Copyright (c) 2019 Federico Zivolo
451
-
452
- Permission is hereby granted, free of charge, to any person obtaining a copy of
453
- this software and associated documentation files (the "Software"), to deal in
454
- the Software without restriction, including without limitation the rights to
455
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
456
- the Software, and to permit persons to whom the Software is furnished to do so,
457
- subject to the following conditions:
458
-
459
- The above copyright notice and this permission notice shall be included in all
460
- copies or substantial portions of the Software.
461
-
462
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
463
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
464
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
465
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
466
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
467
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
468
-
469
-
470
487
  ===
471
488
 
472
489
  # react-is@16.13.1 (MIT)
@@ -496,32 +513,42 @@ SOFTWARE.
496
513
 
497
514
  ===
498
515
 
499
- # dom-serializer@2.0.0 (MIT)
500
-
501
- License
516
+ # @headless-tree/core@0.0.15 (MIT)
502
517
 
503
- (The MIT License)
518
+ MIT
504
519
 
505
- Copyright (c) 2014 The cheeriojs contributors
520
+ ===
506
521
 
507
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
522
+ # @headless-tree/react@0.0.15 (MIT)
508
523
 
509
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
524
+ MIT
510
525
 
511
- THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
526
+ ===
512
527
 
528
+ # y-prosemirror@1.2.15 (MIT)
513
529
 
514
- ===
530
+ The MIT License (MIT)
515
531
 
516
- # @headless-tree/core@0.0.15 (MIT)
532
+ Copyright (c) 2019 Kevin Jahns <kevin.jahns@protonmail.com>.
517
533
 
518
- MIT
534
+ Permission is hereby granted, free of charge, to any person obtaining a copy
535
+ of this software and associated documentation files (the "Software"), to deal
536
+ in the Software without restriction, including without limitation the rights
537
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
538
+ copies of the Software, and to permit persons to whom the Software is
539
+ furnished to do so, subject to the following conditions:
519
540
 
520
- ===
541
+ The above copyright notice and this permission notice shall be included in all
542
+ copies or substantial portions of the Software.
521
543
 
522
- # @headless-tree/react@0.0.15 (MIT)
544
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
545
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
546
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
547
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
548
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
549
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
550
+ SOFTWARE.
523
551
 
524
- MIT
525
552
 
526
553
  ===
527
554
 
@@ -551,33 +578,6 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
551
578
  WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
552
579
 
553
580
 
554
- ===
555
-
556
- # y-prosemirror@1.2.15 (MIT)
557
-
558
- The MIT License (MIT)
559
-
560
- Copyright (c) 2019 Kevin Jahns <kevin.jahns@protonmail.com>.
561
-
562
- Permission is hereby granted, free of charge, to any person obtaining a copy
563
- of this software and associated documentation files (the "Software"), to deal
564
- in the Software without restriction, including without limitation the rights
565
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
566
- copies of the Software, and to permit persons to whom the Software is
567
- furnished to do so, subject to the following conditions:
568
-
569
- The above copyright notice and this permission notice shall be included in all
570
- copies or substantial portions of the Software.
571
-
572
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
573
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
574
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
575
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
576
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
577
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
578
- SOFTWARE.
579
-
580
-
581
581
  ===
582
582
 
583
583
  # @react-aria/focus@3.19.1 (Apache-2.0)
@@ -525,8 +525,7 @@ var OAuth2 = class {
525
525
  value: codeVerifier,
526
526
  path: redirectUri.pathname,
527
527
  secure: redirectUri.protocol === "https:",
528
- httpOnly: true,
529
- sameSite: "strict"
528
+ httpOnly: true
530
529
  })
531
530
  }
532
531
  }
@@ -651,7 +650,7 @@ function clearCookies(redirectUri) {
651
650
  name: COOKIE_ACCESS_TOKEN,
652
651
  value: "",
653
652
  expires: /* @__PURE__ */ new Date(0),
654
- path: redirectUri.pathname,
653
+ path: "/",
655
654
  secure: redirectUri.protocol === "https:",
656
655
  httpOnly: true,
657
656
  sameSite: "strict"
@@ -674,7 +673,7 @@ function tokenToCookie(token, redirectUri) {
674
673
  name: COOKIE_ACCESS_TOKEN,
675
674
  value: token.accessToken,
676
675
  expires: token.expiresAt ? new Date(token.expiresAt) : void 0,
677
- path: redirectUri.pathname,
676
+ path: "/",
678
677
  secure: redirectUri.protocol === "https:",
679
678
  httpOnly: true,
680
679
  sameSite: "strict"
@@ -57,7 +57,7 @@ var package_default = {
57
57
  },
58
58
  devDependencies: {
59
59
  "@alinea/styler": "^1.0.3",
60
- "@alinea/suite": "^0.6.2",
60
+ "@alinea/suite": "^0.6.3",
61
61
  "@biomejs/biome": "^2.1.2",
62
62
  "@esbx/reporter": "^0.0.20",
63
63
  "@esbx/workspaces": "^0.0.20",
@@ -2,7 +2,7 @@
2
2
  var package_default = {
3
3
  bin: "./dist/cli.js",
4
4
  name: "alinea",
5
- version: "1.5.1",
5
+ version: "1.5.3",
6
6
  description: "Headless git-based CMS",
7
7
  repository: {
8
8
  type: "git",
package/dist/cli/Serve.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-Z3QMPIDC.js";
3
+ } from "../chunks/chunk-MJSO2MPH.js";
4
4
  import "../chunks/chunk-NZLE2WMY.js";
5
5
 
6
6
  // src/cli/Serve.ts
package/dist/cli/bin.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-Z3QMPIDC.js";
3
+ } from "../chunks/chunk-MJSO2MPH.js";
4
4
  import "../chunks/chunk-NZLE2WMY.js";
5
5
 
6
6
  // node_modules/mri/lib/index.mjs
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  package_default
3
- } from "../chunks/chunk-Z3QMPIDC.js";
3
+ } from "../chunks/chunk-MJSO2MPH.js";
4
4
  import "../chunks/chunk-NZLE2WMY.js";
5
5
 
6
6
  // src/cloud/CloudRemote.ts
@@ -104,7 +104,7 @@ var EntryResolver = class {
104
104
  case "next": {
105
105
  const [next] = this.index.filter({
106
106
  condition({ workspace, root, parentId, index, locale }) {
107
- return workspace === entry.workspace && root === entry.root && parentId === entry.parentId && index < entry.index && locale === entry.locale;
107
+ return workspace === entry.workspace && root === entry.root && parentId === entry.parentId && index > entry.index && locale === entry.locale;
108
108
  }
109
109
  }).sort((a, b) => compareStrings(a.index, b.index));
110
110
  return { ids: next ? [next.id] : [] };
@@ -112,7 +112,7 @@ var EntryResolver = class {
112
112
  case "previous": {
113
113
  const [previous] = this.index.filter({
114
114
  condition({ workspace, root, parentId, index, locale }) {
115
- return workspace === entry.workspace && root === entry.root && parentId === entry.parentId && index > entry.index && locale === entry.locale;
115
+ return workspace === entry.workspace && root === entry.root && parentId === entry.parentId && index < entry.index && locale === entry.locale;
116
116
  }
117
117
  }).sort((a, b) => compareStrings(b.index, a.index));
118
118
  return { ids: previous ? [previous.id] : [] };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "bin": "./dist/cli.js",
3
3
  "name": "alinea",
4
- "version": "1.5.1",
4
+ "version": "1.5.3",
5
5
  "description": "Headless git-based CMS",
6
6
  "repository": {
7
7
  "type": "git",