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

lesshint

Package Overview
Dependencies
Maintainers
2
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lesshint - npm Package Compare versions

Comparing version 2.0.1 to 2.0.2

6

CHANGELOG.md
# Changelog
## 2.0.2 (2016-07-31)
* Fixed an issue where the wrong line was reported in `decimalZero`. ([e0c8e94](https://github.com/lesshint/lesshint/commit/e0c8e942fcf7bd0a741e24e3b26aa1a953400d59))
* Removed unnecessary `gulp-debug-finder` dependency. ([967968b](https://github.com/lesshint/lesshint/commit/967968bd75a916581517cf85fb97e7725560b317))
* Bumped `postcss-values-parser` to `0.1.7` and added tests for a bug fixed there. ([22e11eb](https://github.com/lesshint/lesshint/commit/22e11eb0b76dfd8fc5e806b9bb35aaea6a1ee765))
* Fixed some broken tests. ([44b542f](https://github.com/lesshint/lesshint/commit/44b542fdf5f3c0ed8bf6380f871203d20673575f))
## 2.0.1 (2016-07-25)

@@ -3,0 +9,0 @@ * Fixed an issue where `finalNewline` and `trailingWhitespace` weren't called. ([6386b4c](https://github.com/lesshint/lesshint/commit/6386b4c846e5bbb5aa9ba834a78f3a3fb0241925))

9

gulpfile.js

@@ -37,9 +37,4 @@ var gulp = require('gulp');

.pipe(coveralls());
})
});
gulp.task('default', ['test'], function () {
var debugFinder = require('gulp-debug-finder');
return gulp.src(['./test/**/*.js'])
.pipe(debugFinder());
});
gulp.task('default', ['test']);

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

column: node.source.start.column + node.prop.length + node.raws.between.length + child.source.start.column - 1,
line: child.source.start.line,
line: node.source.start.line,
message: util.format(self.message, number, output.inclusion, output.type)

@@ -72,0 +72,0 @@ });

{
"name": "lesshint",
"description": "A tool to aid you in writing clean and consistent Less.",
"version": "2.0.1",
"version": "2.0.2",
"main": "./lib/lesshint.js",

@@ -28,3 +28,3 @@ "author": {

"postcss-selector-parser": "^2.0.0",
"postcss-values-parser": "^0.1.0",
"postcss-values-parser": "^0.1.7",
"rcfinder": "^0.1.8",

@@ -39,3 +39,2 @@ "strip-json-comments": "^2.0.0",

"gulp-coveralls": "^0.1.4",
"gulp-debug-finder": "^1.0.0",
"gulp-eslint": "^2.0.0",

@@ -42,0 +41,0 @@ "gulp-istanbul": "^0.10.2",

@@ -276,4 +276,3 @@ 'use strict';

return spec.parse(source, function (ast) {
var node = ast.root.first.first;
var lint = spec.linter.lint.bind(null, options, node);
var lint = spec.linter.lint.bind(null, options, ast.root.first);

@@ -280,0 +279,0 @@ expect(lint).to.throw(Error);

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

return spec.parse(source, function (ast) {
var lint = spec.linter.lint.bind(null, options, ast);
var lint = spec.linter.lint.bind(null, options, ast.root.first);

@@ -181,0 +181,0 @@ expect(lint).to.throw(Error);

@@ -136,2 +136,12 @@ 'use strict';

});
it('should not report on browser-prefixed functions', function () {
var source = 'background: -webkit-linear-gradient(0);';
return spec.parse(source, function (ast) {
var result = spec.linter.lint(options, ast.root.first);
expect(result).to.be.undefined;
});
});
}); // "both"

@@ -138,0 +148,0 @@

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