Socket
Socket
Sign inDemoInstall

prefix

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

prefix - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

License

5

index.js

@@ -69,4 +69,7 @@

key = prefix(key)
if (upper.test(key)) key = '-' + key.replace(upper, '-$1')
if (upper.test(key)) {
key = '-' + key.replace(upper, '-$1')
upper.lastIndex = 0 // fix #1
}
return key.toLowerCase()
}

7

package.json
{
"name": "prefix",
"version": "0.2.1",
"version": "0.2.2",
"description": "prefix a css attribute",
"dependencies": {},
"devDependencies": {
"serve": "jkroso/serve#1.5.1",
"assert": "component/assert",
"mocha": "*"
"mocha": "^2.2.5",
"serve": "jkroso/serve#1.5.1"
},

@@ -11,0 +10,0 @@ "repository": "git://github.com/jkroso/prefix.git",

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