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

@pandacss/parser

Package Overview
Dependencies
Maintainers
0
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.50.0 to 0.51.0

4

dist/index.d.ts

@@ -46,3 +46,3 @@ import * as _pandacss_types from '@pandacss/types';

declare function createParser(context: ParserOptions): (sourceFile: SourceFile | undefined, encoder?: Generator['encoder'], options?: ParserResultConfigureOptions & Partial<JsxFactoryResultTransform>) => ParserResult | undefined;
declare function createParser(context: ParserOptions): (sourceFile: SourceFile | undefined, encoder?: Generator["encoder"], options?: ParserResultConfigureOptions & Partial<JsxFactoryResultTransform>) => ParserResult | undefined;

@@ -73,3 +73,3 @@ interface ProjectOptions extends ProjectOptions$1 {

parseJson: (filePath: string) => ParserResult;
parseSourceFile: (filePath: string, encoder?: ParserOptions['encoder']) => ParserResult | undefined;
parseSourceFile: (filePath: string, encoder?: ParserOptions["encoder"]) => ParserResult | undefined;
transformFile: (filePath: string, content: string) => string;

@@ -76,0 +76,0 @@ classify: (fileMap: Map<string, ParserResultInterface>) => _pandacss_types.ClassifyReport;

@@ -919,3 +919,3 @@ "use strict";

const parsed = (0, import_compiler_sfc.parse)(code);
const fileStr = new import_magic_string2.default(`<template>${parsed.descriptor.template?.content}</template>` ?? "");
const fileStr = new import_magic_string2.default(`<template>${parsed.descriptor.template?.content}</template>`);
const rewriteProp = (prop) => {

@@ -922,0 +922,0 @@ if (prop.type === NodeTypes.DIRECTIVE && prop.exp?.type === NodeTypes.SIMPLE_EXPRESSION && prop.arg?.type === NodeTypes.SIMPLE_EXPRESSION) {

{
"name": "@pandacss/parser",
"version": "0.50.0",
"version": "0.51.0",
"description": "The static parser for panda css",

@@ -33,14 +33,14 @@ "main": "dist/index.js",

"magic-string": "0.30.17",
"ts-morph": "21.0.1",
"ts-morph": "24.0.0",
"ts-pattern": "5.0.8",
"@pandacss/config": "^0.50.0",
"@pandacss/core": "^0.50.0",
"@pandacss/extractor": "0.50.0",
"@pandacss/logger": "0.50.0",
"@pandacss/shared": "0.50.0",
"@pandacss/types": "0.50.0"
"@pandacss/config": "^0.51.0",
"@pandacss/core": "^0.51.0",
"@pandacss/extractor": "0.51.0",
"@pandacss/logger": "0.51.0",
"@pandacss/shared": "0.51.0",
"@pandacss/types": "0.51.0"
},
"devDependencies": {
"@vue/compiler-core": "3.4.19",
"@pandacss/generator": "0.50.0"
"@pandacss/generator": "0.51.0"
},

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

Sorry, the diff of this file is not supported yet

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