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

rfs

Package Overview
Dependencies
Maintainers
2
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

rfs - npm Package Compare versions

Comparing version 9.0.0 to 9.0.1

2

lib/rfs.js

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

// Multiply by remValue if value is in rem
// Convert to px if in rem
if (unit === 'rem') {

@@ -96,0 +96,0 @@ value *= this.opts.remValue;

{
"name": "rfs",
"version": "9.0.0",
"version": "9.0.1",
"main": "postcss.js",

@@ -42,3 +42,3 @@ "description": "Powerful & easy-to-use responsive resizing engine.",

"mocha": "mocha",
"stylelint": "stylelint \"**/*.less\" \"**/*.scss\" \"**/*.sass\" --cache --cache-location node_modules/.cache/stylelint",
"stylelint": "stylelint \"**/*.{less,scss}\" --cache --cache-location node_modules/.cache/stylelint",
"xo": "xo",

@@ -61,3 +61,3 @@ "lint": "npm-run-all --parallel xo stylelint",

"dependencies": {
"postcss-value-parser": "^4.0.1"
"postcss-value-parser": "^4.0.2"
},

@@ -71,11 +71,11 @@ "devDependencies": {

"less": "^3.10.3",
"mocha": "^6.2.0",
"mocha": "^6.2.2",
"node-sass": "^4.12.0",
"npm-run-all": "^4.1.5",
"postcss": "^7.0.17",
"postcss": "^7.0.18",
"prettier": "^1.18.2",
"stylelint": "^10.1.0",
"stylelint-config-standard": "^18.3.0",
"stylelint": "^11.1.1",
"stylelint-config-standard": "^19.0.0",
"stylus": "^0.54.7",
"xo": "^0.24.0"
"xo": "^0.25.3"
},

@@ -86,9 +86,2 @@ "xo": {

"ava/no-import-test-files": "off",
"prefer-destructuring": [
"error",
{
"object": true,
"array": false
}
],
"promise/prefer-await-to-then": "off",

@@ -95,0 +88,0 @@ "unicorn/prefer-exponentiation-operator": "off"

/*!
* PostCSS RFS plugin
*
* Automated responsive values for for font sizes, paddings, margins and much more
* Automated responsive values for font sizes, paddings, margins and much more
*

@@ -6,0 +6,0 @@ * Licensed under MIT (https://github.com/twbs/rfs/blob/master/LICENSE)

@@ -13,3 +13,3 @@ <p align="center">

[![licence][licence-image]][license-url]
![build][build-image]
[![build][build-image]][build-url]
[![devDeps][devDeps-image]][devDeps-url]

@@ -37,6 +37,6 @@

- No need to rescale paddings or margins anymore
- Text won't be chopped off smaller viewports when RFS is applied to font sizes
- RFS will prevent the font size from rescaling too small so readability can be assured
- The font sizes of all text elements will always remain in relation with each other
- No need to rescale paddings or margins anymore.
- Text won't be chopped off in smaller viewports when RFS is applied to font sizes.
- RFS will prevent the font size from rescaling too small, so readability can be assured.
- The font sizes of all text elements will always remain in relation with each other.

@@ -255,3 +255,3 @@ ## Fluid rescaling in action

Have a look at the [examples folder](https://github.com/twbs/rfs/tree/master/examples/postcss) to find examples of how your PostCSS setup can be configured.
Have a look at the [examples folder](https://github.com/twbs/rfs/tree/master/examples/postcss) to find examples on how your PostCSS setup can be configured.

@@ -264,3 +264,3 @@ ```postcss

// Or use it with any other property, eg
// Or use it with any other property, for example
// padding: rfs(4rem);

@@ -333,6 +333,6 @@

// For properties which do not have a shorthand, the property can be passed:
// For properties which do not have a shorthand, the property can be passed as:
// .rfs(4rem, border-radius);
// Whenever a value contains a space, it should be escaped with a tilde:
// Whenever a value contains a space, it should be escaped with a tilde(~):
// .rfs(0 0 4rem red ~"," 0 0 5rem blue, box-shadow)

@@ -425,3 +425,3 @@

// For properties which do not have a shorthand, the property can be passed:
// For properties which do not have a shorthand, the property can be passed as:
// rfs(4rem, border-radius)

@@ -622,4 +622,5 @@

[license-url]: https://github.com/twbs/rfs/blob/master/LICENSE
[build-image]: https://action-badges.now.sh/twbs/rfs
[build-image]: https://github.com/twbs/rfs/workflows/Tests/badge.svg
[build-url]: https://github.com/twbs/rfs/actions?workflow=Tests
[devDeps-image]: https://img.shields.io/david/dev/twbs/rfs.svg
[devDeps-url]: https://david-dm.org/twbs/rfs?type=dev

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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