@contentstack/datasync-manager 2.0.2 → 2.0.3

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.
@@ -56,7 +56,7 @@ const init = (contentStore, assetStore) => {
56
56
  try {
57
57
  Contentstack = config.contentstack;
58
58
  const paths = config.paths;
59
- const environment = process.env.NODE_ENV || Contentstack.environment || 'development';
59
+ const environment = Contentstack.environment || process.env.NODE_ENV || 'development';
60
60
  debug(`Environment: ${environment}`);
61
61
  const request = {
62
62
  qs: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@contentstack/datasync-manager",
3
3
  "author": "Contentstack LLC <support@contentstack.com>",
4
- "version": "2.0.2",
4
+ "version": "2.0.3",
5
5
  "description": "The primary module of Contentstack DataSync. Syncs Contentstack data with your server using Contentstack Sync API",
6
6
  "main": "dist/index.js",
7
7
  "dependencies": {
@@ -15,7 +15,7 @@
15
15
  "devDependencies": {
16
16
  "@semantic-release/commit-analyzer": "^9.0.2",
17
17
  "@semantic-release/git": "^10.0.1",
18
- "@semantic-release/npm": "^9.0.1",
18
+ "@semantic-release/npm": "^10.0.5",
19
19
  "@semantic-release/release-notes-generator": "^10.0.3",
20
20
  "@types/debug": "0.0.31",
21
21
  "@types/jest": "23.3.11",
@@ -32,7 +32,7 @@
32
32
  "mkdirp": "^1.0.4",
33
33
  "nock": "^10.0.6",
34
34
  "rimraf": "^2.6.2",
35
- "semantic-release": "^19.0.5",
35
+ "semantic-release": "^21.1.1",
36
36
  "ts-jest": "^29.0.1",
37
37
  "tslint": "^5.18.0",
38
38
  "typescript": "^4.9.4"