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

polyfills-db

Package Overview
Dependencies
Maintainers
2
Versions
53
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

polyfills-db - npm Package Compare versions

Comparing version 0.4.0 to 0.5.0

29

lib/postcss.js

@@ -64,1 +64,30 @@ var inherits = require('util').inherits

})
// http://caniuse.com/css-variables
// https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_variables
Transform.register({
name: 'variables',
module: 'postcss-custom-properties',
detect: function (str) {
return /\bvar\(/.test(str)
},
browsers: {
ff: 31,
}
})
Transform.register({
name: 'custom-media',
module: 'postcss-custom-media',
detect: function (str) {
return /@custom-media\b/.test(str)
},
})
Transform.register({
name: 'colors',
module: 'postcss-color',
detect: function () {
return /\bcolor\(/.test(str)
},
})

3

package.json
{
"name": "polyfills-db",
"description": "browser feature database",
"version": "0.4.0",
"version": "0.5.0",
"author": {

@@ -32,2 +32,3 @@ "name": "Jonathan Ong",

"postcss-calc": "2",
"postcss-custom-properties": "0",
"mocha": "1",

@@ -34,0 +35,0 @@ "istanbul": "0"

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