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

replaceall

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

replaceall - npm Package Compare versions

Comparing version 0.0.2 to 0.1.0

4

package.json

@@ -6,3 +6,3 @@ {

"homepage": "http://ilee.co.uk",
"version": "0.0.2",
"version": "0.1.0",
"main": "replaceall.min.js",

@@ -31,5 +31,5 @@ "keywords": [

"grunt-contrib-jasmine": "~0.6.x",
"grunt-contrib-uglify": "~0.3.x",
"grunt-contrib-uglify": "~0.4.x",
"grunt-cli": "~0.1.x"
}
}
/*!
replaceall (v0.0.2) 07-02-2014
replaceall (v0.1.0) 25-03-2014
(c) Lee Crossley <leee@hotmail.co.uk> (http://ilee.co.uk/)
*/
var replaceall=function(a,b,c){return b=b.replace(/\$/g,"$$$$"),c.replace(new RegExp(a.replace(/([\/\,\!\\\^\$\{\}\[\]\(\)\.\*\+\?\|<>\-\&])/g,"\\$&"),"g"),b)};"undefined"!=typeof exports&&("undefined"!=typeof module&&module.exports&&(exports=module.exports=replaceall),exports.replaceall=replaceall);
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