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

@dcasia/mini-program-tailwind-webpack-plugin

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dcasia/mini-program-tailwind-webpack-plugin - npm Package Compare versions

Comparing version 1.3.4-beta2 to 1.3.4-beta3

8

dist/taro.js

@@ -217,3 +217,5 @@ 'use strict';

var targetClassFieldName = classFieldName[framework] || [];
return targetClassFieldName.includes(path.node.name);
var key = path.get('key');
var keyName = key.isIdentifier() && key.node.name;
return targetClassFieldName.includes(keyName);
}

@@ -249,5 +251,6 @@ function recordClassNameChanges(rawContent, newContent) {

*/
Identifier: {
ObjectProperty: {
enter: function (path, state) {
if (isIdentifierTheClassField(path, state.opts.framework)) {
console.log('enter');
isVisitingClassNameField = true;

@@ -258,2 +261,3 @@ }

if (isIdentifierTheClassField(path, state.opts.framework)) {
console.log('exit');
isVisitingClassNameField = false;

@@ -260,0 +264,0 @@ }

{
"name": "@dcasia/mini-program-tailwind-webpack-plugin",
"version": "1.3.4beta2",
"version": "1.3.4beta3",
"description": "让你的小程序用上原汁原味的 Tailwind/Windi CSS",

@@ -5,0 +5,0 @@ "keywords": ["miniprogram", "mini-program", "tailwindcss", "windicss", "wechat", "taro", "css", "postcss"],

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