ocr-space-api-wrapper 2.1.2 → 2.1.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.
package/.eslintrc.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "node": true,
6
6
  "mocha": true
7
7
  },
8
- "extends": "google",
8
+ "extends": ["eslint:recommended", "google"],
9
9
  "parserOptions": {
10
10
  "ecmaVersion": 12
11
11
  },
@@ -9,15 +9,12 @@ on:
9
9
  jobs:
10
10
  build:
11
11
  runs-on: ubuntu-latest
12
- strategy:
13
- matrix:
14
- node-version: [14.x]
15
12
  steps:
16
- - uses: actions/checkout@v2
17
- - name: Use Node.js ${{ matrix.node-version }}
18
- uses: actions/setup-node@v1
13
+ - uses: actions/checkout@v3
14
+ - uses: actions/setup-node@v3
19
15
  with:
20
- node-version: ${{ matrix.node-version }}
16
+ node-version: '16'
17
+ cache: 'npm'
21
18
  - run: npm ci
22
19
  - run: npm run lint
23
- - run: npm test
20
+ - run: npm test
@@ -6,10 +6,11 @@ jobs:
6
6
  build:
7
7
  runs-on: ubuntu-latest
8
8
  steps:
9
- - uses: actions/checkout@v1
10
- - uses: actions/setup-node@v1
9
+ - uses: actions/checkout@v3
10
+ - uses: actions/setup-node@v3
11
11
  with:
12
- node-version: 14.x
12
+ node-version: '16'
13
+ cache: 'npm'
13
14
 
14
15
  - name: Coverage
15
16
  run: |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ocr-space-api-wrapper",
3
- "version": "2.1.2",
3
+ "version": "2.1.3",
4
4
  "description": "Node.js wrapper for ocr.space APIs.",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "homepage": "https://github.com/DavideViolante/ocr-space-api-wrapper#readme",
33
33
  "dependencies": {
34
- "axios": "^0.27.2",
34
+ "axios": "^1.1.3",
35
35
  "form-data": "^4.0.0"
36
36
  },
37
37
  "devDependencies": {