remix 3.0.0-alpha.3 → 3.0.0-alpha.4

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.
Files changed (54) hide show
  1. package/dist/auth-middleware.d.ts +2 -0
  2. package/dist/auth-middleware.d.ts.map +1 -0
  3. package/{src/interaction/form.ts → dist/auth-middleware.js} +1 -1
  4. package/dist/auth.d.ts +2 -0
  5. package/dist/auth.d.ts.map +1 -0
  6. package/{src/interaction.ts → dist/auth.js} +1 -1
  7. package/dist/cop-middleware.d.ts +2 -0
  8. package/dist/cop-middleware.d.ts.map +1 -0
  9. package/{src/interaction/keys.ts → dist/cop-middleware.js} +1 -1
  10. package/dist/cors-middleware.d.ts +2 -0
  11. package/dist/cors-middleware.d.ts.map +1 -0
  12. package/dist/cors-middleware.js +2 -0
  13. package/dist/csrf-middleware.d.ts +2 -0
  14. package/dist/csrf-middleware.d.ts.map +1 -0
  15. package/dist/csrf-middleware.js +2 -0
  16. package/dist/data-schema/form-data.d.ts +2 -0
  17. package/dist/data-schema/form-data.d.ts.map +1 -0
  18. package/dist/data-schema/form-data.js +2 -0
  19. package/dist/data-table/migrations/node.d.ts +2 -0
  20. package/dist/data-table/migrations/node.d.ts.map +1 -0
  21. package/dist/data-table/migrations/node.js +2 -0
  22. package/dist/data-table/migrations.d.ts +2 -0
  23. package/dist/data-table/migrations.d.ts.map +1 -0
  24. package/dist/data-table/migrations.js +2 -0
  25. package/dist/data-table/operators.d.ts +2 -0
  26. package/dist/data-table/operators.d.ts.map +1 -0
  27. package/dist/{interaction/keys.js → data-table/operators.js} +1 -1
  28. package/dist/data-table/sql-helpers.d.ts +2 -0
  29. package/dist/data-table/sql-helpers.d.ts.map +1 -0
  30. package/dist/data-table/sql-helpers.js +2 -0
  31. package/package.json +70 -45
  32. package/src/auth-middleware.ts +2 -0
  33. package/{dist/interaction.js → src/auth.ts} +1 -1
  34. package/src/cop-middleware.ts +2 -0
  35. package/src/cors-middleware.ts +2 -0
  36. package/src/csrf-middleware.ts +2 -0
  37. package/{dist/interaction/popover.js → src/data-schema/form-data.ts} +1 -1
  38. package/src/data-table/migrations/node.ts +2 -0
  39. package/src/data-table/migrations.ts +2 -0
  40. package/{dist/interaction/form.js → src/data-table/operators.ts} +1 -1
  41. package/src/data-table/sql-helpers.ts +2 -0
  42. package/dist/interaction/form.d.ts +0 -2
  43. package/dist/interaction/form.d.ts.map +0 -1
  44. package/dist/interaction/keys.d.ts +0 -2
  45. package/dist/interaction/keys.d.ts.map +0 -1
  46. package/dist/interaction/popover.d.ts +0 -2
  47. package/dist/interaction/popover.d.ts.map +0 -1
  48. package/dist/interaction/press.d.ts +0 -2
  49. package/dist/interaction/press.d.ts.map +0 -1
  50. package/dist/interaction/press.js +0 -2
  51. package/dist/interaction.d.ts +0 -2
  52. package/dist/interaction.d.ts.map +0 -1
  53. package/src/interaction/popover.ts +0 -2
  54. package/src/interaction/press.ts +0 -2
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/auth-middleware';
2
+ //# sourceMappingURL=auth-middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth-middleware.d.ts","sourceRoot":"","sources":["../src/auth-middleware.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAA"}
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/form'
2
+ export * from '@remix-run/auth-middleware';
package/dist/auth.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/auth';
2
+ //# sourceMappingURL=auth.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"auth.d.ts","sourceRoot":"","sources":["../src/auth.ts"],"names":[],"mappings":"AACA,cAAc,iBAAiB,CAAA"}
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction'
2
+ export * from '@remix-run/auth';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/cop-middleware';
2
+ //# sourceMappingURL=cop-middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cop-middleware.d.ts","sourceRoot":"","sources":["../src/cop-middleware.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAA"}
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/keys'
2
+ export * from '@remix-run/cop-middleware';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/cors-middleware';
2
+ //# sourceMappingURL=cors-middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cors-middleware.d.ts","sourceRoot":"","sources":["../src/cors-middleware.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/cors-middleware';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/csrf-middleware';
2
+ //# sourceMappingURL=csrf-middleware.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"csrf-middleware.d.ts","sourceRoot":"","sources":["../src/csrf-middleware.ts"],"names":[],"mappings":"AACA,cAAc,4BAA4B,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/csrf-middleware';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/data-schema/form-data';
2
+ //# sourceMappingURL=form-data.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"form-data.d.ts","sourceRoot":"","sources":["../../src/data-schema/form-data.ts"],"names":[],"mappings":"AACA,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-schema/form-data';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/data-table/migrations/node';
2
+ //# sourceMappingURL=node.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"node.d.ts","sourceRoot":"","sources":["../../../src/data-table/migrations/node.ts"],"names":[],"mappings":"AACA,cAAc,uCAAuC,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/migrations/node';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/data-table/migrations';
2
+ //# sourceMappingURL=migrations.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"migrations.d.ts","sourceRoot":"","sources":["../../src/data-table/migrations.ts"],"names":[],"mappings":"AACA,cAAc,kCAAkC,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/migrations';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/data-table/operators';
2
+ //# sourceMappingURL=operators.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"operators.d.ts","sourceRoot":"","sources":["../../src/data-table/operators.ts"],"names":[],"mappings":"AACA,cAAc,iCAAiC,CAAA"}
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/keys';
2
+ export * from '@remix-run/data-table/operators';
@@ -0,0 +1,2 @@
1
+ export * from '@remix-run/data-table/sql-helpers';
2
+ //# sourceMappingURL=sql-helpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"sql-helpers.d.ts","sourceRoot":"","sources":["../../src/data-table/sql-helpers.ts"],"names":[],"mappings":"AACA,cAAc,mCAAmC,CAAA"}
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/sql-helpers';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "remix",
3
- "version": "3.0.0-alpha.3",
3
+ "version": "3.0.0-alpha.4",
4
4
  "description": "Remix Web Framework",
