cannibalizr 1.0.0 → 1.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.
package/.c8rc.json ADDED
@@ -0,0 +1,5 @@
1
+ {
2
+ "reporter": ["lcov", "json"],
3
+ "reports-dir": "reports/coverage",
4
+ "exclude": ["tmp", "reports", "node_modules", "tests", ".github"]
5
+ }
@@ -12,13 +12,13 @@ jobs:
12
12
 
13
13
  strategy:
14
14
  matrix:
15
- node-version: [14.x, 16.x]
15
+ node-version: [14, 16]
16
16
  # See supported Node.js release schedule at https://nodejs.org/en/about/releases/
17
17
 
18
18
  steps:
19
19
  - uses: actions/checkout@v3
20
20
  - name: Use Node.js ${{ matrix.node-version }}
21
- uses: actions/setup-node@v3.0.0
21
+ uses: actions/setup-node@v3
22
22
  with:
23
23
  node-version: ${{ matrix.node-version }}
24
24
  - run: npm ci
package/babel.config.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "@babel/preset-env",
5
5
  {
6
6
  "targets": {
7
- "node": "12"
7
+ "node": "14"
8
8
  }
9
9
  }
10
10
  ]
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "cannibalizr",
3
- "version": "1.0.0",
3
+ "version": "1.0.3",
4
4
  "description": "Turns an old pile of rusty files into a new json data source",
5
5
  "main": "index.js",
6
6
  "scripts": {
7
7
  "test": "mocha ./tests/unit --recursive --reporter spec",
8
- "cover": "istanbul cover --dir ${COVERAGE_DIR:-reports/coverage} -- _mocha tests/unit/* --recursive --reporter spec",
8
+ "cover": "c8 -- npm test",
9
9
  "lint": "eslint .",
10
10
  "validate": "npm ls"
11
11
  },
@@ -33,15 +33,14 @@
33
33
  },
34
34
  "dependencies": {},
35
35
  "devDependencies": {
36
- "@babel/core": "^7.17.8",
37
- "@babel/preset-env": "^7.16.11",
38
- "@babel/eslint-parser": "^7.17.0",
36
+ "@babel/core": "^7.19.0",
37
+ "@babel/preset-env": "^7.19.0",
38
+ "@babel/eslint-parser": "^7.18.9",
39
+ "c8": "^7.12.0",
39
40
  "chai": "^4.3.6",
40
- "coveralls": "^3.1.1",
41
- "eslint": "^8.12.0",
42
- "istanbul": "^0.4.5",
41
+ "eslint": "^8.23.0",
43
42
  "mkdirp": "^1.0.4",
44
- "mocha": "^9.2.2",
43
+ "mocha": "^10.0.0",
45
44
  "precommit-hook": "^3.0.0"
46
45
  },
47
46
  "pre-commit": [