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

upgrade-utils

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

upgrade-utils - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

3

lib/replacements.js

@@ -39,3 +39,4 @@ var replacements = [

{search: 'NanSetTemplate', replace: 'Nan::SetTemplate'},
{search: 'NanHasInstance\\(([^,]+),\\s*([^)]+)\\)', replace: 'Nan::New($1)->HasInstance($2)'}
{search: 'NanHasInstance\\(([^,]+),\\s*([^)]+)\\)', replace: 'Nan::New($1)->HasInstance($2)'},
{search: '([a-zA-Z0-9_]+)->ForceSet\\(', replace: 'Nan::ForceSet($1, '}
]

@@ -42,0 +43,0 @@

{
"name": "upgrade-utils",
"version": "1.0.1",
"version": "1.0.2",
"description": "A tool to help with the process of upgrading modules to the latest version of Node.js latest Node version (currently v4), replacing old NAN C++ bindings and adjusting for Node.js API changes",

@@ -5,0 +5,0 @@ "main": "index.js",

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