5
5
  "author": "Michael Jackson <mjijackson@gmail.com>",
6
6
  "license": "MIT",
@@ -22,6 +22,14 @@
22
22
  "types": "./dist/async-context-middleware.d.ts",
23
23
  "default": "./dist/async-context-middleware.js"
24
24
  },
25
+ "./auth": {
26
+ "types": "./dist/auth.d.ts",
27
+ "default": "./dist/auth.js"
28
+ },
29
+ "./auth-middleware": {
30
+ "types": "./dist/auth-middleware.d.ts",
31
+ "default": "./dist/auth-middleware.js"
32
+ },
25
33
  "./component": {
26
34
  "types": "./dist/component.d.ts",
27
35
  "default": "./dist/component.js"
@@ -46,6 +54,18 @@
46
54
  "types": "./dist/cookie.d.ts",
47
55
  "default": "./dist/cookie.js"
48
56
  },
57
+ "./cop-middleware": {
58
+ "types": "./dist/cop-middleware.d.ts",
59
+ "default": "./dist/cop-middleware.js"
60
+ },
61
+ "./cors-middleware": {
62
+ "types": "./dist/cors-middleware.d.ts",
63
+ "default": "./dist/cors-middleware.js"
64
+ },
65
+ "./csrf-middleware": {
66
+ "types": "./dist/csrf-middleware.d.ts",
67
+ "default": "./dist/csrf-middleware.js"
68
+ },
49
69
  "./data-schema": {
50
70
  "types": "./dist/data-schema.d.ts",
51
71
  "default": "./dist/data-schema.js"
@@ -58,6 +78,10 @@
58
78
  "types": "./dist/data-schema/coerce.d.ts",
59
79
  "default": "./dist/data-schema/coerce.js"
60
80
  },
81
+ "./data-schema/form-data": {
82
+ "types": "./dist/data-schema/form-data.d.ts",
83
+ "default": "./dist/data-schema/form-data.js"
84
+ },
61
85
  "./data-schema/lazy": {
62
86
  "types": "./dist/data-schema/lazy.d.ts",
63
87
  "default": "./dist/data-schema/lazy.js"
@@ -78,6 +102,22 @@
78
102
  "types": "./dist/data-table-sqlite.d.ts",
79
103
  "default": "./dist/data-table-sqlite.js"
80
104
  },
