@anvilco/anvil
Advanced tools
Comparing version 2.15.0 to 2.15.1
@@ -8,2 +8,6 @@ # Changelog | ||
## [v2.15.1] | ||
- Non-dynamic `require`s in GraphQL modules. | ||
- Dependency updates. | ||
## [v2.15.0] | ||
@@ -10,0 +14,0 @@ - Assert that the `filename` property is (likely) there [`312`](https://github.com/anvilco/node-anvil/pull/312) |
{ | ||
"name": "@anvilco/anvil", | ||
"version": "2.15.0", | ||
"version": "2.15.1", | ||
"description": "Anvil API Client", | ||
@@ -70,3 +70,3 @@ "author": "Anvil Foundry Inc.", | ||
"eslint-plugin-import": "^2.25.4", | ||
"eslint-plugin-n": "^15.2.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-no-only-tests": "^2.4.0", | ||
@@ -77,3 +77,3 @@ "eslint-plugin-promise": "^6.0.0", | ||
"mocha": "^10.0.0", | ||
"nodemon": "^2.0.15", | ||
"nodemon": "^3.0.1", | ||
"rimraf": "^5.0.0", | ||
@@ -80,0 +80,0 @@ "sinon": "^15.0.1", |
@@ -1,11 +0,6 @@ | ||
const fs = require('fs') | ||
const IGNORE_FILES = ['index.js'] | ||
module.exports = fs.readdirSync(__dirname) | ||
.filter((fileName) => (fileName.endsWith('.js') && !fileName.startsWith('.') && !IGNORE_FILES.includes(fileName))) | ||
.reduce((acc, fileName) => { | ||
const mutationName = fileName.slice(0, fileName.length - 3) | ||
acc[mutationName] = require(`./${mutationName}`) | ||
return acc | ||
}, {}) | ||
module.exports = { | ||
createEtchPacket: require('./createEtchPacket'), | ||
forgeSubmit: require('./forgeSubmit'), | ||
generateEtchSignUrl: require('./generateEtchSignUrl'), | ||
removeWeldData: require('./removeWeldData'), | ||
} |
@@ -1,11 +0,3 @@ | ||
const fs = require('fs') | ||
const IGNORE_FILES = ['index.js'] | ||
module.exports = fs.readdirSync(__dirname) | ||
.filter((fileName) => (fileName.endsWith('.js') && !fileName.startsWith('.') && !IGNORE_FILES.includes(fileName))) | ||
.reduce((acc, fileName) => { | ||
const queryName = fileName.slice(0, fileName.length - 3) | ||
acc[queryName] = require(`./${queryName}`) | ||
return acc | ||
}, {}) | ||
module.exports = { | ||
etchPacket: require('./etchPacket'), | ||
} |
Sorry, the diff of this file is not supported yet
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
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 2 instances 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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
3411162
110
4494
16
3
8