New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

postcss-px2rpx

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

postcss-px2rpx - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

.history/index_2016112504743.js

4

index.js

@@ -5,3 +5,3 @@ var postcss = require('postcss');

opts = opts || {};
var times = opts.times || 0.5;
var timesBigger = opts.times || 2;

@@ -17,3 +17,3 @@ // Work with options here

decl.value = val.replace(/(\d)px/g, function (match, num) {
return num * times + 'rpx';
return num * timesBigger + 'rpx';
});

@@ -20,0 +20,0 @@ }

{
"name": "postcss-px2rpx",
"version": "0.0.2",
"version": "0.0.3",
"description": "PostCSS plugin for converting px values (adapting to iPhone 6) to Weapp's rpx values.",

@@ -5,0 +5,0 @@ "keywords": [

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