105
+ "./data-table/migrations": {
106
+ "types": "./dist/data-table/migrations.d.ts",
107
+ "default": "./dist/data-table/migrations.js"
108
+ },
109
+ "./data-table/migrations/node": {
110
+ "types": "./dist/data-table/migrations/node.d.ts",
111
+ "default": "./dist/data-table/migrations/node.js"
112
+ },
113
+ "./data-table/operators": {
114
+ "types": "./dist/data-table/operators.d.ts",
115
+ "default": "./dist/data-table/operators.js"
116
+ },
117
+ "./data-table/sql-helpers": {
118
+ "types": "./dist/data-table/sql-helpers.d.ts",
119
+ "default": "./dist/data-table/sql-helpers.js"
120
+ },
81
121
  "./fetch-proxy": {
82
122
  "types": "./dist/fetch-proxy.d.ts",
83
123
  "default": "./dist/fetch-proxy.js"
@@ -126,26 +166,6 @@
126
166
  "types": "./dist/html-template.d.ts",
127
167
  "default": "./dist/html-template.js"
128
168
  },
129
- "./interaction": {
130
- "types": "./dist/interaction.d.ts",
131
- "default": "./dist/interaction.js"
132
- },
133
- "./interaction/form": {
134
- "types": "./dist/interaction/form.d.ts",
135
- "default": "./dist/interaction/form.js"
136
- },
137
- "./interaction/keys": {
138
- "types": "./dist/interaction/keys.d.ts",
139
- "default": "./dist/interaction/keys.js"
140
- },
141
- "./interaction/popover": {
142
- "types": "./dist/interaction/popover.d.ts",
143
- "default": "./dist/interaction/popover.js"
144
- },
145
- "./interaction/press": {
146
- "types": "./dist/interaction/press.d.ts",
147
- "default": "./dist/interaction/press.js"
148
- },
149
169
  "./lazy-file": {
150
170
  "types": "./dist/lazy-file.d.ts",
151
171
  "default": "./dist/lazy-file.js"
@@ -237,48 +257,53 @@
237
257
  "./package.json": "./package.json"
238
258
  },
239
259
  "devDependencies": {
260
+ "@types/dom-navigation": "^1.0.7",
240
261
  "@types/node": "^24.6.0",
241
262
  "typescript": "^5.9.3"
242
263
  },
243
264
  "dependencies": {
244
- "@remix-run/async-context-middleware": "^0.1.3",
245
- "@remix-run/component": "^0.5.0",
246
- "@remix-run/compression-middleware": "^0.1.3",
247
- "@remix-run/fetch-proxy": "^0.7.1",
265
+ "@remix-run/async-context-middleware": "^0.2.0",
266
+ "@remix-run/auth-middleware": "^0.1.0",
267
+ "@remix-run/auth": "^0.1.0",
268
+ "@remix-run/compression-middleware": "^0.1.4",
269
+ "@remix-run/cop-middleware": "^0.1.0",
270
+ "@remix-run/component": "^0.6.0",
271
+ "@remix-run/cors-middleware": "^0.1.0",
272
+ "@remix-run/csrf-middleware": "^0.1.0",
273
+ "@remix-run/data-schema": "^0.2.0",
248
274
  "@remix-run/cookie": "^0.5.1",
249
- "@remix-run/form-data-middleware": "^0.1.4",
250
- "@remix-run/form-data-parser": "^0.15.0",
275
+ "@remix-run/data-table": "^0.2.0",
276
+ "@remix-run/data-table-postgres": "^0.2.0",
277
+ "@remix-run/data-table-sqlite": "^0.2.0",
278
+ "@remix-run/data-table-mysql": "^0.2.0",
279
+ "@remix-run/fetch-proxy": "^0.7.1",
251
280
  "@remix-run/file-storage": "^0.13.3",
252
- "@remix-run/fetch-router": "^0.17.0",
281
+ "@remix-run/fetch-router": "^0.18.0",
282
+ "@remix-run/file-storage-s3": "^0.1.0",
283
+ "@remix-run/form-data-middleware": "^0.2.0",
284
+ "@remix-run/form-data-parser": "^0.16.0",
253
285
  "@remix-run/fs": "^0.4.2",
254
286
  "@remix-run/headers": "^0.19.0",
255
287
  "@remix-run/html-template": "^0.3.0",
256
- "@remix-run/logger-middleware": "^0.1.3",
257
288
  "@remix-run/lazy-file": "^5.0.2",
258
- "@remix-run/interaction": "^0.5.0",
289
+ "@remix-run/logger-middleware": "^0.1.4",
290
+ "@remix-run/method-override-middleware": "^0.1.5",
259
291
  "@remix-run/mime": "^0.4.0",
260
- "@remix-run/multipart-parser": "^0.14.2",
292
+ "@remix-run/multipart-parser": "^0.15.0",
261
293
  "@remix-run/node-fetch-server": "^0.13.0",
262
- "@remix-run/method-override-middleware": "^0.1.4",
263
- "@remix-run/route-pattern": "^0.19.0",
264
- "@remix-run/session": "^0.4.1",
265
- "@remix-run/session-middleware": "^0.1.4",
266
- "@remix-run/response": "^0.3.2",
267
- "@remix-run/data-schema": "^0.1.0",
268
- "@remix-run/static-middleware": "^0.4.4",
269
- "@remix-run/data-table": "^0.1.0",
270
- "@remix-run/data-table-postgres": "^0.1.0",
271
- "@remix-run/data-table-mysql": "^0.1.0",
272
- "@remix-run/data-table-sqlite": "^0.1.0",
273
- "@remix-run/tar-parser": "^0.7.0",
294
+ "@remix-run/route-pattern": "^0.20.0",
295
+ "@remix-run/session-middleware": "^0.2.0",
274
296
  "@remix-run/session-storage-memcache": "^0.1.0",
275
297
  "@remix-run/session-storage-redis": "^0.1.0",
276
- "@remix-run/file-storage-s3": "^0.1.0"
298
+ "@remix-run/response": "^0.3.2",
299
+ "@remix-run/static-middleware": "^0.4.5",
300
+ "@remix-run/tar-parser": "^0.7.0",
301
+ "@remix-run/session": "^0.4.1"
277
302
  },
