New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

pkg-fence

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pkg-fence - npm Package Compare versions

Comparing version 0.6.3 to 0.6.4

10

CHANGELOG.md

@@ -5,2 +5,12 @@ # Changelog

## [0.6.4] - 2024-08-03
### Changed
- Updating presets `--relief` to [v2.3.2](https://github.com/es-tooling/module-replacements/releases/tag/2.3.2) of **module-replacements** ([#41](https://github.com/imcotton/pkg-fence/pull/41))
## [0.6.3] - 2024-08-01

@@ -7,0 +17,0 @@

2

dist/cli/help.js

@@ -24,3 +24,3 @@ export const help_text = `

--relief (via es-tooling/module-replacements v2.3.0)
--relief (via es-tooling/module-replacements v2.3.2)
--relief-native

@@ -27,0 +27,0 @@ --relief-micro

import { lookup } from '../common.js';
// https://github.com/es-tooling/module-replacements/blob/2.3.0/manifests/native.json
// https://github.com/es-tooling/module-replacements/blob/2.3.2/manifests/native.json
export const native_list = [
'date',
'for-each',
'iterate-iterator',
'iterate-value',
'array-buffer-byte-length',
'array-every',
'array-includes',
'array-map',
'array.from',
'array.of',
'array.prototype.at',

@@ -20,3 +21,2 @@ 'array.prototype.concat',

'array.prototype.foreach',
'array.from',
'array.prototype.indexof',

@@ -27,3 +27,2 @@ 'array.prototype.join',

'array.prototype.map',
'array.of',
'array.prototype.push',

@@ -37,12 +36,14 @@ 'array.prototype.reduce',

'array.prototype.values',
'array-buffer-byte-length',
'arraybuffer.prototype.slice',
'concat-map',
'data-view-buffer',
'concat-map',
'data-view-byte-length',
'data-view-byte-offset',
'date',
'defaults',
'define-accessor-property',
'define-data-property',
'define-properties',
'error-cause',
'es-aggregate-error',
'error-cause',
'es-create-array-iterator',

@@ -53,11 +54,24 @@ 'es-define-property',

'es-string-html-methods',
'extend-shallow',
'filter-array',
'for-each',
'function-bind',
'function.prototype.name',
'functions-have-names',
'function.prototype.name',
'get-symbol-description',
'global',
'get-symbol-description',
'globalthis',
'gopd',
'has',
'has-own-prop',
'has-proto',
'has-symbols',
'has-tostringtag',
'hasown',
'index-of',
'is-nan',
'iterate-iterator',
'iterate-value',
'last-index-of',
'left-pad',
'math.acosh',

@@ -73,2 +87,3 @@ 'math.atanh',

'math.sign',
'node.extend',
'number.isfinite',

@@ -81,5 +96,6 @@ 'number.isinteger',

'number.prototype.toexponential',
'object-assign',
'object-is',
'object-keys',
'object.assign',
'object-assign',
'object.defineproperties',

@@ -91,5 +107,5 @@ 'object.entries',

'object.hasown',
'object-keys',
'object.keys',
'object.values',
'pad-left',
'parseint',

@@ -101,2 +117,3 @@ 'promise.allsettled',

'reflect.ownkeys',
'regexp.prototype.flags',
'string.prototype.at',

@@ -124,25 +141,9 @@ 'string.prototype.lastindexof',

'typedarray.prototype.slice',
'has',
'hasown',
'has-own-prop',
'array-map',
'is-nan',
'node.extend',
'extend-shallow',
'xtend',
'defaults',
'function-bind',
'regexp.prototype.flags',
'define-properties',
'left-pad',
'pad-left',
'filter-array',
'array-every',
'index-of',
'last-index-of',
]; // -native
export const native_check = lookup(native_list);
// https://github.com/es-tooling/module-replacements/blob/2.3.0/manifests/micro-utilities.json
// https://github.com/es-tooling/module-replacements/blob/2.3.2/manifests/micro-utilities.json
export const micro_list = [
'call-bind',
'clone-regexp',
'es-get-iterator',

@@ -153,5 +154,8 @@ 'es-set-tostringtag',

'is-date-object',
'is-even',
'is-negative-zero',
'is-npm',
'is-number',
'is-number-object',
'is-odd',
'is-plain-object',

@@ -162,26 +166,26 @@ 'is-primitive',

'is-travis',
'is-npm',
'clone-regexp',
'is-whitespace',
'is-windows',
'split-lines',
'is-windows',
'is-whitespace',
'is-string',
'is-odd',
'is-even',
]; // -micro
export const micro_check = lookup(micro_list);
// https://github.com/es-tooling/module-replacements/blob/2.3.0/manifests/preferred.json
// https://github.com/es-tooling/module-replacements/blob/2.3.2/manifests/preferred.json
export const preferred_list = [
'bluebird',
'builtin-modules',
'cpx',
'deep-equal',
'eslint-plugin-es',
'eslint-plugin-react',
'eslint-plugin-eslint-comments',
'eslint-plugin-import',
'eslint-plugin-node',
'eslint-plugin-react',
'is-builtin-module',
'builtin-modules',
'jquery',
'lodash',
'lodash-amd',
'lodash-compat',
'lodash-es',
'lodash-fp',
'lodash-node',
'lodash.add',

@@ -227,4 +231,4 @@ 'lodash.after',

'lodash.defaults',
'lodash.defaultsdeep',
'lodash.defaultto',
'lodash.defaultsdeep',
'lodash.defer',

@@ -259,4 +263,4 @@ 'lodash.delay',

'lodash.flatten',
'lodash.flattendeep',
'lodash.flattendepth',
'lodash.flattendeep',
'lodash.flip',

@@ -267,4 +271,4 @@ 'lodash.floor',

'lodash.foreach',
'lodash.foreachright',
'lodash.forin',
'lodash.foreachright',
'lodash.forinright',

@@ -395,4 +399,4 @@ 'lodash.forown',

'lodash.pullallwith',
'lodash.pullat',
'lodash.pullby',
'lodash.pullat',
'lodash.random',

@@ -505,23 +509,20 @@ 'lodash.range',

'lodash.zip',
'lodash.zipwith',
'lodash.zipobject',
'lodash.zipobjectdeep',
'lodash-amd',
'lodash-compat',
'lodash-es',
'lodash-fp',
'lodash-node',
'npm-run-all',
'qs',
'tempy',
'rimraf',
'lodash.zipwith',
'make-dir',
'materialize-css',
'md5',
'mkdirp',
'moment',
'npm-run-all',
'q',
'qs',
'readable-stream',
'rimraf',
'sort-object',
'tempy',
'underscore',
'uri-js',
'readable-stream',
]; // -preferred
export const preferred_check = lookup(preferred_list);
{
"name": "pkg-fence",
"version": "0.6.3",
"version": "0.6.4",
"description": "A command line tool that glance over package dependencies.",

@@ -5,0 +5,0 @@ "license": "AGPL-3.0-only",

@@ -53,3 +53,3 @@ pkg-fence

- `--nolyfill`: list of names from https://github.com/SukkaW/nolyfill (**1.0.34**)
- `--relief`: list of names from https://github.com/es-tooling/module-replacements (**2.3.0**)
- `--relief`: list of names from https://github.com/es-tooling/module-replacements (**2.3.2**)
- `--relief-native`

@@ -56,0 +56,0 @@ - `--relief-micro`

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