jskos-tools
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -10,5 +10,5 @@ module.exports = { | ||
parserOptions: { | ||
sourceType: "module", | ||
ecmaVersion: 2017, | ||
sourceType: "module", | ||
ecmaVersion: 2017, | ||
}, | ||
} |
@@ -5,6 +5,4 @@ /** | ||
// SHA1 library (may be replaced by another implementation!) | ||
const sha1 = require("simple-sha1").sync | ||
const sha1 = require("./sha1.js") | ||
// Reduce JSKOS set to members with URI. | ||
@@ -11,0 +9,0 @@ function reduceSet(set) { |
{ | ||
"name": "jskos-tools", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"description": "Tools for working with the JSKOS data format.", | ||
@@ -17,4 +17,4 @@ "homepage": "https://github.com/gbv/jskos-tools", | ||
"test": "mocha", | ||
"lint": "eslint ./**/*.js", | ||
"fix": "eslint --fix ./**/*.js", | ||
"lint": "eslint .", | ||
"fix": "eslint --fix .", | ||
"lint-staged": "lint-staged", | ||
@@ -47,5 +47,4 @@ "docs": "jsdoc --configure jsdoc.json && cp -r jsdoc/assets/* jsdoc/build" | ||
"dependencies": { | ||
"lodash": "^4.17.19", | ||
"simple-sha1": "^3.0.1" | ||
"lodash": "^4.17.19" | ||
} | ||
} |
const lint = require("mocha-eslint") | ||
// ESLint as part of the tests | ||
let paths = [ | ||
"**/*.js", | ||
"!node_modules/**/*.js", | ||
] | ||
let options = { | ||
contextName: "ESLint", | ||
} | ||
lint(paths, options) | ||
lint(["."], { contextName: "ESLint" }) |
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
115054
1
25
3186
- Removedsimple-sha1@^3.0.1
- Removedqueue-microtask@1.2.3(transitive)
- Removedrusha@0.8.14(transitive)
- Removedsimple-sha1@3.1.0(transitive)