New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@pandacss/parser

Package Overview
Dependencies
Maintainers
1
Versions
1153
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@pandacss/parser - npm Package Compare versions

Comparing version 0.0.0-dev-20221128124624 to 0.0.0-dev-20221128130912

9

dist/index.js

@@ -211,13 +211,16 @@ "use strict";

const tag = node.getTagNameNode().getText();
if (!matchProp.tag(tag))
if (!tag || !matchProp.tag(tag)) {
continue;
}
const props = node.getAttributes();
const data = {};
for (const prop of props) {
if (!import_ts_morph3.Node.isJsxAttribute(prop))
if (!import_ts_morph3.Node.isJsxAttribute(prop)) {
continue;
}
const name = prop.getName();
const value = prop.getInitializer();
if (!matchProp.prop({ tag, name }))
if (!tag || !matchProp.prop({ tag, name })) {
continue;
}
(0, import_ts_pattern2.match)(value).when(import_ts_morph3.Node.isStringLiteral, (value2) => {

@@ -224,0 +227,0 @@ data[name] = value2.getLiteralValue();

{
"name": "@pandacss/parser",
"version": "0.0.0-dev-20221128124624",
"version": "0.0.0-dev-20221128130912",
"description": "The static parser for panda css",

@@ -16,9 +16,9 @@ "main": "dist/index.js",

"ts-morph": "17.0.1",
"@pandacss/logger": "0.0.0-dev-20221128124624",
"@pandacss/shared": "0.0.0-dev-20221128124624",
"@pandacss/is-valid-prop": "0.0.0-dev-20221128124624",
"@pandacss/types": "0.0.0-dev-20221128124624"
"@pandacss/logger": "0.0.0-dev-20221128130912",
"@pandacss/shared": "0.0.0-dev-20221128130912",
"@pandacss/is-valid-prop": "0.0.0-dev-20221128130912",
"@pandacss/types": "0.0.0-dev-20221128130912"
},
"devDependencies": {
"@pandacss/fixture": "0.0.0-dev-20221128124624"
"@pandacss/fixture": "0.0.0-dev-20221128130912"
},

@@ -25,0 +25,0 @@ "files": [

Sorry, the diff of this file is not supported yet

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