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.1.0 to 0.1.1

test/cases/object-fit.css

26

dist/data/features.js

@@ -1,3 +0,5 @@

var matchOutsideOfBrackets, pats;
var list, matchOutsideOfBrackets, pats;
list = require('postcss/lib/list');
pats = {

@@ -114,3 +116,8 @@ attrcc: '[^\\~|^$*\\]]*',

'multibackgrounds': {
unimplemented: true
properties: [/^background-?/],
values: [
function(value) {
return list.comma(value).length > 1;
}
]
},

@@ -142,6 +149,7 @@ 'css-table': {

'css-mediaqueries': {
atrules: ['@media']
atrules: ['media']
},
'css-canvas': {
unimplemented: true
properties: [/^background/],
values: [/^-webkit-canvas/]
},

@@ -155,15 +163,15 @@ 'css-reflections': {

'css-featurequeries': {
unimplemented: true
atrules: ['supports']
},
'css-opacity': {
unimplemented: true
properties: ['opacity']
},
'text-overflow': {
unimplemented: true
properties: ['text-overflow']
},
'wordwrap': {
unimplemented: true
properties: ['overflow-wrap']
},
'object-fit': {
unimplemented: true
properties: ['object-fit']
},

@@ -170,0 +178,0 @@ 'minmaxwh': {

@@ -17,2 +17,4 @@ var Detector, features, isFoundIn, _;

return searchfor.test(str);
} else if (_.isFunction(searchfor)) {
return searchfor(str);
} else {

@@ -93,3 +95,13 @@ return (str != null ? str.indexOf(searchfor) : void 0) >= 0;

Detector.prototype.atrule = function(atrule, cb) {
console.warn("@-rule unimplemented!");
var data, feat, _ref, _ref1;
_ref = this.features;
for (feat in _ref) {
data = _ref[feat];
if (_.find((_ref1 = data.atrules) != null ? _ref1 : [], isFoundIn(atrule.name))) {
cb({
usage: atrule,
feature: feat
});
}
}
return this.process(atrule, cb);

@@ -96,0 +108,0 @@ };

{
"name": "doiuse",
"version": "0.1.0",
"version": "0.1.1",
"description": "Lint CSS for browser support against caniuse database.",

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

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

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