Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

contentful-import

Package Overview
Dependencies
Maintainers
3
Versions
383
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

contentful-import - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

2

dist/get-transformed-destination-response.js

@@ -10,3 +10,3 @@ 'use strict';

var _getOutdatedDestinationContent = require('contentful-batch-libs/get/get-outdated-destination-content');
var _getOutdatedDestinationContent = require('contentful-batch-libs/dist/get/get-outdated-destination-content');

@@ -13,0 +13,0 @@ var _getOutdatedDestinationContent2 = _interopRequireDefault(_getOutdatedDestinationContent);

@@ -10,7 +10,7 @@ 'use strict';

var _createClients = require('contentful-batch-libs/utils/create-clients');
var _createClients = require('contentful-batch-libs/dist/utils/create-clients');
var _createClients2 = _interopRequireDefault(_createClients);
var _pushToSpace = require('contentful-batch-libs/push/push-to-space');
var _pushToSpace = require('contentful-batch-libs/dist/push/push-to-space');

@@ -23,3 +23,3 @@ var _pushToSpace2 = _interopRequireDefault(_pushToSpace);

var _transformSpace = require('contentful-batch-libs/transform/transform-space');
var _transformSpace = require('contentful-batch-libs/dist/transform/transform-space');

@@ -36,2 +36,6 @@ var _transformSpace2 = _interopRequireDefault(_transformSpace);

var _fs = require('fs');
var _fs2 = _interopRequireDefault(_fs);
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }

@@ -46,3 +50,3 @@

opts.destinationManagementToken = usageParams.managementToken;
opts.content = usageParams.content;
opts.content = usageParams.content || JSON.parse(_fs2.default.readFileSync(usageParams.contentFile));
}

@@ -49,0 +53,0 @@ var clients = (0, _createClients2.default)(opts);

@@ -39,7 +39,7 @@ 'use strict';

}).option('rate-limit', {
describe: 'How many requests to perform per period of time, default is 5',
describe: 'How many requests to perform per period of time',
type: 'number',
default: 5
}).option('rate-limit-period', {
describe: 'How much time to wait before retry in ms, default 1000',
describe: 'How much time to wait before retry in ms',
type: 'number',

@@ -46,0 +46,0 @@ default: 1000

{
"name": "contentful-import",
"version": "3.0.0",
"version": "3.1.0",
"description": "this tool allows you to import JSON dump exported by contentful-export",

@@ -52,3 +52,3 @@ "bin": {

"bluebird": "^3.3.3",
"contentful-batch-libs": "^4.9.2",
"contentful-batch-libs": "5.1.0",
"json-stringify-safe": "^5.0.1",

@@ -95,3 +95,6 @@ "lodash": "^4.0.0",

}
},
"publishConfig": {
"tag": "beta"
}
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc