[nodejs-less] New upstream release 1.5.0
Stephen Gallagher
sgallagh at fedoraproject.org
Tue Oct 22 13:33:44 UTC 2013
commit 6de86d5291f5c0cd7b0574d733c6c7a147800988
Author: Stephen Gallagher <sgallagh at redhat.com>
Date: Tue Oct 22 09:33:51 2013 -0400
New upstream release 1.5.0
- https://github.com/less/less.js/blob/v1.5.0/CHANGELOG.md
- sourcemap support
- support for import inline option to include css that you do NOT want less to
parse e.g. `@import (inline) "file.css";`
- better support for modifyVars (refresh styles with new variables, using a
file cache), is now more resiliant
- support for import reference option to reference external css, but not output
it. Any mixin calls or extend's will be output.
- support for guards on selectors (currently only if you have a single
selector)
- allow property merging through the +: syntax
- Added min/max functions
- Added length function and improved extract to work with comma seperated
values
- when using import multiple, sub imports are imported multiple times into
final output
- fix bad spaces between namespace operators
- do not compress comment if it begins with an exclamation mark
- Fix the saturate function to pass through when using the CSS syntax
- Added svg-gradient function
- Added no-js option to lessc (in browser, use javascriptEnabled: false) which
disallows JavaScript in less files
- switched from the little supported and buggy cssmin (previously ycssmin) to
clean-css
- support transparent as a color, but not convert between rgba(0, 0, 0, 0) and
transparent
- remove sys.puts calls to stop deprecation warnings in future node.js releases
- Browser: added logLevel option to control logging (2 = everything, 1 = errors
only, 0 = no logging)
- Browser: added errorReporting option which can be "html" (default) or
"console" or a function
- Now uses grunt for building and testing
- A few bug fixes for media queries, extends, scoping, compression and import
once.
- if you don't pass a strict maths option, font size/line height options are
output correctly again
- npmignore now include .gitattributes
- property names may include capital letters
- various windows path fixes (capital letters, multiple // in a path)
.gitignore | 1 +
...e-include-files-from-the-default-location.patch | 16 +++---
nodejs-less.spec | 46 +++++++++++++++++++-
sources | 2 +-
4 files changed, 54 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 2d635fd..26f912e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
/less-1.3.3.tgz
/less-1.4.0.tgz
/less-1.4.1.tgz
+/less-1.5.0.tgz
diff --git a/0001-Require-include-files-from-the-default-location.patch b/0001-Require-include-files-from-the-default-location.patch
index d04d54e..12a328a 100644
--- a/0001-Require-include-files-from-the-default-location.patch
+++ b/0001-Require-include-files-from-the-default-location.patch
@@ -1,14 +1,14 @@
-From 19a1dcbd5cd38c2493c949b2e2e212fb54aff855 Mon Sep 17 00:00:00 2001
+From 825a86355ce00702e7ca2705f8db09bca55bcb1f Mon Sep 17 00:00:00 2001
From: Stephen Gallagher <sgallagh at redhat.com>
Date: Wed, 19 Dec 2012 09:06:24 -0500
-Subject: [PATCH] Require include files from the default location :
+Subject: [PATCH] Require include files from the default location
---
bin/lessc | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/bin/lessc b/bin/lessc
-index ec058215d12936b813b93e87323fe11f9dd72ed8..3552e706e60a9f6ed7f30b9620d76ed064fed796 100755
+index 9ee3609a3acf940d6c3ae8045087d2178cfeaebe..c0381694a0f581c6ccf4d260ff3fa4d5f8702ffb 100755
--- a/bin/lessc
+++ b/bin/lessc
@@ -6,7 +6,7 @@ var path = require('path'),
@@ -20,7 +20,7 @@ index ec058215d12936b813b93e87323fe11f9dd72ed8..3552e706e60a9f6ed7f30b9620d76ed0
var args = process.argv.slice(1);
var options = {
depends: false,
-@@ -84,7 +84,7 @@ args = args.filter(function (arg) {
+@@ -88,7 +88,7 @@ args = args.filter(function (arg) {
break;
case 'h':
case 'help':
@@ -29,15 +29,15 @@ index ec058215d12936b813b93e87323fe11f9dd72ed8..3552e706e60a9f6ed7f30b9620d76ed0
continueProcessing = false;
case 'x':
case 'compress':
-@@ -172,7 +172,7 @@ if (output) {
+@@ -225,7 +225,7 @@ if (options.sourceMap === true) {
if (! input) {
- sys.puts("lessc: no input files");
- sys.puts("");
+ console.log("lessc: no input files");
+ console.log("");
- require('../lib/less/lessc_helper').printUsage();
+ require('less/lessc_helper').printUsage();
currentErrorcode = 1;
return;
}
--
-1.8.2.1
+1.8.3.1
diff --git a/nodejs-less.spec b/nodejs-less.spec
index aad9eb9..8931ec8 100644
--- a/nodejs-less.spec
+++ b/nodejs-less.spec
@@ -1,8 +1,8 @@
%{?nodejs_find_provides_and_requires}
Name: nodejs-less
-Version: 1.4.1
-Release: 2%{?dist}
+Version: 1.5.0
+Release: 1%{?dist}
Summary: Less.js The dynamic stylesheet language
# cssmin.js is licensed under BSD license
@@ -66,6 +66,48 @@ ln -s %{nodejs_sitelib}/less/bin/lessc \
%changelog
+* Tue Oct 22 2013 Stephen Gallagher <sgallagh at redhat.com> - 1.5.0-1
+- New upstream release 1.5.0
+- https://github.com/less/less.js/blob/v1.5.0/CHANGELOG.md
+- sourcemap support
+- support for import inline option to include css that you do NOT want less to
+ parse e.g. `@import (inline) "file.css";`
+- better support for modifyVars (refresh styles with new variables, using a
+ file cache), is now more resiliant
+- support for import reference option to reference external css, but not output
+ it. Any mixin calls or extend's will be output.
+- support for guards on selectors (currently only if you have a single
+ selector)
+- allow property merging through the +: syntax
+- Added min/max functions
+- Added length function and improved extract to work with comma seperated
+ values
+- when using import multiple, sub imports are imported multiple times into
+ final output
+- fix bad spaces between namespace operators
+- do not compress comment if it begins with an exclamation mark
+- Fix the saturate function to pass through when using the CSS syntax
+- Added svg-gradient function
+- Added no-js option to lessc (in browser, use javascriptEnabled: false) which
+ disallows JavaScript in less files
+- switched from the little supported and buggy cssmin (previously ycssmin) to
+ clean-css
+- support transparent as a color, but not convert between rgba(0, 0, 0, 0) and
+ transparent
+- remove sys.puts calls to stop deprecation warnings in future node.js releases
+- Browser: added logLevel option to control logging (2 = everything, 1 = errors
+ only, 0 = no logging)
+- Browser: added errorReporting option which can be "html" (default) or
+ "console" or a function
+- Now uses grunt for building and testing
+- A few bug fixes for media queries, extends, scoping, compression and import
+ once.
+- if you don't pass a strict maths option, font size/line height options are
+ output correctly again
+- npmignore now include .gitattributes
+- property names may include capital letters
+- various windows path fixes (capital letters, multiple // in a path)
+
* Sat Aug 03 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.4.1-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild
diff --git a/sources b/sources
index 9c000ca..4155fb6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-44c2051d718637e610b1ecf6fc578bcd less-1.4.1.tgz
+fdec530b1c3d447b054f770fdb8ff066 less-1.5.0.tgz
More information about the scm-commits
mailing list