Socket
Socket
Sign inDemoInstall

cssstyle

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cssstyle - npm Package Compare versions

Comparing version 0.2.22 to 0.2.23

2

lib/properties/fontFamily.js

@@ -9,3 +9,3 @@ 'use strict';

var parts = v.split(partsRegEx);
var len = parts.len;
var len = parts.length;
var i;

@@ -12,0 +12,0 @@ var type;

@@ -5,3 +5,3 @@ {

"keywords": ["CSS", "CSSStyleDeclaration", "StyleSheet"],
"version": "0.2.22",
"version": "0.2.23",
"homepage": "https://github.com/chad3814/CSSStyleDeclaration",

@@ -8,0 +8,0 @@ "maintainers": [{

@@ -98,11 +98,11 @@ "use strict";

style.border = '0 solid black';
test.ok('0px', style.borderWidth, 'borderWidth is not 0px');
test.ok('solid', style.borderStyle, 'borderStyle is not solid');
test.ok('black', style.borderColor, 'borderColor is not black');
test.ok('0px', style.borderTopWidth, 'borderTopWidth is not 0px');
test.ok('solid', style.borderLeftStyle, 'borderLeftStyle is not solid');
test.ok('black', style.borderBottomColor, 'borderBottomColor is not black');
test.ok('0px' === style.borderWidth, 'borderWidth is not 0px');
test.ok('solid' === style.borderStyle, 'borderStyle is not solid');
test.ok('black' === style.borderColor, 'borderColor is not black');
test.ok('0px' === style.borderTopWidth, 'borderTopWidth is not 0px');
test.ok('solid' === style.borderLeftStyle, 'borderLeftStyle is not solid');
test.ok('black' === style.borderBottomColor, 'borderBottomColor is not black');
style.font = '12em monospace';
test.ok('12em', style.fontSize, 'fontSize is not 12em');
test.ok('monospace', style.fontFamily, 'fontFamily is not monospace');
test.ok('12em' === style.fontSize, 'fontSize is not 12em');
test.ok('monospace' === style.fontFamily, 'fontFamily is not monospace');
test.done();

@@ -109,0 +109,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