@gojijs/core
Advanced tools
Comparing version 0.2.1 to 0.3.0
import * as scheduler from 'scheduler'; | ||
import { GOJI_ROOT_VDOM, GOJI_METHOD, TYPE_TEXT } from './constants'; | ||
import { stringifyCssText } from './utils/stringifyCssText'; | ||
import plainStyle from './utils/plainStyle'; | ||
const { unstable_scheduleCallback: scheduleDeferredCallback, unstable_cancelCallback: cancelDeferredCallback, unstable_shouldYield: shouldYield, unstable_now: now, } = scheduler; | ||
@@ -15,3 +15,3 @@ let instanceCount = 0; | ||
else if (propKey === 'style') { | ||
props[propKey] = stringifyCssText(newProps[propKey]); | ||
props[propKey] = plainStyle(newProps[propKey]); | ||
} | ||
@@ -18,0 +18,0 @@ else if (propKey === 'children') { |
{ | ||
"name": "@gojijs/core", | ||
"version": "0.2.1", | ||
"version": "0.3.0", | ||
"description": "Goji Core", | ||
@@ -51,3 +51,2 @@ "main": "dist/index.js", | ||
"dependencies": { | ||
"cssstyle": "^2.0.0", | ||
"react-reconciler": "^0.21.0", | ||
@@ -62,3 +61,3 @@ "scheduler": "^0.15.0" | ||
}, | ||
"gitHead": "948eaeded4234670f7d174b58a3bb043c84a2a09" | ||
"gitHead": "75fe92f4d20a3d1ec33a66e5d639e870829bdf2c" | ||
} |
@@ -5,3 +5,3 @@ import * as scheduler from 'scheduler'; | ||
import { HostConfig } from 'react-reconciler'; | ||
import { stringifyCssText } from './utils/stringifyCssText'; | ||
import plainStyle from './utils/plainStyle'; | ||
@@ -25,3 +25,3 @@ const { | ||
} else if (propKey === 'style') { | ||
props[propKey] = stringifyCssText(newProps[propKey]); | ||
props[propKey] = plainStyle(newProps[propKey]); | ||
} else if (propKey === 'children') { | ||
@@ -28,0 +28,0 @@ // pass |
Sorry, the diff of this file is not supported yet
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
3
63405
68
1390
- Removedcssstyle@^2.0.0
- Removedcssom@0.3.8(transitive)
- Removedcssstyle@2.3.0(transitive)