Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ref-replace

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ref-replace - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

3

index.js
const replaceRefs = (obj, searchStr, replaceStr) => {
if (!obj) {
return;
}
if (typeof obj === 'string') {

@@ -3,0 +6,0 @@ return obj;

2

package.json

@@ -5,3 +5,3 @@ {

"repository": "git@github.com:hugomd/ref-replace.git",
"version": "1.0.2",
"version": "1.0.3",
"author": {

@@ -8,0 +8,0 @@ "name": "Hugo Muller-Downing",

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