Socket
Socket
Sign inDemoInstall

@lingxiteam/bundle-less-theme-tools

Package Overview
Dependencies
0
Maintainers
7
Versions
20
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.0.1-alpha.12 to 0.0.1-alpha.13

4

index.js

@@ -77,4 +77,4 @@

if (importPath.startsWith('~')) {
// 匹配;~xxx、~@xxx-xxx/xxx、~xxx-xxx、~@xxx/xxx
const moduleNameMatch = /^~([a-zA-Z]+|[a-zA-Z]+\-[a-zA-Z]+|@[a-zA-Z]+\-[a-zA-Z]+\/([a-zA-Z]+|[a-zA-Z]+\-[a-zA-Z]+))/;
// 匹配;~xxx、~xxx-xxx、~@xxx-xxx/xxx、~@xxx-xxx/xxx-xxx、~@xxx/xxx、~@xxx/xxx-xxx
const moduleNameMatch = /^~([a-zA-Z]+-[a-zA-Z]+|[a-zA-Z]+|(@[a-zA-Z]+-[a-zA-Z]+\/([a-zA-Z]+-[a-zA-Z]+|[a-zA-Z]+))|(@[a-zA-Z]+\/([a-zA-Z]+-[a-zA-Z]+|[a-zA-Z]+)))/g;
const moduleName = importPath.match(moduleNameMatch)[0].replace('~','');

@@ -81,0 +81,0 @@

{
"name": "@lingxiteam/bundle-less-theme-tools",
"version": "0.0.1-alpha.12",
"version": "0.0.1-alpha.13",
"description": "A tool for bundling less theme files.",

@@ -8,3 +8,3 @@ "main": "index.js",

"license": "MIT",
"gitHead": "2a9bf3ec7033eb5781ca11656d11d8771aa52fd6"
"gitHead": "b4af1b9d247b1d02c6f27394022fea74a9804c71"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc