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

jss-plugin-camel-case

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jss-plugin-camel-case - npm Package Compare versions

Comparing version

to
10.0.0-alpha.8

7

dist/jss-plugin-camel-case.bundle.js

@@ -6,3 +6,8 @@ var uppercasePattern = /[A-Z]/g;

function hyphenateStyleName(string) {
return string in cache ? cache[string] : cache[string] = string.replace(uppercasePattern, '-$&').toLowerCase().replace(msPattern, '-ms-');
return string in cache
? cache[string]
: cache[string] = string
.replace(uppercasePattern, '-$&')
.toLowerCase()
.replace(msPattern, '-ms-');
}

@@ -9,0 +14,0 @@

@@ -12,3 +12,8 @@ (function (global, factory) {

function hyphenateStyleName(string) {
return string in cache ? cache[string] : cache[string] = string.replace(uppercasePattern, '-$&').toLowerCase().replace(msPattern, '-ms-');
return string in cache
? cache[string]
: cache[string] = string
.replace(uppercasePattern, '-$&')
.toLowerCase()
.replace(msPattern, '-ms-');
}

@@ -15,0 +20,0 @@

10

package.json
{
"name": "jss-plugin-camel-case",
"description": "JSS plugin that allows to write camel cased rule properties",
"version": "10.0.0-alpha.7",
"version": "10.0.0-alpha.8",
"license": "MIT",

@@ -17,3 +17,3 @@ "homepage": "https://cssinjs.org/jss-camel-case",

"type": "git",
"url": "git@github.com:cssinjs/jss.git"
"url": "https://github.com/cssinjs/jss"
},

@@ -41,4 +41,4 @@ "bugs": {

"devDependencies": {
"jss": "^10.0.0-alpha.7",
"jss-plugin-rule-value-function": "^10.0.0-alpha.7"
"jss": "^10.0.0-alpha.8",
"jss-plugin-rule-value-function": "^10.0.0-alpha.8"
},

@@ -52,3 +52,3 @@ "peerDependencies": {

},
"gitHead": "b12732bff76a96379748d511671a401ebe354588"
"gitHead": "b43e7761badfbb6b8161b8e407ab17475e61450c"
}

Sorry, the diff of this file is not supported yet