New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.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.1.0 to 1.1.1

10

dist/index.js
'use strict';
Object.defineProperty(exports, '__esModule', { value: true });
var postcss = require('postcss');

@@ -63,8 +61,2 @@ var wxml = require('@vivaxy/wxml');

var regExp = new RegExp("".concat(backslasheMap[type]).concat(from), 'g');
/**
* Todo
* To enhance the precision for hanlding different cases we need to do some special detections
* E.g. We need to only match the ':' character in the case 'mobile:h-12' instead of the case '{{a ? b : c}}'
* To do this we need to make sure the replacement will only happen inside quotes rather than curly braces
*/
content = content.replace(regExp, to);

@@ -169,2 +161,2 @@ }

exports.MiniProgramTailwindWebpackPlugin = MiniProgramTailwindWebpackPlugin;
module.exports = MiniProgramTailwindWebpackPlugin;

2

package.json
{
"name": "@dcasia/mini-program-tailwind-webpack-plugin",
"version": "1.1.0",
"version": "1.1.1",
"description": "",

@@ -5,0 +5,0 @@ "main": "dist/index.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