@vanilla-extract/css
Advanced tools
Comparing version 1.17.0 to 1.17.1-inline-cssesc-20250128001512
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-5df6286f.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-54799f40.browser.cjs.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.browser.cjs.js'); | ||
@@ -13,3 +13,2 @@ var hash = require('@emotion/hash'); | ||
var _private = require('@vanilla-extract/private'); | ||
var cssesc = require('cssesc'); | ||
var deepObjectDiff = require('deep-object-diff'); | ||
@@ -27,3 +26,2 @@ var pc = require('picocolors'); | ||
var hash__default = /*#__PURE__*/_interopDefault(hash); | ||
var cssesc__default = /*#__PURE__*/_interopDefault(cssesc); | ||
var pc__default = /*#__PURE__*/_interopDefault(pc); | ||
@@ -248,3 +246,3 @@ var dedent__default = /*#__PURE__*/_interopDefault(dedent); | ||
function createVar(debugIdOrDeclaration, debugId) { | ||
var cssVarName = cssesc__default["default"](generateIdentifier({ | ||
var cssVarName = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier({ | ||
debugId: typeof debugIdOrDeclaration === 'string' ? debugIdOrDeclaration : debugId, | ||
@@ -317,3 +315,3 @@ debugFileName: false | ||
var varName = typeof rawVarName === 'string' ? rawVarName.replace(/^\-\-/, '') : null; | ||
if (typeof varName !== 'string' || varName !== cssesc__default["default"](varName, { | ||
if (typeof varName !== 'string' || varName !== transformCss_dist_vanillaExtractCssTransformCss.cssesc(varName, { | ||
isIdentifier: true | ||
@@ -448,3 +446,3 @@ })) { | ||
function fontFace(rule, debugId) { | ||
var fontFamily = "\"".concat(cssesc__default["default"](generateIdentifier(debugId), { | ||
var fontFamily = "\"".concat(transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
quotes: 'double' | ||
@@ -478,3 +476,3 @@ }), "\""); | ||
function keyframes(rule, debugId) { | ||
var name = cssesc__default["default"](generateIdentifier(debugId), { | ||
var name = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
isIdentifier: true | ||
@@ -481,0 +479,0 @@ }); |
import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.browser.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, a as _objectWithoutProperties, d as dudupeAndJoinClassList } from './transformCss-f33a4648.browser.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, c as cssesc, a as _objectWithoutProperties, d as dudupeAndJoinClassList } from './transformCss-26655961.browser.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; | ||
@@ -8,3 +8,2 @@ import hash from '@emotion/hash'; | ||
import { walkObject, get } from '@vanilla-extract/private'; | ||
import cssesc from 'cssesc'; | ||
import { diff } from 'deep-object-diff'; | ||
@@ -11,0 +10,0 @@ import pc from 'picocolors'; |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-0e5c1a83.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-12eebe5f.cjs.dev.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.dev.js'); | ||
@@ -13,3 +13,2 @@ var hash = require('@emotion/hash'); | ||
var _private = require('@vanilla-extract/private'); | ||
var cssesc = require('cssesc'); | ||
var deepObjectDiff = require('deep-object-diff'); | ||
@@ -27,3 +26,2 @@ var pc = require('picocolors'); | ||
var hash__default = /*#__PURE__*/_interopDefault(hash); | ||
var cssesc__default = /*#__PURE__*/_interopDefault(cssesc); | ||
var pc__default = /*#__PURE__*/_interopDefault(pc); | ||
@@ -248,3 +246,3 @@ var dedent__default = /*#__PURE__*/_interopDefault(dedent); | ||
function createVar(debugIdOrDeclaration, debugId) { | ||
var cssVarName = cssesc__default["default"](generateIdentifier({ | ||
var cssVarName = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier({ | ||
debugId: typeof debugIdOrDeclaration === 'string' ? debugIdOrDeclaration : debugId, | ||
@@ -317,3 +315,3 @@ debugFileName: false | ||
var varName = typeof rawVarName === 'string' ? rawVarName.replace(/^\-\-/, '') : null; | ||
if (typeof varName !== 'string' || varName !== cssesc__default["default"](varName, { | ||
if (typeof varName !== 'string' || varName !== transformCss_dist_vanillaExtractCssTransformCss.cssesc(varName, { | ||
isIdentifier: true | ||
@@ -448,3 +446,3 @@ })) { | ||
function fontFace(rule, debugId) { | ||
var fontFamily = "\"".concat(cssesc__default["default"](generateIdentifier(debugId), { | ||
var fontFamily = "\"".concat(transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
quotes: 'double' | ||
@@ -478,3 +476,3 @@ }), "\""); | ||
function keyframes(rule, debugId) { | ||
var name = cssesc__default["default"](generateIdentifier(debugId), { | ||
var name = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
isIdentifier: true | ||
@@ -481,0 +479,0 @@ }); |
@@ -6,3 +6,3 @@ 'use strict'; | ||
var injectStyles_dist_vanillaExtractCssInjectStyles = require('../injectStyles/dist/vanilla-extract-css-injectStyles.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-09b6ba29.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('./transformCss-71bd250f.cjs.prod.js'); | ||
var adapter_dist_vanillaExtractCssAdapter = require('../adapter/dist/vanilla-extract-css-adapter.cjs.prod.js'); | ||
@@ -13,3 +13,2 @@ var hash = require('@emotion/hash'); | ||
var _private = require('@vanilla-extract/private'); | ||
var cssesc = require('cssesc'); | ||
var deepObjectDiff = require('deep-object-diff'); | ||
@@ -27,3 +26,2 @@ var pc = require('picocolors'); | ||
var hash__default = /*#__PURE__*/_interopDefault(hash); | ||
var cssesc__default = /*#__PURE__*/_interopDefault(cssesc); | ||
var pc__default = /*#__PURE__*/_interopDefault(pc); | ||
@@ -248,3 +246,3 @@ var dedent__default = /*#__PURE__*/_interopDefault(dedent); | ||
function createVar(debugIdOrDeclaration, debugId) { | ||
var cssVarName = cssesc__default["default"](generateIdentifier({ | ||
var cssVarName = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier({ | ||
debugId: typeof debugIdOrDeclaration === 'string' ? debugIdOrDeclaration : debugId, | ||
@@ -317,3 +315,3 @@ debugFileName: false | ||
var varName = typeof rawVarName === 'string' ? rawVarName.replace(/^\-\-/, '') : null; | ||
if (typeof varName !== 'string' || varName !== cssesc__default["default"](varName, { | ||
if (typeof varName !== 'string' || varName !== transformCss_dist_vanillaExtractCssTransformCss.cssesc(varName, { | ||
isIdentifier: true | ||
@@ -448,3 +446,3 @@ })) { | ||
function fontFace(rule, debugId) { | ||
var fontFamily = "\"".concat(cssesc__default["default"](generateIdentifier(debugId), { | ||
var fontFamily = "\"".concat(transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
quotes: 'double' | ||
@@ -478,3 +476,3 @@ }), "\""); | ||
function keyframes(rule, debugId) { | ||
var name = cssesc__default["default"](generateIdentifier(debugId), { | ||
var name = transformCss_dist_vanillaExtractCssTransformCss.cssesc(generateIdentifier(debugId), { | ||
isIdentifier: true | ||
@@ -481,0 +479,0 @@ }); |
import { injectStyles } from '../injectStyles/dist/vanilla-extract-css-injectStyles.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, a as _objectWithoutProperties, d as dudupeAndJoinClassList } from './transformCss-aea5a452.esm.js'; | ||
import { t as transformCss, _ as _objectSpread2, c as cssesc, a as _objectWithoutProperties, d as dudupeAndJoinClassList } from './transformCss-b98b625b.esm.js'; | ||
import { setAdapterIfNotSet, getIdentOption, appendCss, registerClassName, registerComposition, markCompositionUsed } from '../adapter/dist/vanilla-extract-css-adapter.esm.js'; | ||
@@ -8,3 +8,2 @@ import hash from '@emotion/hash'; | ||
import { walkObject, get } from '@vanilla-extract/private'; | ||
import cssesc from 'cssesc'; | ||
import { diff } from 'deep-object-diff'; | ||
@@ -11,0 +10,0 @@ import pc from 'picocolors'; |
{ | ||
"name": "@vanilla-extract/css", | ||
"version": "1.17.0", | ||
"version": "1.17.1-inline-cssesc-20250128001512", | ||
"description": "Zero-runtime Stylesheets-in-TypeScript", | ||
@@ -121,3 +121,2 @@ "sideEffects": true, | ||
"css-what": "^6.1.0", | ||
"cssesc": "^3.0.0", | ||
"csstype": "^3.0.7", | ||
@@ -132,6 +131,3 @@ "dedent": "^1.5.3", | ||
"@vanilla-extract/private": "^1.0.6" | ||
}, | ||
"devDependencies": { | ||
"@types/cssesc": "^3.0.0" | ||
} | ||
} |
@@ -5,5 +5,4 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-5df6286f.browser.cjs.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-54799f40.browser.cjs.js'); | ||
require('@vanilla-extract/private'); | ||
require('cssesc'); | ||
require('modern-ahocorasick'); | ||
@@ -10,0 +9,0 @@ require('../../adapter/dist/vanilla-extract-css-adapter.browser.cjs.js'); |
@@ -1,4 +0,3 @@ | ||
export { t as transformCss } from '../../dist/transformCss-f33a4648.browser.esm.js'; | ||
export { t as transformCss } from '../../dist/transformCss-26655961.browser.esm.js'; | ||
import '@vanilla-extract/private'; | ||
import 'cssesc'; | ||
import 'modern-ahocorasick'; | ||
@@ -5,0 +4,0 @@ import '../../adapter/dist/vanilla-extract-css-adapter.browser.esm.js'; |
@@ -5,5 +5,4 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-0e5c1a83.cjs.dev.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-12eebe5f.cjs.dev.js'); | ||
require('@vanilla-extract/private'); | ||
require('cssesc'); | ||
require('modern-ahocorasick'); | ||
@@ -10,0 +9,0 @@ require('../../adapter/dist/vanilla-extract-css-adapter.cjs.dev.js'); |
@@ -5,5 +5,4 @@ 'use strict'; | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-09b6ba29.cjs.prod.js'); | ||
var transformCss_dist_vanillaExtractCssTransformCss = require('../../dist/transformCss-71bd250f.cjs.prod.js'); | ||
require('@vanilla-extract/private'); | ||
require('cssesc'); | ||
require('modern-ahocorasick'); | ||
@@ -10,0 +9,0 @@ require('../../adapter/dist/vanilla-extract-css-adapter.cjs.prod.js'); |
@@ -1,4 +0,3 @@ | ||
export { t as transformCss } from '../../dist/transformCss-aea5a452.esm.js'; | ||
export { t as transformCss } from '../../dist/transformCss-b98b625b.esm.js'; | ||
import '@vanilla-extract/private'; | ||
import 'cssesc'; | ||
import 'modern-ahocorasick'; | ||
@@ -5,0 +4,0 @@ import '../../adapter/dist/vanilla-extract-css-adapter.esm.js'; |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
361352
11
0
9465
2
- Removedcssesc@^3.0.0
- Removedcssesc@3.0.0(transitive)