Bump to 3.0.0-RC.1

- Remove UMD spec from plugins
This commit is contained in:
Matthew Dean
2018-02-04 09:48:39 -08:00
parent d30e3a6058
commit 8b4524f644
5 changed files with 5880 additions and 29 deletions

14
dist/less.js vendored
View File

@@ -1,8 +1,8 @@
/*!
* Less - Leaner CSS v3.0.0-alpha.3
* Less - Leaner CSS v3.0.0-RC.1
* http://lesscss.org
*
* Copyright (c) 2009-2017, Alexis Sellier <self@cloudhead.net>
* Copyright (c) 2009-2018, Alexis Sellier <self@cloudhead.net>
* Licensed under the Apache-2.0 License.
*
*/
@@ -2872,13 +2872,13 @@ module.exports = function(environment, fileManagers) {
/* eslint guard-for-in: 0 */
t = initial.tree[n];
if (typeof t === "function") {
api[n] = ctor(t);
api[n.toLowerCase()] = ctor(t);
}
else {
api[n] = Object.create(null);
for (var o in t) {
/* eslint guard-for-in: 0 */
api[n][o] = ctor(t[o]);
api[n][o.toLowerCase()] = ctor(t[o]);
}
}
}
@@ -3600,7 +3600,8 @@ var LessError = require('../less-error'),
tree = require("../tree"),
visitors = require("../visitors"),
getParserInput = require("./parser-input"),
utils = require("../utils");
utils = require("../utils"),
functionRegistry = require('../functions/function-registry');
//
// less.js - parser
@@ -3783,6 +3784,7 @@ var Parser = function Parser(context, imports, fileInfo) {
tree.Node.prototype.rootNode = root;
root.root = true;
root.firstRoot = true;
root.functionRegistry = functionRegistry.inherit();
} catch (e) {
return callback(new LessError(e, imports, fileInfo.filename));
@@ -5594,7 +5596,7 @@ Parser.serializeVars = function(vars) {
module.exports = Parser;
},{"../less-error":36,"../tree":66,"../utils":88,"../visitors":92,"./parser-input":41}],43:[function(require,module,exports){
},{"../functions/function-registry":26,"../less-error":36,"../tree":66,"../utils":88,"../visitors":92,"./parser-input":41}],43:[function(require,module,exports){
var utils = require('./utils');
/**
* Plugin Manager

12
dist/less.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -1,16 +0,0 @@
(function (root, factory) {
if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof module === 'object' && module.exports) {
module.exports = factory();
} else {
(root.LESS_PLUGINS = root.LESS_PLUGINS || []).push(factory());
}
}(this, function () {
// Less.js Plugin object
return {
install: function(less, pluginManager, functions) {
// functions.add('')
}
};
}));

5865
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -1,6 +1,6 @@
{
"name": "less",
"version": "3.0.0-alpha.3",
"version": "3.0.0-RC.1",
"description": "Leaner CSS",
"homepage": "http://lesscss.org",
"author": {