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

yarn.lock

14

index.js

@@ -0,6 +1,16 @@

const fs = require('fs-extra');
const postcss = require('postcss');
const wxss = (filename, out) => {
const wxss = (src, out, options = {}) => {
const { plugins = [] } = options;
const parser = postcss(plugins);
return async (input, output) => {
if(!fs.existsSync(input))
return console.error('[@vxapp/wxss] file does not exists:', input);
const source = await fs.readFile(input);
const result = await parser.process(source);
fs.writeFile(output, result.css);
};
};
module.exports = wxss;

7

package.json
{
"name": "@vxapp/wxss",
"version": "0.0.4",
"version": "0.0.5",
"description": "wechat mini-program wxss parser",

@@ -20,3 +20,6 @@ "keywords": [

},
"gitHead": "5afe243750a3f5eaa4650f15312d85f75f3d20d2"
"dependencies": {
"postcss": "^7.0.6"
},
"gitHead": "15145d4b818de01f331798eca5ec673b8e96a818"
}
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