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

browserify-versionify

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

browserify-versionify - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

.idea/libraries/versionify_node_modules.xml

6

package.json
{
"name": "browserify-versionify",
"version": "1.0.1",
"version": "1.0.2",
"description": "Browserify transform to replace placeholder with package version",

@@ -12,2 +12,6 @@ "keywords": [

"main": "index.js",
"repository": {
"type": "git",
"url": "https://github.com/webpro/versionify.git"
},
"author": {

@@ -14,0 +18,0 @@ "name": "Lars Kappert",

10

README.md

@@ -15,10 +15,10 @@ # browserify-versionify

browserify().transform(versionify);
browserify().transform(versionify);
// Configure (default values shown)
browserify().transform(versionify.configure({
placeholder: '__VERSION__',
version: pkg.version
// Configure (default values shown)
browserify().transform(versionify.configure({
placeholder: '__VERSION__',
version: pkg.version
}));
You can also provide a `filter` property to whitelist files to apply the transform to (e.g. `filter: /\.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