Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

v8r

Package Overview
Dependencies
Maintainers
1
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

v8r - npm Package Compare versions

Comparing version 3.0.0 to 3.1.0

4

CHANGELOG.md
# 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 @@

15

package.json
{
"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);
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc