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

postcss-plugin-weex

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-plugin-weex - npm Package Compare versions

Comparing version 0.1.0 to 0.1.1

components/indicator.js

4

components/index.js
const components = {
text: require('./text')
text: require('./text'),
indicator: require('./indicator'),
input: require('./input')
}

@@ -4,0 +6,0 @@

@@ -13,3 +13,3 @@ const postcss = require('postcss')

if (propArr.indexOf(prop) > -1) {
const styleObj = hooks[prop](value)
const styleObj = hooks[prop](value, { root, rule, decl })
for (const k in styleObj) {

@@ -23,3 +23,3 @@ appendDecls.push(postcss.decl({

})
rule.append.apply(rule, appendDecls)
// rule.append.apply(rule, appendDecls)
})

@@ -26,0 +26,0 @@ }

{
"name": "postcss-plugin-weex",
"version": "0.1.0",
"version": "0.1.1",
"description": "postcss plugin for weex-vue-render.",

@@ -5,0 +5,0 @@ "main": "index.js",

# postcss-plugin-weex
postcss plugin for weex-vue-render.
## styles
This plugin can process weex exclusive styles like below:
* `<text>`: 'lines'
* `<indicator>`: 'item-color', 'item-selected-color', 'item-size'
* `<input>`: 'placeholder-color'
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