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

@vxapp/wxss

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vxapp/wxss - npm Package Compare versions

Comparing version 0.0.15 to 0.0.16

11

index.js

@@ -7,8 +7,6 @@ const fs = require('fs');

const mkdir = promisify(fs.mkdir);
const exists = promisify(fs.exists);
const readFile = promisify(fs.readFile);
const writeFile = promisify(fs.writeFile);
const ensureDir = async dir => {
const ensureDir = dir => {
const paths = [];

@@ -18,8 +16,7 @@ dir.split(path.sep).reduce((prev, cur) => {

paths.push(result);
try{
fs.mkdirSync(result);
}catch(e){}
return result;
}, path.sep);
for(const cur of paths){
const isExists = await exists(cur);
!isExists && await mkdir(cur);
}
};

@@ -26,0 +23,0 @@

{
"name": "@vxapp/wxss",
"version": "0.0.15",
"version": "0.0.16",
"description": "wechat mini-program wxss parser",

@@ -21,6 +21,6 @@ "keywords": [

"dependencies": {
"@vxapp/resolve": "^0.0.10",
"@vxapp/resolve": "^0.0.11",
"postcss": "^7.0.6"
},
"gitHead": "e02dc67596abd028828e628e539ed6f398e1f822"
"gitHead": "7787bf09096686206ef0b336b72a1522f8df39c7"
}
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