smartling-api-sdk-nodejs 1.5.6 → 2.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.
@@ -2,5 +2,5 @@ projectKey=smartling-api-sdk-nodejs
2
2
  serverUrl=https://sonar-next.connectors.stg.smartling.net
3
3
  serverVersion=8.6.1.40680
4
4
  dashboardUrl=https://sonar-next.connectors.stg.smartling.net/dashboard?id=smartling-api-sdk-nodejs
5
- ceTaskId=AYpq3NvLRe7rJHsZ61e4
6
- ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=AYpq3NvLRe7rJHsZ61e4
5
+ ceTaskId=AYsp8ejxRe7rJHsZ61kA
6
+ ceTaskUrl=https://sonar-next.connectors.stg.smartling.net/api/ce/task?id=AYsp8ejxRe7rJHsZ61kA
package/Jenkinsfile CHANGED
@@ -10,8 +10,8 @@ pipeline {
10
10
  }
11
11
 
12
12
  steps {
13
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:12.16.1 npm install'
14
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:12.16.1 npm test'
13
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm install --force'
14
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm test'
15
15
  junit 'test-results.xml'
16
16
  }
17
17
  }
@@ -66,13 +66,13 @@ pipeline {
66
66
 
67
67
  steps {
68
68
  sh 'rm -rf built coverage .nyc_output node_modules test-results.xml package-lock.json .npmrc'
69
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:12.16.1 npm install --production'
70
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:12.16.1 npm run build'
69
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm install --production --force'
70
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` node:18.13.0 npm run build'
71
71
 
72
72
  withCredentials([file(credentialsId: 'node-npmrc-public-file', variable: 'FILE')]) {
73
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:12.16.1 ls -lah `pwd`'
74
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:12.16.1 cat `pwd`/.npmrc'
75
- sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:12.16.1 npm publish --access public'
73
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 ls -lah `pwd`'
74
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 cat `pwd`/.npmrc'
75
+ sh 'docker run --rm -w `pwd` -v `pwd`:`pwd` -v $FILE:`pwd`/.npmrc node:18.13.0 npm publish --access public'
76
76
  }
77
77
  }
78
78
  }
package/README.md CHANGED
@@ -8,6 +8,10 @@ Developers can upload resource files and download the translated files in a lang
8
8
 
9
9
  For a full description of the Smartling Translation API, please read the docs at: http://docs.smartling.com
10
10
 
11
+ Engines support
12
+ ---------------
13
+ * `1.x.x` - node < 18
14
+ * `2.x.x` - node >= 18
11
15
 
12
16
  Bug tracker
13
17
  -----------
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "smartling-api-sdk-nodejs",
3
- "version": "1.5.6",
3
+ "version": "2.0.0",
4
4
  "description": "Package for Smartling API",
5
5
  "main": "built/index.js",
6
+ "engines": {
7
+ "node": ">=18"
8
+ },
6
9
  "scripts": {
7
10
  "build:dev": "rm -rf built && tsc --p tsconfig.dev.json && cp -R package.json built",
8
11
  "build": "rm -rf built && tsc && cp -R package.json built",
@@ -31,7 +34,7 @@
31
34
  "form-data": "^4.0.0",
32
35
  "merge-deep": "^3.0.3",
33
36
  "querystring": "^0.2.1",
34
- "string-to-file-stream": "^1.3.0",
37
+ "string-to-file-stream": "^2.0.0",
35
38
  "typescript": "^4.3.5"
36
39
  },
37
40
  "devDependencies": {
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "smartling-api-sdk-nodejs",
3
- "version": "1.5.6",
3
+ "version": "2.0.0",
4
4
  "description": "Package for Smartling API",
5
5
  "main": "built/index.js",
6
+ "engines": {
7
+ "node": ">=18"
8
+ },
6
9
  "scripts": {
7
10
  "build:dev": "rm -rf built && tsc --p tsconfig.dev.json && cp -R package.json built",
8
11
  "build": "rm -rf built && tsc && cp -R package.json built",
@@ -31,7 +34,7 @@
31
34
  "form-data": "^4.0.0",
32
35
  "merge-deep": "^3.0.3",
33
36
  "querystring": "^0.2.1",
34
- "string-to-file-stream": "^1.3.0",
37
+ "string-to-file-stream": "^2.0.0",
35
38
  "typescript": "^4.3.5"
36
39
  },
37
40
  "devDependencies": {