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

@ant-design/cssinjs

Package Overview
Dependencies
Maintainers
10
Versions
119
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ant-design/cssinjs - npm Package Compare versions

Comparing version 0.0.0-alpha.41 to 0.0.0-alpha.43

3

es/useStyleRegister.js

@@ -182,5 +182,6 @@ import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";

if (isMergedClientSide) {
console.log('Trigger!', styleStr, styleId, ATTR_MARK);
var style = updateCSS(styleStr, styleId, {
mark: ATTR_MARK,
prepend: true
prepend: 'queue'
});

@@ -187,0 +188,0 @@ style[CSS_IN_JS_INSTANCE] = CSS_IN_JS_INSTANCE_ID; // Used for `useCacheToken` to remove on batch when token removed

@@ -215,5 +215,6 @@ "use strict";

if (isMergedClientSide) {
console.log('Trigger!', styleStr, styleId, _StyleContext.ATTR_MARK);
var style = (0, _dynamicCSS.updateCSS)(styleStr, styleId, {
mark: _StyleContext.ATTR_MARK,
prepend: true
prepend: 'queue'
});

@@ -220,0 +221,0 @@ style[_StyleContext.CSS_IN_JS_INSTANCE] = _StyleContext.CSS_IN_JS_INSTANCE_ID; // Used for `useCacheToken` to remove on batch when token removed

{
"name": "@ant-design/cssinjs",
"version": "0.0.0-alpha.41",
"version": "0.0.0-alpha.43",
"description": "Component level cssinjs resolution for antd",

@@ -47,3 +47,3 @@ "keywords": [

"csstype": "^3.0.10",
"rc-util": "^5.18.1",
"rc-util": "^5.24.2",
"stylis": "^4.0.13"

@@ -60,2 +60,3 @@ },

"@types/react-dom": "^18.0.0",
"@types/responselike": "^1.0.0",
"@types/stylis": "^4.0.2",

@@ -62,0 +63,0 @@ "@umijs/fabric": "^2.0.8",

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