Socket
Socket
Sign inDemoInstall

style-parser

Package Overview
Dependencies
1
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.2 to 1.1.0

5

package.json
{
"name": "style-parser",
"version": "1.0.2",
"version": "1.1.0",
"description": "css style parser in Node.js",
"main": "index.js",
"scripts": {
"test": "node test.js"
"test": "./node_modules/.bin/istanbul cover test.js"
},

@@ -15,4 +15,5 @@ "author": "Yorkie Liu <yorkiefixer@gmail.com>",

"devDependencies": {
"istanbul": "^0.4.3",
"tape": "^4.5.1"
}
}

3

README.md

@@ -6,2 +6,3 @@ # style-parser

[![Dependency Status][david-image]][david-url]
[![Test coverage][coveralls-image]][coveralls-url]
[![Downloads][downloads-image]][downloads-url]

@@ -73,2 +74,4 @@

[travis-url]: https://travis-ci.org/weflex/style-parser
[coveralls-image]: https://img.shields.io/codecov/c/github/weflex/style-parser.svg?style=flat-square
[coveralls-url]: https://codecov.io/github/weflex/style-parser?branch=master
[david-image]: http://img.shields.io/david/weflex/style-parser.svg?style=flat-square

@@ -75,0 +78,0 @@ [david-url]: https://david-dm.org/weflex/style-parser

@@ -32,1 +32,7 @@ 'use strict';

});
// test failure
test('test parse error', t => {
t.throws(() => parse('foobar'), SyntaxError, 'should throw a syntax error');
t.end();
});

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc