@sonicjs-cms/core 2.0.1 → 2.0.2

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 (55) hide show
  1. package/dist/{chunk-SRCY43RN.cjs → chunk-3NVJ6W27.cjs} +2 -2
  2. package/dist/chunk-3NVJ6W27.cjs.map +1 -0
  3. package/dist/chunk-4BJGEGX5.cjs +236 -0
  4. package/dist/chunk-4BJGEGX5.cjs.map +1 -0
  5. package/dist/{chunk-5FDDDD4J.cjs → chunk-7G6XT62S.cjs} +321 -311
  6. package/dist/chunk-7G6XT62S.cjs.map +1 -0
  7. package/dist/chunk-ALOS2CBJ.cjs.map +1 -1
  8. package/dist/chunk-CDBVZEWR.js.map +1 -1
  9. package/dist/{chunk-BITQ4MFX.js → chunk-EAELJXRV.js} +93 -115
  10. package/dist/chunk-EAELJXRV.js.map +1 -0
  11. package/dist/chunk-FICTAGD4.js +59 -0
  12. package/dist/chunk-FICTAGD4.js.map +1 -0
  13. package/dist/{chunk-FVMV5DKA.cjs → chunk-HJZOA2O5.cjs} +93 -115
  14. package/dist/chunk-HJZOA2O5.cjs.map +1 -0
  15. package/dist/chunk-LEG4KNFP.cjs.map +1 -1
  16. package/dist/{chunk-5XTB4FE5.js → chunk-LH4Z7QID.js} +2 -2
  17. package/dist/chunk-LH4Z7QID.js.map +1 -0
  18. package/dist/chunk-M6FPVS7E.js +214 -0
  19. package/dist/chunk-M6FPVS7E.js.map +1 -0
  20. package/dist/chunk-O46XKBFM.js.map +1 -1
  21. package/dist/chunk-RCQ2HIQD.cjs +61 -0
  22. package/dist/chunk-RCQ2HIQD.cjs.map +1 -0
  23. package/dist/{chunk-QSF34IYQ.js → chunk-SGGHTIWV.js} +218 -208
  24. package/dist/chunk-SGGHTIWV.js.map +1 -0
  25. package/dist/{chunk-NK6FN5R5.cjs → chunk-UL32L2KV.cjs} +3 -60
  26. package/dist/chunk-UL32L2KV.cjs.map +1 -0
  27. package/dist/{chunk-OL2OE3VJ.js → chunk-XJETEIRU.js} +4 -60
  28. package/dist/chunk-XJETEIRU.js.map +1 -0
  29. package/dist/index.cjs +134 -119
  30. package/dist/index.cjs.map +1 -1
  31. package/dist/index.js +16 -12
  32. package/dist/index.js.map +1 -1
  33. package/dist/middleware.cjs +26 -21
  34. package/dist/middleware.js +2 -1
  35. package/dist/plugins.cjs +7 -7
  36. package/dist/plugins.js +1 -1
  37. package/dist/routes.cjs +25 -24
  38. package/dist/routes.js +5 -4
  39. package/dist/services.cjs +7 -7
  40. package/dist/services.js +1 -1
  41. package/dist/utils.cjs +16 -15
  42. package/dist/utils.js +2 -1
  43. package/package.json +1 -1
  44. package/dist/chunk-5FDDDD4J.cjs.map +0 -1
  45. package/dist/chunk-5XTB4FE5.js.map +0 -1
  46. package/dist/chunk-BITQ4MFX.js.map +0 -1
  47. package/dist/chunk-FVMV5DKA.cjs.map +0 -1
  48. package/dist/chunk-KM4AJFXI.cjs +0 -101
  49. package/dist/chunk-KM4AJFXI.cjs.map +0 -1
  50. package/dist/chunk-NK6FN5R5.cjs.map +0 -1
  51. package/dist/chunk-OL2OE3VJ.js.map +0 -1
  52. package/dist/chunk-QSF34IYQ.js.map +0 -1
  53. package/dist/chunk-SRCY43RN.cjs.map +0 -1
  54. package/dist/chunk-TY3NHEBN.js +0 -80
  55. package/dist/chunk-TY3NHEBN.js.map +0 -1
