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

@vanilla-extract/babel-plugin-debug-ids

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vanilla-extract/babel-plugin-debug-ids - npm Package Compare versions

Comparing version 0.0.0-vite-plugin-new-20240115025310 to 0.0.0-vite-plugin-new-20240115050437

5

dist/vanilla-extract-babel-plugin-debug-ids.cjs.dev.js

@@ -93,4 +93,5 @@ 'use strict';

else if (firstRelevantParentPath.parent.declarations.length === 1) {
var _firstRelevantParentP;
const [themeDeclarator] = firstRelevantParentPath.parent.declarations;
const nextSibling = firstRelevantParentPath.parentPath?.getNextSibling().node;
const nextSibling = (_firstRelevantParentP = firstRelevantParentPath.parentPath) === null || _firstRelevantParentP === void 0 ? void 0 : _firstRelevantParentP.getNextSibling().node;
if (core.types.isCallExpression(themeDeclarator.init) && core.types.isCallExpression(themeDeclarator.init.arguments[0]) && core.types.isIdentifier(themeDeclarator.init.arguments[0].callee, {

@@ -191,3 +192,3 @@ name: 'createTheme'

} = debuggableFunctionConfig[usedExport];
if (node.arguments.length < maxParams && !hasDebugId?.(node)) {
if (node.arguments.length < maxParams && !(hasDebugId !== null && hasDebugId !== void 0 && hasDebugId(node))) {
const debugIdent = getDebugId(path);

@@ -194,0 +195,0 @@ if (debugIdent) {

@@ -93,4 +93,5 @@ 'use strict';

else if (firstRelevantParentPath.parent.declarations.length === 1) {
var _firstRelevantParentP;
const [themeDeclarator] = firstRelevantParentPath.parent.declarations;
const nextSibling = firstRelevantParentPath.parentPath?.getNextSibling().node;
const nextSibling = (_firstRelevantParentP = firstRelevantParentPath.parentPath) === null || _firstRelevantParentP === void 0 ? void 0 : _firstRelevantParentP.getNextSibling().node;
if (core.types.isCallExpression(themeDeclarator.init) && core.types.isCallExpression(themeDeclarator.init.arguments[0]) && core.types.isIdentifier(themeDeclarator.init.arguments[0].callee, {

@@ -191,3 +192,3 @@ name: 'createTheme'

} = debuggableFunctionConfig[usedExport];
if (node.arguments.length < maxParams && !hasDebugId?.(node)) {
if (node.arguments.length < maxParams && !(hasDebugId !== null && hasDebugId !== void 0 && hasDebugId(node))) {
const debugIdent = getDebugId(path);

@@ -194,0 +195,0 @@ if (debugIdent) {

@@ -89,4 +89,5 @@ import { types } from '@babel/core';

else if (firstRelevantParentPath.parent.declarations.length === 1) {
var _firstRelevantParentP;
const [themeDeclarator] = firstRelevantParentPath.parent.declarations;
const nextSibling = firstRelevantParentPath.parentPath?.getNextSibling().node;
const nextSibling = (_firstRelevantParentP = firstRelevantParentPath.parentPath) === null || _firstRelevantParentP === void 0 ? void 0 : _firstRelevantParentP.getNextSibling().node;
if (types.isCallExpression(themeDeclarator.init) && types.isCallExpression(themeDeclarator.init.arguments[0]) && types.isIdentifier(themeDeclarator.init.arguments[0].callee, {

@@ -187,3 +188,3 @@ name: 'createTheme'

} = debuggableFunctionConfig[usedExport];
if (node.arguments.length < maxParams && !hasDebugId?.(node)) {
if (node.arguments.length < maxParams && !(hasDebugId !== null && hasDebugId !== void 0 && hasDebugId(node))) {
const debugIdent = getDebugId(path);

@@ -190,0 +191,0 @@ if (debugIdent) {

2

package.json
{
"name": "@vanilla-extract/babel-plugin-debug-ids",
"version": "0.0.0-vite-plugin-new-20240115025310",
"version": "0.0.0-vite-plugin-new-20240115050437",
"description": "Zero-runtime Stylesheets-in-TypeScript",

@@ -5,0 +5,0 @@ "main": "dist/vanilla-extract-babel-plugin-debug-ids.cjs.js",

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