@brijeshb42/zero-runtime
Advanced tools
Comparing version 0.0.1-alpha.2 to 0.0.1-alpha.3
{ | ||
"name": "@brijeshb42/zero-runtime", | ||
"version": "0.0.1-alpha.2", | ||
"version": "0.0.1-alpha.3", | ||
"main": "dist/index.js", | ||
@@ -24,2 +24,3 @@ "module": "dist/index.mjs", | ||
"devDependencies": { | ||
"@mui/material": "^5.14.18", | ||
"@mui/system": "^5.14.18", | ||
@@ -26,0 +27,0 @@ "@types/babel__core": "^7.20.3", |
'use strict'; | ||
var chunkQSWKRIV3_js = require('./chunk-QSWKRIV3.js'); | ||
var chunkLWSLFAIJ_js = require('./chunk-LWSLFAIJ.js'); | ||
var chunkFP3SCFPB_js = require('./chunk-FP3SCFPB.js'); | ||
var chunkQL647645_js = require('./chunk-QL647645.js'); | ||
var tags = require('@linaria/tags'); | ||
var utils = require('@linaria/utils'); | ||
var KeyframesProcessor = class extends chunkQSWKRIV3_js.BaseProcessor { | ||
var KeyframesProcessor = class extends chunkFP3SCFPB_js.BaseProcessor { | ||
constructor(params, ...args) { | ||
super(params, ...args); | ||
if (params.length < 2) { | ||
throw chunkQSWKRIV3_js.BaseProcessor.SKIP; | ||
throw chunkFP3SCFPB_js.BaseProcessor.SKIP; | ||
} | ||
@@ -75,4 +75,4 @@ tags.validateParams( | ||
var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j; | ||
const keyframeName = chunkLWSLFAIJ_js.keyframes(styleObjOrTaggged, ...args); | ||
const cacheCssText = chunkLWSLFAIJ_js.cache.inserted[keyframeName.replace("animation-", "")]; | ||
const keyframeName = chunkQL647645_js.keyframes(styleObjOrTaggged, ...args); | ||
const cacheCssText = chunkQL647645_js.cache.inserted[keyframeName.replace("animation-", "")]; | ||
const cssText = cacheCssText.replaceAll(keyframeName, ""); | ||
@@ -79,0 +79,0 @@ const rules = { |
'use strict'; | ||
var chunk7CYLT3CW_js = require('./chunk-7CYLT3CW.js'); | ||
var chunkQSWKRIV3_js = require('./chunk-QSWKRIV3.js'); | ||
var chunkLWSLFAIJ_js = require('./chunk-LWSLFAIJ.js'); | ||
var chunkQKEZRCL2_js = require('./chunk-QKEZRCL2.js'); | ||
var chunkFP3SCFPB_js = require('./chunk-FP3SCFPB.js'); | ||
var chunkQL647645_js = require('./chunk-QL647645.js'); | ||
var tags = require('@linaria/tags'); | ||
@@ -108,3 +108,3 @@ var utils = require('@linaria/utils'); | ||
// src/processors/styled.ts | ||
var StyledProcessor = class extends chunkQSWKRIV3_js.BaseProcessor { | ||
var StyledProcessor = class extends chunkFP3SCFPB_js.BaseProcessor { | ||
constructor(params, ...args) { | ||
@@ -125,3 +125,3 @@ var _a; | ||
if (params.length <= 2) { | ||
throw chunkQSWKRIV3_js.BaseProcessor.SKIP; | ||
throw chunkFP3SCFPB_js.BaseProcessor.SKIP; | ||
} | ||
@@ -456,3 +456,3 @@ tags.validateParams( | ||
...styleObj.variants.map( | ||
(variant) => chunkLWSLFAIJ_js.__spreadProps(chunkLWSLFAIJ_js.__spreadValues({}, variant), { | ||
(variant) => chunkQL647645_js.__spreadProps(chunkQL647645_js.__spreadValues({}, variant), { | ||
originalExpression: styleArg | ||
@@ -464,3 +464,3 @@ }) | ||
delete styleObj.variants; | ||
const res = chunk7CYLT3CW_js.cssFnValueToVariable({ | ||
const res = chunkQKEZRCL2_js.cssFnValueToVariable({ | ||
styleObj, | ||
@@ -477,3 +477,3 @@ expressionValue: styleArg, | ||
} | ||
return chunk7CYLT3CW_js.processCssObject(styleObj, themeArgs); | ||
return chunkQKEZRCL2_js.processCssObject(styleObj, themeArgs); | ||
} | ||
@@ -480,0 +480,0 @@ get asSelector() { |
'use strict'; | ||
var chunk7CYLT3CW_js = require('./chunk-7CYLT3CW.js'); | ||
var chunkLWSLFAIJ_js = require('./chunk-LWSLFAIJ.js'); | ||
var chunkQKEZRCL2_js = require('./chunk-QKEZRCL2.js'); | ||
var chunkQL647645_js = require('./chunk-QL647645.js'); | ||
var tags = require('@linaria/tags'); | ||
@@ -139,3 +139,3 @@ var utils = require('@linaria/utils'); | ||
} | ||
return typeof customSlugFn === "function" ? customSlugFn(context) : tags.buildSlug(customSlugFn, chunkLWSLFAIJ_js.__spreadValues({}, context)); | ||
return typeof customSlugFn === "function" ? customSlugFn(context) : tags.buildSlug(customSlugFn, chunkQL647645_js.__spreadValues({}, context)); | ||
} | ||
@@ -163,3 +163,3 @@ // Implementation taken from Linaria - https://github.com/callstack/linaria/blob/master/packages/react/src/processors/styled.ts#L362 | ||
const styleObj = typeof styleObjOrFn === "function" ? styleObjOrFn(themeArgs) : styleObjOrFn; | ||
const res = chunk7CYLT3CW_js.cssFnValueToVariable({ | ||
const res = chunkQKEZRCL2_js.cssFnValueToVariable({ | ||
styleObj, | ||
@@ -174,3 +174,3 @@ expressionValue, | ||
} | ||
return chunk7CYLT3CW_js.processCssObject(styleObj, themeArgs, false); | ||
return chunkQKEZRCL2_js.processCssObject(styleObj, themeArgs, false); | ||
} | ||
@@ -177,0 +177,0 @@ }; |
@@ -0,1 +1,3 @@ | ||
export { createTheme, experimental_extendTheme as extendTheme } from '@mui/material/styles'; | ||
type PluginCustomOptions = { | ||
@@ -2,0 +4,0 @@ /** |
'use strict'; | ||
require('./chunk-LVLXAJNT.js'); | ||
var helperModuleImports = require('@babel/helper-module-imports'); | ||
@@ -8,4 +9,2 @@ var helperPluginUtils = require('@babel/helper-plugin-utils'); | ||
// src/utils/pre-linaria-plugin.ts | ||
// src/utils/checkStaticObjectOrArray.ts | ||
@@ -12,0 +11,0 @@ function isStaticObjectExpression(nodePath) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
1457505
67
15032
11
143
3