From 321d807ea2fd13c9dd596c2b872f436ebacd5bec Mon Sep 17 00:00:00 2001 From: Andrey Taritsyn Date: Sun, 11 Nov 2018 21:48:48 +0300 Subject: [PATCH] Version 1.9.215 --- CHANGELOG.md | 7 ++++ .../BundleTransformer.Autoprefixer.nuspec | 2 +- .../BundleTransformer.Autoprefixer/readme.txt | 6 +-- ...ansformer.ConfigurationIntelliSense.nuspec | 2 +- .../readme.txt | 2 +- .../BundleTransformer.Less.nuspec | 4 +- NuGet/BundleTransformer.Less/readme.txt | 6 +-- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Properties/AssemblyInfo.cs | 4 +- .../Resources/less-combined.js | 37 +++++++++++++++++++ .../Properties/AssemblyInfo.cs | 4 +- 12 files changed, 63 insertions(+), 19 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 49577b239..f4673e82e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,13 @@ Change log ========== +## v1.9.215 - November 11, 2018 + * In BundleTransformer.ConfigurationIntelliSense updated definitions for configuration settings of LESS translator + * In BundleTransformer.Less: + * Added support of LESS version 3.8.1 + * In configuration settings of LESS translator the `StrictMath` property has been replaced by the `Math` property (default `Always`) + * In BundleTransformer.Autoprefixer added support of Autoprefixer version 9.3.1 + ## v1.9.214 - October 16, 2018 * In BundleTransformer.Autoprefixer added support of Autoprefixer version 9.2 diff --git a/NuGet/BundleTransformer.Autoprefixer/BundleTransformer.Autoprefixer.nuspec b/NuGet/BundleTransformer.Autoprefixer/BundleTransformer.Autoprefixer.nuspec index eb40d5a62..4e7dfc6c5 100644 --- a/NuGet/BundleTransformer.Autoprefixer/BundleTransformer.Autoprefixer.nuspec +++ b/NuGet/BundleTransformer.Autoprefixer/BundleTransformer.Autoprefixer.nuspec @@ -2,7 +2,7 @@ BundleTransformer.Autoprefixer - 1.9.214 + 1.9.215 Bundle Transformer: Autoprefixer Andrey Taritsyn Andrey Taritsyn diff --git a/NuGet/BundleTransformer.Autoprefixer/readme.txt b/NuGet/BundleTransformer.Autoprefixer/readme.txt index 0dade887f..8c0a1786a 100644 --- a/NuGet/BundleTransformer.Autoprefixer/readme.txt +++ b/NuGet/BundleTransformer.Autoprefixer/readme.txt @@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- - README file for Bundle Transformer: Autoprefixer v1.9.214 + README file for Bundle Transformer: Autoprefixer v1.9.215 -------------------------------------------------------------------------------- @@ -28,8 +28,8 @@ POST-INSTALL ACTIONS ==================== For correct working of this module, you need to install one of the following - NuGet packages: JavaScriptEngineSwitcher.Msie, JavaScriptEngineSwitcher.V8 or - JavaScriptEngineSwitcher.ChakraCore. + NuGet packages: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), + JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore. After package is installed and JS engine is registered (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines), need set a name of JS engine (for example, `MsieJsEngine`) to the `name` diff --git a/NuGet/BundleTransformer.ConfigurationIntelliSense/BundleTransformer.ConfigurationIntelliSense.nuspec b/NuGet/BundleTransformer.ConfigurationIntelliSense/BundleTransformer.ConfigurationIntelliSense.nuspec index 4c3f3d8e1..bbdfea5b9 100644 --- a/NuGet/BundleTransformer.ConfigurationIntelliSense/BundleTransformer.ConfigurationIntelliSense.nuspec +++ b/NuGet/BundleTransformer.ConfigurationIntelliSense/BundleTransformer.ConfigurationIntelliSense.nuspec @@ -2,7 +2,7 @@ BundleTransformer.ConfigurationIntelliSense - 1.9.213 + 1.9.215 Bundle Transformer: IntelliSense Andrey Taritsyn Andrey Taritsyn diff --git a/NuGet/BundleTransformer.ConfigurationIntelliSense/readme.txt b/NuGet/BundleTransformer.ConfigurationIntelliSense/readme.txt index 970d139ca..e2b2bc7ff 100644 --- a/NuGet/BundleTransformer.ConfigurationIntelliSense/readme.txt +++ b/NuGet/BundleTransformer.ConfigurationIntelliSense/readme.txt @@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- - README file for Bundle Transformer: IntelliSense v1.9.213 + README file for Bundle Transformer: IntelliSense v1.9.215 -------------------------------------------------------------------------------- diff --git a/NuGet/BundleTransformer.Less/BundleTransformer.Less.nuspec b/NuGet/BundleTransformer.Less/BundleTransformer.Less.nuspec index f7c799263..5edb18acc 100644 --- a/NuGet/BundleTransformer.Less/BundleTransformer.Less.nuspec +++ b/NuGet/BundleTransformer.Less/BundleTransformer.Less.nuspec @@ -2,7 +2,7 @@ BundleTransformer.Less - 1.9.205 + 1.9.215 Bundle Transformer: LESS Andrey Taritsyn Andrey Taritsyn @@ -14,7 +14,7 @@ BundleTransformer.Less does not support loading of plugins. -As a JS engine is used the JavaScript Engine Switcher library (https://github.com/Taritsyn/JavaScriptEngineSwitcher). For correct working of this module, you need to install one of the following NuGet packages: JavaScriptEngineSwitcher.Msie, JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore. +As a JS engine is used the JavaScript Engine Switcher library (https://github.com/Taritsyn/JavaScriptEngineSwitcher). For correct working of this module, you need to install one of the following NuGet packages: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore. BundleTransformer.Less contains one translator-adapter - `LessTranslator` (supports the LESS version 3.8.1). This adapter makes translation of LESS code to CSS code. Also contains the `LessAssetHandler` debugging HTTP handler, which is responsible for text output of translated LESS asset. 1. Added support of LESS version 3.8.1; 2. In configuration settings of LESS translator the `StrictMath` property has been replaced by the `Math` property (default `Always`). diff --git a/NuGet/BundleTransformer.Less/readme.txt b/NuGet/BundleTransformer.Less/readme.txt index 846a30497..520132847 100644 --- a/NuGet/BundleTransformer.Less/readme.txt +++ b/NuGet/BundleTransformer.Less/readme.txt @@ -1,7 +1,7 @@ -------------------------------------------------------------------------------- - README file for Bundle Transformer: LESS v1.9.205 + README file for Bundle Transformer: LESS v1.9.215 -------------------------------------------------------------------------------- @@ -33,8 +33,8 @@ POST-INSTALL ACTIONS ==================== For correct working of this module, you need to install one of the following - NuGet packages: JavaScriptEngineSwitcher.Msie, JavaScriptEngineSwitcher.V8 or - JavaScriptEngineSwitcher.ChakraCore. + NuGet packages: JavaScriptEngineSwitcher.Msie (only in the Chakra JsRT modes), + JavaScriptEngineSwitcher.V8 or JavaScriptEngineSwitcher.ChakraCore. After package is installed and JS engine is registered (https://github.com/Taritsyn/JavaScriptEngineSwitcher/wiki/Registration-of-JS-engines), need set a name of JS engine (for example, `MsieJsEngine`) to the `name` diff --git a/samples/BundleTransformer.Sample.AspNet4.Mvc4/Properties/AssemblyInfo.cs b/samples/BundleTransformer.Sample.AspNet4.Mvc4/Properties/AssemblyInfo.cs index ebed3236f..16322e75b 100644 --- a/samples/BundleTransformer.Sample.AspNet4.Mvc4/Properties/AssemblyInfo.cs +++ b/samples/BundleTransformer.Sample.AspNet4.Mvc4/Properties/AssemblyInfo.cs @@ -13,5 +13,5 @@ [assembly: ComVisible(false)] [assembly: Guid("d858d771-b511-4517-bc9a-6feb6d0c4c3e")] -[assembly: AssemblyVersion("1.9.214.0")] -[assembly: AssemblyFileVersion("1.9.214.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.9.215.0")] +[assembly: AssemblyFileVersion("1.9.215.0")] \ No newline at end of file diff --git a/src/BundleTransformer.Autoprefixer/Properties/AssemblyInfo.cs b/src/BundleTransformer.Autoprefixer/Properties/AssemblyInfo.cs index bdece377c..4b66f769f 100644 --- a/src/BundleTransformer.Autoprefixer/Properties/AssemblyInfo.cs +++ b/src/BundleTransformer.Autoprefixer/Properties/AssemblyInfo.cs @@ -13,5 +13,5 @@ [assembly: ComVisible(false)] [assembly: Guid("bd3de654-42d3-4791-a5c2-9f30b70b01d7")] -[assembly: AssemblyVersion("1.9.214.0")] -[assembly: AssemblyFileVersion("1.9.214.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.9.215.0")] +[assembly: AssemblyFileVersion("1.9.215.0")] \ No newline at end of file diff --git a/src/BundleTransformer.Less/Properties/AssemblyInfo.cs b/src/BundleTransformer.Less/Properties/AssemblyInfo.cs index e18a6b50a..f2c12793f 100644 --- a/src/BundleTransformer.Less/Properties/AssemblyInfo.cs +++ b/src/BundleTransformer.Less/Properties/AssemblyInfo.cs @@ -13,5 +13,5 @@ [assembly: ComVisible(false)] [assembly: Guid("365cd5f0-33c6-4b90-9cd7-bf372ce178b8")] -[assembly: AssemblyVersion("1.9.205.0")] -[assembly: AssemblyFileVersion("1.9.205.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.9.215.0")] +[assembly: AssemblyFileVersion("1.9.215.0")] \ No newline at end of file diff --git a/src/BundleTransformer.Less/Resources/less-combined.js b/src/BundleTransformer.Less/Resources/less-combined.js index 822af2048..e3ddd5e9b 100644 --- a/src/BundleTransformer.Less/Resources/less-combined.js +++ b/src/BundleTransformer.Less/Resources/less-combined.js @@ -1,3 +1,40 @@ +/*! + * Object.assign polyfill + * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/assign + */ +if (!Object.hasOwnProperty('assign')) { + Object.assign = function (target) { + var result, + argIndex, + argCount, + nextSource, + propName, + methodName = 'Object.assign' + ; + + if (typeof target === 'undefined' || target === null) { + throw new TypeError(methodName + ': argument is not an Object.'); + } + + result = Object(target); + argCount = arguments.length; + + for (argIndex = 1; argIndex < argCount; argIndex++) { + nextSource = arguments[argIndex]; + + if (typeof nextSource !== 'undefined' && nextSource !== null) { + for (propName in nextSource) { + if (Object.prototype.hasOwnProperty.call(nextSource, propName)) { + result[propName] = nextSource[propName]; + } + } + } + } + + return result; + }; +} + /*! * Less - Leaner CSS v3.8.1 * http://lesscss.org diff --git a/test/BundleTransformer.Tests/Properties/AssemblyInfo.cs b/test/BundleTransformer.Tests/Properties/AssemblyInfo.cs index c8ffd57f1..198da89c2 100644 --- a/test/BundleTransformer.Tests/Properties/AssemblyInfo.cs +++ b/test/BundleTransformer.Tests/Properties/AssemblyInfo.cs @@ -13,5 +13,5 @@ [assembly: ComVisible(false)] [assembly: Guid("65eaf733-8f41-42c3-8330-877be4aca5ca")] -[assembly: AssemblyVersion("1.9.214.0")] -[assembly: AssemblyFileVersion("1.9.214.0")] \ No newline at end of file +[assembly: AssemblyVersion("1.9.215.0")] +[assembly: AssemblyFileVersion("1.9.215.0")] \ No newline at end of file