278
303
  "scripts": {
279
304
  "build": "tsc -p tsconfig.build.json",
280
305
  "clean": "git clean -fdX",
281
- "test": "node --disable-warning=ExperimentalWarning --test './src/**/*.test.ts'",
306
+ "test": "node --test './src/**/*.test.ts'",
282
307
  "typecheck": "tsc --noEmit"
283
308
  }
284
309
  }
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/auth-middleware'
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction';
2
+ export * from '@remix-run/auth'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/cop-middleware'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/cors-middleware'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/csrf-middleware'
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/popover';
2
+ export * from '@remix-run/data-schema/form-data'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/migrations/node'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/migrations'
@@ -1,2 +1,2 @@
1
1
  // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/form';
2
+ export * from '@remix-run/data-table/operators'
@@ -0,0 +1,2 @@
1
+ // IMPORTANT: This file is auto-generated, please do not edit manually.
2
+ export * from '@remix-run/data-table/sql-helpers'
@@ -1,2 +0,0 @@
1
- export * from '@remix-run/interaction/form';
2
- //# sourceMappingURL=form.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"form.d.ts","sourceRoot":"","sources":["../../src/interaction/form.ts"],"names":[],"mappings":"AACA,cAAc,6BAA6B,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from '@remix-run/interaction/keys';
2
- //# sourceMappingURL=keys.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/interaction/keys.ts"],"names":[],"mappings":"AACA,cAAc,6BAA6B,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from '@remix-run/interaction/popover';
2
- //# sourceMappingURL=popover.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"popover.d.ts","sourceRoot":"","sources":["../../src/interaction/popover.ts"],"names":[],"mappings":"AACA,cAAc,gCAAgC,CAAA"}
@@ -1,2 +0,0 @@
1
- export * from '@remix-run/interaction/press';
2
- //# sourceMappingURL=press.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"press.d.ts","sourceRoot":"","sources":["../../src/interaction/press.ts"],"names":[],"mappings":"AACA,cAAc,8BAA8B,CAAA"}
@@ -1,2 +0,0 @@
1
- // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/press';
@@ -1,2 +0,0 @@
1
- export * from '@remix-run/interaction';
2
- //# sourceMappingURL=interaction.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"interaction.d.ts","sourceRoot":"","sources":["../src/interaction.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAA"}
@@ -1,2 +0,0 @@
1
- // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/popover'
@@ -1,2 +0,0 @@
1
- // IMPORTANT: This file is auto-generated, please do not edit manually.
2
- export * from '@remix-run/interaction/press'