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

doiuse

Package Overview
Dependencies
Maintainers
1
Versions
57
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

doiuse - npm Package Compare versions

Comparing version 0.2.3 to 0.2.4

2

package.json
{
"name": "doiuse",
"version": "0.2.3",
"version": "0.2.4",
"description": "Lint CSS for browser support against caniuse database.",

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

@@ -13,8 +13,11 @@

var inp = rules();
var processor = postcss(doiuse({
browserSelection: browsers,
onUnsupportedFeatureUse: pushUsage
}));
var out = through.obj(function(rule, enc, next) {
try {
postcss(doiuse({
browserSelection: browsers,
onUnsupportedFeatureUse: this.push.bind(this)
})).process(rule.content);
processor.process(rule.content);
}

@@ -25,2 +28,6 @@ catch(e) {

});
function pushUsage(usage) {
out.push(usage);
}

@@ -27,0 +34,0 @@ inp.pipe(out);

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