package/dist/services.cjs CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var chunkSRCY43RN_cjs = require('./chunk-SRCY43RN.cjs');
3
+ var chunk3NVJ6W27_cjs = require('./chunk-3NVJ6W27.cjs');
4
4
  var chunkLEG4KNFP_cjs = require('./chunk-LEG4KNFP.cjs');
5
5
  require('./chunk-IGJUBJBW.cjs');
6
6
 
@@ -8,27 +8,27 @@ require('./chunk-IGJUBJBW.cjs');
8
8
 
9
9
  Object.defineProperty(exports, "CACHE_CONFIGS", {
10
10
  enumerable: true,
11
- get: function () { return chunkSRCY43RN_cjs.CACHE_CONFIGS; }
11
+ get: function () { return chunk3NVJ6W27_cjs.CACHE_CONFIGS; }
12
12
  });
13
13
  Object.defineProperty(exports, "CacheService", {
14
14
  enumerable: true,
15
- get: function () { return chunkSRCY43RN_cjs.CacheService; }
15
+ get: function () { return chunk3NVJ6W27_cjs.CacheService; }
16
16
  });
17
17
  Object.defineProperty(exports, "Logger", {
18
18
  enumerable: true,
19
- get: function () { return chunkSRCY43RN_cjs.Logger; }
19
+ get: function () { return chunk3NVJ6W27_cjs.Logger; }
20
20
  });
21
21
  Object.defineProperty(exports, "getCacheService", {
22
22
  enumerable: true,
23
- get: function () { return chunkSRCY43RN_cjs.getCacheService; }
23
+ get: function () { return chunk3NVJ6W27_cjs.getCacheService; }
24
24
  });
25
25
  Object.defineProperty(exports, "getLogger", {
26
26
  enumerable: true,
27
- get: function () { return chunkSRCY43RN_cjs.getLogger; }
27
+ get: function () { return chunk3NVJ6W27_cjs.getLogger; }
28
28
  });
29
29
  Object.defineProperty(exports, "initLogger", {
30
30
  enumerable: true,
31
- get: function () { return chunkSRCY43RN_cjs.initLogger; }
31
+ get: function () { return chunk3NVJ6W27_cjs.initLogger; }
32
32
  });
