contentful-import 10.2.1 → 10.2.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.
- package/bin/contentful-import +10 -6
- package/dist/chunk-BWBJ5DCQ.mjs +53 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.js +4943 -90
- package/dist/index.mjs +5028 -182
- package/dist/usageParams.d.ts +1 -1
- package/dist/usageParams.js +6 -0
- package/dist/usageParams.mjs +2 -1
- package/package.json +4 -4
- package/dist/chunk-GA5GJRGP.mjs +0 -20
package/dist/usageParams.d.ts
CHANGED
package/dist/usageParams.js
CHANGED
|
@@ -1,3 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
if (!globalThis.__contentfulImportCjsDeprecationWarned) {
|
|
3
|
+
globalThis.__contentfulImportCjsDeprecationWarned = true;
|
|
4
|
+
console.warn('[contentful-import] Deprecation notice: the next major version of this package will be ESM-only and will drop require() support. Please migrate consuming code to ES modules (import) ahead of that release.');
|
|
5
|
+
}
|
|
1
6
|
var __create = Object.create;
|
|
2
7
|
var __defProp = Object.defineProperty;
|
|
3
8
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -104,3 +109,4 @@ var usageParams_default = import_yargs.default.version(version || "Version only
|
|
|
104
109
|
type: "boolean",
|
|
105
110
|
default: true
|
|
106
111
|
}).config("config", "An optional configuration JSON file containing all the options for a single run").argv;
|
|
112
|
+
module.exports = module.exports.default || module.exports;
|
package/dist/usageParams.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "contentful-import",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.2",
|
|
4
4
|
"description": "this tool allows you to import JSON dump exported by contentful-export",
|
|
5
5
|
"main": "dist/index.mjs",
|
|
6
6
|
"typings": "dist/index.d.ts",
|
|
@@ -65,19 +65,19 @@
|
|
|
65
65
|
"cli-table3": "^0.6.5",
|
|
66
66
|
"contentful-batch-libs": "^9.7.0",
|
|
67
67
|
"contentful-management": "^12.13.0",
|
|
68
|
-
"date-fns": "^
|
|
68
|
+
"date-fns": "^4.4.0",
|
|
69
69
|
"joi": "^18.2.3",
|
|
70
70
|
"listr": "^0.14.3",
|
|
71
71
|
"listr-update-renderer": "^0.5.0",
|
|
72
72
|
"listr-verbose-renderer": "^0.6.0",
|
|
73
|
-
"lodash": "^4.18.1",
|
|
73
|
+
"lodash-es": "^4.18.1",
|
|
74
74
|
"p-queue": "^6.6.2",
|
|
75
75
|
"yargs": "^17.7.3"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@semantic-release/changelog": "^6.0.3",
|
|
79
79
|
"@types/jest": "^29.5.14",
|
|
80
|
-
"@types/lodash": "^4.17.
|
|
80
|
+
"@types/lodash-es": "^4.17.12",
|
|
81
81
|
"@types/node": "^20.6.3",
|
|
82
82
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
83
83
|
"@typescript-eslint/parser": "^7.18.0",
|
package/dist/chunk-GA5GJRGP.mjs
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
3
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
4
|
-
}) : x)(function(x) {
|
|
5
|
-
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
6
|
-
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
7
|
-
});
|
|
8
|
-
var __export = (target, all) => {
|
|
9
|
-
for (var name in all)
|
|
10
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
// package.json
|
|
14
|
-
var version = "0.0.0-determined-by-semantic-release";
|
|
15
|
-
|
|
16
|
-
export {
|
|
17
|
-
__require,
|
|
18
|
-
__export,
|
|
19
|
-
version
|
|
20
|
-
};
|