contentful-export 7.13.37 → 7.14.1

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/README.md CHANGED
@@ -9,7 +9,7 @@
9
9
 
10
10
  [Contentful](https://www.contentful.com) provides a content infrastructure for digital teams to power content in websites, apps, and devices. Unlike a CMS, Contentful was built to integrate with the modern software stack. It offers a central hub for structured content, powerful management and delivery APIs, and a customizable web app that enable developers and content creators to ship digital products faster.
11
11
 
12
- This is a library that help you backup your Content Model, Content and Assets or move them to a new Contentful space. _It will support Roles & Permissions in a future version._
12
+ This is a library that helps you backup your Content Model, Content and Assets or move them to a new Contentful space. _It will support Roles & Permissions in a future version._
13
13
 
14
14
  To import your exported data, please refer to the [contentful-import](https://github.com/contentful/contentful-import) repository.
15
15
 
@@ -13,6 +13,8 @@ var _headers = require("./utils/headers");
13
13
 
14
14
  var _proxy = require("contentful-batch-libs/dist/proxy");
15
15
 
16
+ var _addSequenceHeader = _interopRequireDefault(require("contentful-batch-libs/dist/add-sequence-header"));
17
+
16
18
  var _package = require("../package");
17
19
 
18
20
  var _querystring = _interopRequireDefault(require("querystring"));
@@ -44,7 +46,7 @@ function parseOptions(params) {
44
46
  const configFile = params.config ? require((0, _path.resolve)(process.cwd(), params.config)) : {};
45
47
 
46
48
  const options = _objectSpread(_objectSpread(_objectSpread(_objectSpread({}, defaultOptions), configFile), params), {}, {
47
- headers: params.headers || (0, _headers.getHeadersConfig)(params.header)
49
+ headers: (0, _addSequenceHeader.default)(params.headers || (0, _headers.getHeadersConfig)(params.header))
48
50
  }); // Validation
49
51
 
50
52
 
package/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "contentful-export",
3
- "version": "7.13.37",
3
+ "version": "7.14.1",
4
4
  "description": "this tool allows you to export a space to a JSON dump",
5
5
  "main": "dist/index.js",
6
6
  "engines": {
7
- "node": ">=6"
7
+ "node": ">=12"
8
8
  },
9
9
  "bin": {
10
10
  "contentful-export": "./bin/contentful-export"
@@ -46,7 +46,7 @@
46
46
  "bluebird": "^3.3.3",
47
47
  "cli-table3": "^0.6.0",
48
48
  "contentful": "^9.0.0",
49
- "contentful-batch-libs": "^9.0.1",
49
+ "contentful-batch-libs": "^9.2.1",
50
50
  "contentful-management": "^7.3.1",
51
51
  "figures": "^3.2.0",
52
52
  "fs-extra": "^10.0.0",