ocr-space-api-wrapper 2.1.3 → 2.2.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.
@@ -13,7 +13,7 @@ jobs:
13
13
  - uses: actions/checkout@v3
14
14
  - uses: actions/setup-node@v3
15
15
  with:
16
- node-version: '16'
16
+ node-version: '18'
17
17
  cache: 'npm'
18
18
  - run: npm ci
19
19
  - run: npm run lint
@@ -9,7 +9,7 @@ jobs:
9
9
  - uses: actions/checkout@v3
10
10
  - uses: actions/setup-node@v3
11
11
  with:
12
- node-version: '16'
12
+ node-version: '18'
13
13
  cache: 'npm'
14
14
 
15
15
  - name: Coverage
@@ -6,11 +6,12 @@ jobs:
6
6
  build:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v2
9
+ - uses: actions/checkout@v3
10
10
  # Setup .npmrc file to publish to npm
11
- - uses: actions/setup-node@v2
11
+ - uses: actions/setup-node@v3
12
12
  with:
13
- node-version: '16.x'
13
+ node-version: '18'
14
+ cache: 'npm'
14
15
  registry-url: 'https://registry.npmjs.org'
15
16
  - run: npm ci
16
17
  - run: npm publish
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ocr-space-api-wrapper",
3
- "version": "2.1.3",
3
+ "version": "2.2.0",
4
4
  "description": "Node.js wrapper for ocr.space APIs.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,13 +31,13 @@
31
31
  },
32
32
  "homepage": "https://github.com/DavideViolante/ocr-space-api-wrapper#readme",
33
33
  "dependencies": {
34
- "axios": "^1.1.3",
34
+ "axios": "0.27.2",
35
35
  "form-data": "^4.0.0"
36
36
  },
37
37
  "devDependencies": {
38
- "eslint": "^8.12.0",
38
+ "eslint": "^8.33.0",
39
39
  "eslint-config-google": "^0.14.0",
40
- "mocha": "^10.0.0",
40
+ "mocha": "^10.2.0",
41
41
  "nyc": "^15.1.0"
42
42
  }
43
43
  }