33
33
  Object.defineProperty(exports, "MigrationService", {
34
34
  enumerable: true,
package/dist/services.js CHANGED
@@ -1,4 +1,4 @@
1
- export { CACHE_CONFIGS, CacheService, Logger, getCacheService, getLogger, initLogger } from './chunk-5XTB4FE5.js';
1
+ export { CACHE_CONFIGS, CacheService, Logger, getCacheService, getLogger, initLogger } from './chunk-LH4Z7QID.js';
2
2
  export { MigrationService, PluginBootstrapService, PluginService, cleanupRemovedCollections, fullCollectionSync, getAvailableCollectionNames, getManagedCollections, isCollectionManaged, loadCollectionConfig, loadCollectionConfigs, syncCollection, syncCollections, validateCollectionConfig } from './chunk-CDBVZEWR.js';
3
3
  import './chunk-V4OQ3NZ2.js';
4
4
  //# sourceMappingURL=services.js.map
package/dist/utils.cjs CHANGED
@@ -1,53 +1,54 @@
1
1
  'use strict';
2
2
 
3
- var chunkNK6FN5R5_cjs = require('./chunk-NK6FN5R5.cjs');
3
+ var chunkUL32L2KV_cjs = require('./chunk-UL32L2KV.cjs');
4
+ var chunkRCQ2HIQD_cjs = require('./chunk-RCQ2HIQD.cjs');
4
5
  require('./chunk-IGJUBJBW.cjs');
5
6
 
6
7
 
7
8
 
8
9
  Object.defineProperty(exports, "QueryFilterBuilder", {
9
10
  enumerable: true,
10
- get: function () { return chunkNK6FN5R5_cjs.QueryFilterBuilder; }
11
+ get: function () { return chunkUL32L2KV_cjs.QueryFilterBuilder; }
11
12
  });
12
13
  Object.defineProperty(exports, "SONICJS_VERSION", {
13
14
  enumerable: true,
14
- get: function () { return chunkNK6FN5R5_cjs.SONICJS_VERSION; }
15
+ get: function () { return chunkUL32L2KV_cjs.SONICJS_VERSION; }
15
16
  });
16
17
  Object.defineProperty(exports, "TemplateRenderer", {
17
18
  enumerable: true,
18
- get: function () { return chunkNK6FN5R5_cjs.TemplateRenderer; }
19
+ get: function () { return chunkUL32L2KV_cjs.TemplateRenderer; }
19
20
  });
20
21
  Object.defineProperty(exports, "buildQuery", {
21
22
  enumerable: true,
22
- get: function () { return chunkNK6FN5R5_cjs.buildQuery; }
23
+ get: function () { return chunkUL32L2KV_cjs.buildQuery; }
23
24
  });
24
25
  Object.defineProperty(exports, "escapeHtml", {
25
26
  enumerable: true,
26
- get: function () { return chunkNK6FN5R5_cjs.escapeHtml; }
27
+ get: function () { return chunkUL32L2KV_cjs.escapeHtml; }
27
28
  });
28
29
  Object.defineProperty(exports, "getCoreVersion", {
29
30
  enumerable: true,
30
- get: function () { return chunkNK6FN5R5_cjs.getCoreVersion; }
31
- });
32
- Object.defineProperty(exports, "metricsTracker", {
33
- enumerable: true,
34
- get: function () { return chunkNK6FN5R5_cjs.metricsTracker; }
31
+ get: function () { return chunkUL32L2KV_cjs.getCoreVersion; }
35
32
  });
36
33
  Object.defineProperty(exports, "renderTemplate", {
37
34
  enumerable: true,
38
- get: function () { return chunkNK6FN5R5_cjs.renderTemplate; }
35
+ get: function () { return chunkUL32L2KV_cjs.renderTemplate; }
39
36
  });
40
37
  Object.defineProperty(exports, "sanitizeInput", {
41
38
  enumerable: true,
42
- get: function () { return chunkNK6FN5R5_cjs.sanitizeInput; }
39
+ get: function () { return chunkUL32L2KV_cjs.sanitizeInput; }
43
40
  });
44
41
  Object.defineProperty(exports, "sanitizeObject", {
45
42
  enumerable: true,
46
- get: function () { return chunkNK6FN5R5_cjs.sanitizeObject; }
43
+ get: function () { return chunkUL32L2KV_cjs.sanitizeObject; }
47
44
  });
48
45
  Object.defineProperty(exports, "templateRenderer", {
49
46
  enumerable: true,
50
- get: function () { return chunkNK6FN5R5_cjs.templateRenderer; }
47
+ get: function () { return chunkUL32L2KV_cjs.templateRenderer; }
48
+ });
49
+ Object.defineProperty(exports, "metricsTracker", {
50
+ enumerable: true,
51
+ get: function () { return chunkRCQ2HIQD_cjs.metricsTracker; }
51
52
  });
52
53
  //# sourceMappingURL=utils.cjs.map
53
54
  //# sourceMappingURL=utils.cjs.map
package/dist/utils.js CHANGED
@@ -1,4 +1,5 @@
1
- export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, getCoreVersion, metricsTracker, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-OL2OE3VJ.js';
1
+ export { QueryFilterBuilder, SONICJS_VERSION, TemplateRenderer, buildQuery, escapeHtml, getCoreVersion, renderTemplate, sanitizeInput, sanitizeObject, templateRenderer } from './chunk-XJETEIRU.js';
2
+ export { metricsTracker } from './chunk-FICTAGD4.js';
2
3
  import './chunk-V4OQ3NZ2.js';
3
4
  //# sourceMappingURL=utils.js.map
4
5
  //# sourceMappingURL=utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sonicjs-cms/core",
3
- "version": "2.0.1",
3
+ "version": "2.0.2",
4
4
  "description": "Core framework for SonicJS headless CMS - Edge-first, TypeScript-native CMS built for Cloudflare Workers",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",