Socket
Socket
Sign inDemoInstall

@contrast/patcher

Package Overview
Dependencies
Maintainers
17
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@contrast/patcher - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

3

lib/index.js

@@ -346,3 +346,3 @@ /*

const loggerArgs = prop ? ['attempt to hook %s property from %o that is not a method or does not exist', prop, obj] : ['attempt to hook %o that is not a function', obj];
logger.error(...loggerArgs);
logger.error({ err: new Error('invalid patch target'), ...loggerArgs });
return null;

@@ -447,2 +447,3 @@ }

hookedFunctions,
hooks
};

@@ -449,0 +450,0 @@

{
"name": "@contrast/patcher",
"version": "1.1.0",
"version": "1.2.0",
"description": "Advanced monkey patching--registers hooks to run in and around functions",

@@ -5,0 +5,0 @@ "license": "SEE LICENSE IN LICENSE",

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