jss-plugin-default-unit
Advanced tools
Comparing version 10.6.0 to 10.7.0
@@ -211,3 +211,3 @@ function _extends() { | ||
if (result) result += '\n'; | ||
result += "" + indentStr(prop + ": " + toCssValue(value) + ";", indent); | ||
result += indentStr(prop + ": " + toCssValue(value) + ";", indent); | ||
} | ||
@@ -223,3 +223,3 @@ } | ||
if (result) result += '\n'; | ||
result += "" + indentStr(_prop + ": " + toCssValue(_value) + ";", indent); | ||
result += indentStr(_prop + ": " + toCssValue(_value) + ";", indent); | ||
} | ||
@@ -235,3 +235,3 @@ } | ||
if (result) result += '\n'; | ||
result += "" + indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent); | ||
result += indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent); | ||
} | ||
@@ -1571,3 +1571,4 @@ } // Allow empty style in this case, because properties will be added dynamically. | ||
var ruleCounter = 0; | ||
return function (rule, sheet) { | ||
var generateId = function generateId(rule, sheet) { | ||
ruleCounter += 1; | ||
@@ -1599,2 +1600,4 @@ | ||
}; | ||
return generateId; | ||
}; | ||
@@ -2075,3 +2078,3 @@ /** | ||
this.id = instanceCounter++; | ||
this.version = "10.6.0"; | ||
this.version = "10.7.0"; | ||
this.plugins = new PluginsRegistry(); | ||
@@ -2078,0 +2081,0 @@ this.options = { |
{ | ||
"name": "jss-plugin-default-unit", | ||
"description": "JSS plugin that adds default custom unit to numeric values where needed", | ||
"version": "10.6.0", | ||
"version": "10.7.0", | ||
"license": "MIT", | ||
@@ -10,2 +10,3 @@ "homepage": "https://cssinjs.org/jss-default-unit", | ||
"unpkg": "dist/jss-plugin-default-unit.bundle.js", | ||
"sideEffects": false, | ||
"typings": "./src/index.d.ts", | ||
@@ -40,11 +41,11 @@ "author": "JSS Team", | ||
"devDependencies": { | ||
"jss-plugin-expand": "10.6.0", | ||
"jss-plugin-rule-value-function": "10.6.0", | ||
"jss-plugin-rule-value-observable": "10.6.0" | ||
"jss-plugin-expand": "10.7.0", | ||
"jss-plugin-rule-value-function": "10.7.0", | ||
"jss-plugin-rule-value-observable": "10.7.0" | ||
}, | ||
"dependencies": { | ||
"@babel/runtime": "^7.3.1", | ||
"jss": "10.6.0" | ||
"jss": "10.7.0" | ||
}, | ||
"gitHead": "8a620dc05b69dff493fb8f4248a888b9994b4c5f" | ||
"gitHead": "b4ead286205e3bf6afe9e2d40ae0a0be98a66acf" | ||
} |
@@ -8,7 +8,6 @@ # jss-plugin-default-unit | ||
[![Dependencies](https://img.shields.io/david/cssinjs/jss.svg?path=packages%2Fjss-plugin-default-unit&style=flat)](https://npmjs.org/package/jss-plugin-default-unit) | ||
[![Gitter](https://badges.gitter.im/JoinChat.svg)](https://gitter.im/cssinjs/lobby) | ||
> JSS plugin that adds default custom unit to numeric values where needed | ||
See our website [jss-plugin-default-unit](https://cssinjs.org/jss-plugin-default-unit?v=v10.6.0) for more information. | ||
See our website [jss-plugin-default-unit](https://cssinjs.org/jss-plugin-default-unit?v=v10.7.0) for more information. | ||
@@ -15,0 +14,0 @@ ## Install |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2998
108620
26
+ Addedjss@10.7.0(transitive)
- Removedindefinite-observable@2.0.1(transitive)
- Removedjss@10.6.0(transitive)
- Removedsymbol-observable@1.2.0(transitive)
Updatedjss@10.7.0