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

absurd

Package Overview
Dependencies
Maintainers
1
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

absurd - npm Package Compare versions

Comparing version 0.0.28 to 0.0.29

lib/plugins/page.js

2

lib/api/add.js

@@ -29,3 +29,3 @@ module.exports = function(API) {

// check for media query
} else if(prop.indexOf("@media") === 0) {
} else if(prop.indexOf("@media") === 0 || prop.indexOf("@supports") === 0) {
addRule(selector, props[prop], prop);

@@ -32,0 +32,0 @@ // check for plugins

{
"name": "absurd",
"version": "0.0.28",
"version": "0.0.29",
"homepage": "https://github.com/krasimir/absurd",

@@ -5,0 +5,0 @@ "description": "CSS preprocessor",

@@ -1,6 +0,6 @@

describe("Test case (media)", function() {
describe("Test case (namespace)", function() {
var Absurd = require('../../../index.js');
it("media / js", function(done) {
it("namespace / js", function(done) {
Absurd(__dirname + '/code.js').compile(function(err, css) {

@@ -14,3 +14,3 @@ expect(err).toBe(null);

it("media / json", function(done) {
it("namespace / json", function(done) {
Absurd(__dirname + '/code.json').compile(function(err, css) {

@@ -24,3 +24,3 @@ expect(err).toBe(null);

it("media / css", function(done) {
it("namespace / css", function(done) {
Absurd(__dirname + '/code.css').compile(function(err, css) {

@@ -27,0 +27,0 @@ expect(err).toBe(null);

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