Comparing version 3.0.0 to 3.1.0
# Changelog | ||
## 📦 [3.1.0](https://www.npmjs.com/package/v8r/v/3.1.0) - 2024-06-03 | ||
* Add ability to configure a proxy using global-agent | ||
## 📦 [3.0.0](https://www.npmjs.com/package/v8r/v/3.0.0) - 2024-01-25 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "v8r", | ||
"version": "3.0.0", | ||
"version": "3.1.0", | ||
"description": "A command-line JSON and YAML validator that's on your wavelength", | ||
"scripts": { | ||
"test": "V8R_CACHE_NAME=v8r-test c8 --reporter=text mocha \"src/**/*.spec.js\"", | ||
"lint": "eslint \"src/**/*.js\"", | ||
"lint": "eslint \"**/*.{js,cjs}\"", | ||
"coverage": "c8 report --reporter=cobertura", | ||
"prettier": "prettier --write \"**/*.js\"", | ||
"prettier:check": "prettier --check \"**/*.js\"", | ||
"prettier": "prettier --write \"**/*.{js,cjs}\"", | ||
"prettier:check": "prettier --check \"**/*.{js,cjs}\"", | ||
"v8r": "src/index.js" | ||
@@ -33,8 +33,9 @@ }, | ||
"ajv-draft-04": "^1.0.0", | ||
"ajv-formats": "^2.1.1", | ||
"ajv-formats": "^3.0.1", | ||
"chalk": "^5.0.0", | ||
"cosmiconfig": "^9.0.0", | ||
"decamelize": "^6.0.0", | ||
"flat-cache": "^4.0.0", | ||
"flat-cache": "^5.0.0", | ||
"glob": "^10.1.0", | ||
"global-agent": "^3.0.0", | ||
"got": "^13.0.0", | ||
@@ -50,3 +51,3 @@ "is-url": "^1.2.4", | ||
"c8": "^9.1.0", | ||
"eslint": "^8.0.1", | ||
"eslint": "^9.2.0", | ||
"eslint-config-prettier": "^9.0.0", | ||
@@ -53,0 +54,0 @@ "eslint-plugin-mocha": "^10.0.3", |
@@ -157,2 +157,10 @@ # v8r | ||
## Configuring a Proxy | ||
It is possible to configure a proxy via [global-agent](https://www.npmjs.com/package/global-agent) using the `GLOBAL_AGENT_HTTP_PROXY` environment variable: | ||
```bash | ||
export GLOBAL_AGENT_HTTP_PROXY=http://myproxy:8888 | ||
``` | ||
## Exit codes | ||
@@ -195,3 +203,3 @@ | ||
- Dropping compatibility with a major Node JS version | ||
- Dropping support for a JSON Schema draft | ||
- Dropping compatibility with a JSON Schema draft | ||
@@ -211,3 +219,3 @@ ## FAQ | ||
### ❓ What JSON schema versions are supported? | ||
### ❓ What JSON schema versions are compatible? | ||
@@ -214,0 +222,0 @@ 💡 `v8r` works with JSON schema drafts: |
@@ -5,3 +5,6 @@ #!/usr/bin/env node | ||
import { bootstrap } from "global-agent"; | ||
bootstrap(); | ||
const exitCode = await cli(); | ||
process.exit(exitCode); |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42828
851
234
16
+ Addedglobal-agent@^3.0.0
+ Addedajv-formats@3.0.1(transitive)
+ Addedboolean@3.2.0(transitive)
+ Addeddefine-data-property@1.1.4(transitive)
+ Addeddefine-properties@1.2.1(transitive)
+ Addeddetect-node@2.1.0(transitive)
+ Addedes-define-property@1.0.1(transitive)
+ Addedes-errors@1.3.0(transitive)
+ Addedes6-error@4.1.1(transitive)
+ Addedescape-string-regexp@4.0.0(transitive)
+ Addedflat-cache@5.0.0(transitive)
+ Addedglobal-agent@3.0.0(transitive)
+ Addedglobalthis@1.0.4(transitive)
+ Addedgopd@1.2.0(transitive)
+ Addedhas-property-descriptors@1.0.2(transitive)
+ Addedjson-stringify-safe@5.0.1(transitive)
+ Addedmatcher@3.0.0(transitive)
+ Addedobject-keys@1.1.1(transitive)
+ Addedroarr@2.15.4(transitive)
+ Addedsemver@7.6.3(transitive)
+ Addedsemver-compare@1.0.0(transitive)
+ Addedserialize-error@7.0.1(transitive)
+ Addedsprintf-js@1.1.3(transitive)
+ Addedtype-fest@0.13.1(transitive)
- Removedajv-formats@2.1.1(transitive)
- Removedflat-cache@4.0.1(transitive)
Updatedajv-formats@^3.0.1
Updatedflat-cache@^5.0.0