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

object-rewrite

Package Overview
Dependencies
Maintainers
1
Versions
181
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

object-rewrite - npm Package Compare versions

Comparing version 4.2.1 to 4.2.2

2

lib/util/rewriter.js

@@ -102,3 +102,3 @@ "use strict";

if (plugin.targets.includes(field) || `${field}.` === plugin.target || field.startsWith(plugin.target)) {
if (plugin.targets.includes(field) || (plugin.type !== 'INJECT' || plugin.targetRel === '*') && (`${field}.` === plugin.target || field.startsWith(plugin.target))) {
requiredFields.push(...plugin.requires);

@@ -105,0 +105,0 @@ inactivePlugins.splice(j, 1);

{
"name": "object-rewrite",
"version": "4.2.1",
"version": "4.2.2",
"description": "Rewrite Object(s) in place using plugins.",

@@ -13,3 +13,3 @@ "main": "lib/index.js",

"object-fields": "2.0.14",
"object-scan": "13.3.4"
"object-scan": "13.3.5"
},

@@ -16,0 +16,0 @@ "devDependencies": {

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