New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

csslint-loader

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

csslint-loader - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

.npmignore

5

lib/getConfig.js

@@ -5,2 +5,3 @@ 'use strict';

var fs = require('fs');
var stripJsonComments = require('strip-json-comments');

@@ -10,3 +11,3 @@ module.exports = function(options) {

// Check the root folder to see if config file exists
var config = fs.readFileSync(options.configFile);
var config = fs.readFileSync(options.configFile, 'utf-8');
} catch (e) {

@@ -18,3 +19,3 @@ console.log('There is no csslint config file');

try {
var rules = JSON.parse(config);
var rules = JSON.parse(stripJsonComments(config));
} catch (e) {

@@ -21,0 +22,0 @@ throw new Error('Error parsing csslintrc: ' + e);

3

package.json
{
"name": "csslint-loader",
"version": "0.2.0",
"version": "0.2.1",
"description": "CSSLint loader for Webpack",

@@ -27,2 +27,3 @@ "main": "index.js",

"object-assign": "^2.0.0",
"strip-json-comments": "^1.0.2",
"text-table": "^0.2.0"

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