@contentful/optimization-node 0.1.0-alpha8 → 1.0.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.
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __webpack_modules__ = {
3
+ "@contentful/optimization-core/logger" (module) {
4
+ module.exports = require("@contentful/optimization-core/logger");
5
+ }
6
+ };
7
+ var __webpack_module_cache__ = {};
8
+ function __webpack_require__(moduleId) {
9
+ var cachedModule = __webpack_module_cache__[moduleId];
10
+ if (void 0 !== cachedModule) return cachedModule.exports;
11
+ var module = __webpack_module_cache__[moduleId] = {
12
+ exports: {}
13
+ };
14
+ __webpack_modules__[moduleId](module, module.exports, __webpack_require__);
15
+ return module.exports;
16
+ }
17
+ (()=>{
18
+ __webpack_require__.n = (module)=>{
19
+ var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
20
+ __webpack_require__.d(getter, {
21
+ a: getter
22
+ });
23
+ return getter;
24
+ };
25
+ })();
26
+ (()=>{
27
+ __webpack_require__.d = (exports1, definition)=>{
28
+ for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
29
+ enumerable: true,
30
+ get: definition[key]
31
+ });
32
+ };
33
+ })();
34
+ (()=>{
35
+ __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
36
+ })();
37
+ (()=>{
38
+ __webpack_require__.r = (exports1)=>{
39
+ if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
40
+ value: 'Module'
41
+ });
42
+ Object.defineProperty(exports1, '__esModule', {
43
+ value: true
44
+ });
45
+ };
46
+ })();
47
+ var __webpack_exports__ = {};
48
+ (()=>{
49
+ __webpack_require__.r(__webpack_exports__);
50
+ __webpack_require__.d(__webpack_exports__, {
51
+ default: ()=>_contentful_optimization_core_logger__rspack_import_0_default.a
52
+ });
53
+ var _contentful_optimization_core_logger__rspack_import_0 = __webpack_require__("@contentful/optimization-core/logger");
54
+ var _contentful_optimization_core_logger__rspack_import_0_default = /*#__PURE__*/ __webpack_require__.n(_contentful_optimization_core_logger__rspack_import_0);
55
+ var __rspack_reexport = {};
56
+ for(const __rspack_import_key in _contentful_optimization_core_logger__rspack_import_0)if ("default" !== __rspack_import_key) __rspack_reexport[__rspack_import_key] = ()=>_contentful_optimization_core_logger__rspack_import_0[__rspack_import_key];
57
+ __webpack_require__.d(__webpack_exports__, __rspack_reexport);
58
+ })();
59
+ exports["default"] = __webpack_exports__["default"];
60
+ for(var __rspack_i in __webpack_exports__)if (-1 === [
61
+ "default"
62
+ ].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
63
+ Object.defineProperty(exports, '__esModule', {
64
+ value: true
65
+ });
66
+
67
+ //# sourceMappingURL=logger.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"logger.cjs","sources":["webpack/runtime/compat_get_default_export","webpack/runtime/define_property_getters","webpack/runtime/has_own_property","webpack/runtime/make_namespace_object"],"sourcesContent":["// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n }\n }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};"],"names":["__webpack_require__","module","getter","definition","key","Object","obj","prop","Symbol"],"mappings":";;;;;;;;;;;;;;;;;IACAA,oBAAoB,CAAC,GAAG,CAACC;QACxB,IAAIC,SAASD,UAAUA,OAAO,UAAU,GACvC,IAAOA,MAAM,CAAC,UAAU,GACxB,IAAOA;QACRD,oBAAoB,CAAC,CAACE,QAAQ;YAAE,GAAGA;QAAO;QAC1C,OAAOA;IACR;;;ICPAF,oBAAoB,CAAC,GAAG,CAAC,UAASG;QACjC,IAAI,IAAIC,OAAOD,WACR,IAAGH,oBAAoB,CAAC,CAACG,YAAYC,QAAQ,CAACJ,oBAAoB,CAAC,CAAC,UAASI,MACzEC,OAAO,cAAc,CAAC,UAASD,KAAK;YAAE,YAAY;YAAM,KAAKD,UAAU,CAACC,IAAI;QAAC;IAGzF;;;ICNAJ,oBAAoB,CAAC,GAAG,CAACM,KAAKC,OAAUF,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAACC,KAAKC;;;ICClFP,oBAAoB,CAAC,GAAG,CAAC;QACxB,IAAG,AAAkB,MAAlB,OAAOQ,UAA0BA,OAAO,WAAW,EACrDH,OAAO,cAAc,CAAC,UAASG,OAAO,WAAW,EAAE;YAAE,OAAO;QAAS;QAEtEH,OAAO,cAAc,CAAC,UAAS,cAAc;YAAE,OAAO;QAAK;IAC5D"}
@@ -0,0 +1,8 @@
1
+ import { default as default_2 } from '@contentful/optimization-core/logger';
2
+
3
+ export default default_2;
4
+
5
+
6
+ export * from "@contentful/optimization-core/logger";
7
+
8
+ export { }
@@ -0,0 +1,8 @@
1
+ import { default as default_2 } from '@contentful/optimization-core/logger';
2
+
3
+ export default default_2;
4
+
5
+
6
+ export * from "@contentful/optimization-core/logger";
7
+
8
+ export { }
@@ -0,0 +1,8 @@
1
+ import { default as default_2 } from '@contentful/optimization-core/logger';
2
+
3
+ export default default_2;
4
+
5
+
6
+ export * from "@contentful/optimization-core/logger";
7
+
8
+ export { }
@@ -0,0 +1,4 @@
1
+ import * as __rspack_external__contentful_optimization_core_logger_01eb57e0 from "@contentful/optimization-core/logger";
2
+ var default_0 = __rspack_external__contentful_optimization_core_logger_01eb57e0["default"];
3
+ export * from "@contentful/optimization-core/logger";
4
+ export default default_0;
package/package.json CHANGED
@@ -1,7 +1,12 @@
1
1
  {
2
2
  "name": "@contentful/optimization-node",
3
- "version": "0.1.0-alpha8",
3
+ "version": "1.0.0",
4
4
  "license": "MIT",
5
+ "repository": {
6
+ "type": "git",
7
+ "url": "git+https://github.com/contentful/optimization.git",
8
+ "directory": "packages/node/node-sdk"
9
+ },
5
10
  "type": "module",
6
11
  "main": "./dist/index.cjs",
7
12
  "module": "./dist/index.mjs",
@@ -17,13 +22,71 @@
17
22
  "default": "./dist/index.cjs"
18
23
  }
19
24
  },
25
+ "./logger": {
26
+ "import": {
27
+ "types": "./dist/logger.d.mts",
28
+ "default": "./dist/logger.mjs"
29
+ },
30
+ "require": {
31
+ "types": "./dist/logger.d.cts",
32
+ "default": "./dist/logger.cjs"
33
+ }
34
+ },
35
+ "./constants": {
36
+ "import": {
37
+ "types": "./dist/constants.d.mts",
38
+ "default": "./dist/constants.mjs"
39
+ },
40
+ "require": {
41
+ "types": "./dist/constants.d.cts",
42
+ "default": "./dist/constants.cjs"
43
+ }
44
+ },
45
+ "./core-sdk": {
46
+ "import": {
47
+ "types": "./dist/core-sdk.d.mts",
48
+ "default": "./dist/core-sdk.mjs"
49
+ },
50
+ "require": {
51
+ "types": "./dist/core-sdk.d.cts",
52
+ "default": "./dist/core-sdk.cjs"
53
+ }
54
+ },
55
+ "./api-client": {
56
+ "import": {
57
+ "types": "./dist/api-client.d.mts",
58
+ "default": "./dist/api-client.mjs"
59
+ },
60
+ "require": {
61
+ "types": "./dist/api-client.d.cts",
62
+ "default": "./dist/api-client.cjs"
63
+ }
64
+ },
65
+ "./api-schemas": {
66
+ "import": {
67
+ "types": "./dist/api-schemas.d.mts",
68
+ "default": "./dist/api-schemas.mjs"
69
+ },
70
+ "require": {
71
+ "types": "./dist/api-schemas.d.cts",
72
+ "default": "./dist/api-schemas.cjs"
73
+ }
74
+ },
20
75
  "./package.json": "./package.json"
21
76
  },
22
77
  "files": [
23
- "dist/**/*"
78
+ "dist/**/*",
79
+ "THIRD_PARTY_NOTICES.txt"
24
80
  ],
81
+ "buildTools": {
82
+ "bundleSize": {
83
+ "gzipBudgets": {
84
+ "index.cjs": 2000,
85
+ "index.mjs": 1500
86
+ }
87
+ }
88
+ },
25
89
  "dependencies": {
26
- "es-toolkit": "^1.39.10",
27
- "@contentful/optimization-core": "0.1.0-alpha8"
90
+ "@contentful/optimization-core": "1.0.0"
28
91
  }
29
92
  }