@netlify/build-info 4.0.1 → 4.0.5

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.
Files changed (2) hide show
  1. package/package.json +12 -15
  2. package/src/context.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@netlify/build-info",
3
- "version": "4.0.1",
3
+ "version": "4.0.5",
4
4
  "description": "Build info utility",
5
5
  "type": "module",
6
6
  "exports": "./src/main.js",
@@ -26,7 +26,7 @@
26
26
  "test:dev": "run-s test:dev:*",
27
27
  "test:ci": "run-s test:ci:*",
28
28
  "test:dev:ava": "ava",
29
- "test:ci:ava": "nyc -r lcovonly -r text -r json ava"
29
+ "test:ci:ava": "c8 -r lcovonly -r text -r json ava"
30
30
  },
31
31
  "config": {
32
32
  "eslint": "--ignore-path .gitignore --cache --format=codeframe --max-warnings=0 \"{src,scripts,.github}/**/*.{cjs,mjs,js,md,html}\" \"*.{cjs,mjs,js,md,html}\" \".*.{cjs,mjs,js,md,html}\"",
@@ -54,23 +54,20 @@
54
54
  "directories": {
55
55
  "test": "test"
56
56
  },
57
+ "dependencies": {
58
+ "@netlify/framework-info": "^8.0.1",
59
+ "@npmcli/map-workspaces": "^2.0.0",
60
+ "read-pkg": "^5.2.0",
61
+ "yargs": "^17.0.0"
62
+ },
57
63
  "devDependencies": {
58
- "@commitlint/cli": "^15.0.0",
59
- "@commitlint/config-conventional": "^15.0.0",
60
- "@netlify/eslint-config-node": "^4.0.0",
61
- "ava": "^3.0.0",
64
+ "@netlify/eslint-config-node": "^4.1.2",
65
+ "ava": "^4.0.0",
66
+ "c8": "^7.11.0",
62
67
  "execa": "^5.0.0",
63
- "get-bin-path": "^5.0.0",
64
- "husky": "^4.3.8",
65
- "nyc": "^15.0.0"
68
+ "get-bin-path": "^5.0.0"
66
69
  },
67
70
  "engines": {
68
71
  "node": "^12.20.0 || ^14.14.0 || >=16.0.0"
69
- },
70
- "dependencies": {
71
- "@netlify/framework-info": "^6.1.0",
72
- "@npmcli/map-workspaces": "^1.0.3",
73
- "read-pkg": "^5.2.0",
74
- "yargs": "^17.0.0"
75
72
  }
76
73
  }
package/src/context.js CHANGED
@@ -11,7 +11,7 @@ const getPackageJson = async function (dir) {
11
11
  }
12
12
 
13
13
  return packageJson
14
- } catch (error) {
14
+ } catch {
15
15
  return {}
16
16
  }
17
17
  }