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 1.0.0 to 2.0.0

6

CHANGELOG.md
# Changelog
## 📦 [2.0.0](https://www.npmjs.com/package/v8r/v/2.0.0) - 2023-05-02
* Drop compatibility with node 14
* Upgrade glob and minimatch to latest versions
* Tested on node 20
## 📦 [1.0.0](https://www.npmjs.com/package/v8r/v/1.0.0) - 2023-03-12

@@ -4,0 +10,0 @@

8

package.json
{
"name": "v8r",
"version": "1.0.0",
"version": "2.0.0",
"description": "A command-line JSON and YAML validator that's on your wavelength",

@@ -38,3 +38,3 @@ "scripts": {

"flat-cache": "^3.0.4",
"glob": "^8.0.1",
"glob": "^10.1.0",
"got": "^12.0.1",

@@ -44,3 +44,3 @@ "is-url": "^1.2.4",

"json5": "^2.2.0",
"minimatch": "^6.1.6",
"minimatch": "^9.0.0",
"yargs": "^17.0.1"

@@ -62,3 +62,3 @@ },

"engines": {
"node": ">=14.13.1"
"node": ">=16"
},

@@ -65,0 +65,0 @@ "type": "module",

@@ -1,2 +0,2 @@

import minimatch from "minimatch";
import { minimatch } from "minimatch";
import path from "path";

@@ -3,0 +3,0 @@ import { validate } from "./ajv.js";

@@ -1,15 +0,7 @@

import glob from "glob";
import { glob } from "glob";
import logger from "./logger.js";
const globPromise = function (pattern, options) {
return new Promise((resolve, reject) => {
glob(pattern, options, (err, files) =>
err === null ? resolve(files) : reject(err)
);
});
};
async function getFiles(pattern) {
try {
return await globPromise(pattern, { dot: true });
return await glob(pattern, { dot: true, dotRelative: true });
} catch (e) {

@@ -16,0 +8,0 @@ logger.error(e.message);

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