object-rewrite
Advanced tools
Comparing version 10.0.5 to 10.0.6
@@ -1,3 +0,3 @@ | ||
import assert from 'assert'; | ||
import Joi from 'joi-strict'; | ||
import assert from '../util/assert.js'; | ||
import validationCompile from './plugin/validation-compile.js'; | ||
@@ -4,0 +4,0 @@ import validationExtractKeys from './plugin/validation-extract-keys.js'; |
@@ -1,2 +0,2 @@ | ||
import assert from 'assert'; | ||
import assert from '../../util/assert.js'; | ||
@@ -3,0 +3,0 @@ const validationCompile = (input, strict = true) => { |
@@ -1,2 +0,2 @@ | ||
import assert from 'assert'; | ||
import assert from '../../util/assert.js'; | ||
@@ -3,0 +3,0 @@ const validationExtractKeys = (prefix, input) => { |
@@ -1,3 +0,3 @@ | ||
import assert from 'assert'; | ||
import objectFields from 'object-fields'; | ||
import assert from '../util/assert.js'; | ||
import compileMeta from './rewriter/compile-meta.js'; | ||
@@ -4,0 +4,0 @@ import mkInjectRewriter from './rewriter/mk-inject-rewriter.js'; |
@@ -1,3 +0,3 @@ | ||
import assert from 'assert'; | ||
import objectScan from 'object-scan'; | ||
import assert from '../../util/assert.js'; | ||
import CompareFn from './compare-fn.js'; | ||
@@ -4,0 +4,0 @@ |
@@ -1,4 +0,4 @@ | ||
import assert from 'assert'; | ||
import objectScan from 'object-scan'; | ||
import set from 'lodash.set'; | ||
import assert from '../../util/assert.js'; | ||
import CompareFn from './compare-fn.js'; | ||
@@ -5,0 +5,0 @@ |
@@ -1,3 +0,3 @@ | ||
import assert from 'assert'; | ||
import objectScan from 'object-scan'; | ||
import assert from '../../util/assert.js'; | ||
import cmpFn from '../../util/cmp-fn.js'; | ||
@@ -4,0 +4,0 @@ import CompareFn from './compare-fn.js'; |
@@ -1,2 +0,2 @@ | ||
import assert from 'assert'; | ||
import assert from './assert.js'; | ||
@@ -3,0 +3,0 @@ const fn = (a, b) => { |
{ | ||
"name": "object-rewrite", | ||
"type": "module", | ||
"version": "10.0.5", | ||
"version": "10.0.6", | ||
"description": "Rewrite Object(s) in place using plugins.", | ||
@@ -14,28 +14,30 @@ "main": "lib/index.js", | ||
"object-fields": "3.0.1", | ||
"object-scan": "17.1.0" | ||
"object-scan": "18.1.2" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "7.17.2", | ||
"@babel/eslint-parser": "7.17.0", | ||
"@babel/register": "7.17.0", | ||
"@babel/core": "7.18.5", | ||
"@babel/eslint-parser": "7.18.2", | ||
"@babel/register": "7.17.7", | ||
"@blackflux/eslint-plugin-rules": "2.1.0", | ||
"@blackflux/robo-config-plugin": "7.0.2", | ||
"c8": "7.11.0", | ||
"@blackflux/robo-config-plugin": "7.8.5", | ||
"@vercel/ncc": "0.34.0", | ||
"c8": "7.11.3", | ||
"chai": "4.3.6", | ||
"coveralls": "3.1.1", | ||
"eslint": "8.8.0", | ||
"eslint": "8.17.0", | ||
"eslint-config-airbnb-base": "15.0.0", | ||
"eslint-plugin-import": "2.25.4", | ||
"eslint-plugin-import": "2.26.0", | ||
"eslint-plugin-json": "3.1.0", | ||
"eslint-plugin-markdown": "2.2.1", | ||
"eslint-plugin-mocha": "10.0.3", | ||
"eslint-plugin-mocha": "10.0.5", | ||
"js-gardener": "3.0.5", | ||
"lodash.get": "4.4.2", | ||
"lodash.shuffle": "4.2.0" | ||
"lodash.shuffle": "4.2.0", | ||
"smart-fs": "3.0.1" | ||
}, | ||
"scripts": { | ||
"clean": "rm -rf lib", | ||
"build": "cp -rf ./src ./lib", | ||
"build": "cp -rf ./src ./lib && ncc build -m -o lib && mv lib/index.js lib/index.min.js && cp src/index.js lib/index.js && rm lib/package.json", | ||
"build-clean": "yarn run clean && yarn run build", | ||
"test-simple": "c8 mocha \"./test/**/*.spec.js\"", | ||
"test-simple": "c8 mocha --experimental-loader=./test/hot.js \"./test/**/*.spec.js\"", | ||
"test": "yarn run clean && yarn run gardener && yarn run test-simple", | ||
@@ -51,3 +53,4 @@ "coveralls": "node ./node_modules/coveralls/bin/coveralls.js < ./coverage/lcov.info", | ||
"i": "yarn install --frozen-lockfile", | ||
"it": "yarn run i && yarn run t" | ||
"it": "yarn run i && yarn run t", | ||
"ncc-analyze": "yarn clean && ncc build -m -s -o lib && npx source-map-explorer lib/index.js --only-mapped --html source.html && yarn clean" | ||
}, | ||
@@ -54,0 +57,0 @@ "keywords": [ |
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
Debug access
Supply chain riskUses debug, reflection and dynamic code execution features.
Found 1 instance in 1 package
255405
19
567
19
1
1
+ Addedobject-scan@18.1.2(transitive)
- Removedobject-scan@17.1.0(transitive)
Updatedobject-scan@18.1.2