@pandacss/extractor
Advanced tools
Comparing version 0.0.0-dev-20241207111535 to 0.0.0-dev-20241224161732
@@ -203,2 +203,3 @@ import { Node, CallExpression, JsxOpeningElement, JsxSelfClosingElement, Expression, SourceFile, TaggedTemplateExpression, PropertyAssignment, ShorthandPropertyAssignment, JsxAttribute, Identifier, VariableDeclaration, ParameterDeclaration, FunctionDeclaration, EnumDeclaration, BindingElement, JsxSpreadAttribute } from 'ts-morph'; | ||
from: typeof toBoxNode; | ||
objectToMap: (value: Record<string, unknown>, node: Node, stack: Node[]) => BoxNodeMap; | ||
emptyObject: (node: Node, stack: Node[]) => BoxNodeObject; | ||
@@ -205,0 +206,0 @@ emptyInitializer: (node: Node, stack: Node[]) => BoxNodeEmptyInitializer; |
@@ -234,2 +234,11 @@ "use strict"; | ||
from: toBoxNode, | ||
objectToMap: (value, node, stack) => { | ||
const map = new Map( | ||
Object.entries(value).map(([k, v]) => { | ||
const boxed = box.from(v, node, stack); | ||
return [k, boxed || null]; | ||
}) | ||
); | ||
return new BoxNodeMap({ type: "map", value: map, node, stack }); | ||
}, | ||
// | ||
@@ -236,0 +245,0 @@ emptyObject: (node, stack) => { |
{ | ||
"name": "@pandacss/extractor", | ||
"version": "0.0.0-dev-20241207111535", | ||
"version": "0.0.0-dev-20241224161732", | ||
"description": "The css extractor for css panda", | ||
@@ -37,3 +37,3 @@ "main": "dist/index.js", | ||
"ts-morph": "21.0.1", | ||
"@pandacss/shared": "0.0.0-dev-20241207111535" | ||
"@pandacss/shared": "0.0.0-dev-20241224161732" | ||
}, | ||
@@ -40,0 +40,0 @@ "scripts": { |
Sorry, the diff of this file is not supported yet
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
146472
3543
+ Added@pandacss/shared@0.0.0-dev-20241224161732(transitive)
- Removed@pandacss/shared@0.0.0-dev-20241207111535(transitive)