From c60031cdd8190f11a2411dfe7e517be74a7373ae Mon Sep 17 00:00:00 2001 From: Nicolas Coden Date: Wed, 24 Oct 2018 21:41:39 +0200 Subject: [PATCH] chore: replace "multiline" dependency by "strip-indent" --- customizer/lib/sass.js | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/customizer/lib/sass.js b/customizer/lib/sass.js index 1df0a1071..6ee0abb2c 100644 --- a/customizer/lib/sass.js +++ b/customizer/lib/sass.js @@ -1,8 +1,8 @@ var empty = require('is-empty-object'); var format = require('util').format; -var multiline = require('multiline').stripIndent; +var stripIndent = require('strip-indent'); -var SASS_TEMPLATE = multiline(function() {/* +var SASS_TEMPLATE = stripIndent(` @charset 'utf-8'; // Variables go here @@ -18,7 +18,7 @@ var SASS_TEMPLATE = multiline(function() {/* // Motion UI goes here @include motion-ui-transitions; @include motion-ui-animations; -*/}); +`); /** * Generates an entry point Sass file with a custom list of CSS exports and Sass variables. diff --git a/package.json b/package.json index 1b81cb12b..a9b4fec27 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,6 @@ "mocha": "^5.0.5", "mocha-headless-chrome": "^2.0.0", "motion-ui": "^2.0.2", - "multiline": "^1.0.2", "octophant": "^1.0.0", "panini": "^1.6.2", "parker": "^1.0.0-alpha.0", @@ -94,6 +93,7 @@ "sass-true": "^4.0.0", "sassy-lists": "^3.0.1", "sinon": "^6.0.0", + "strip-indent": "^2.0.0", "supercollider": "^1.4.4", "touch": "^3.1.0", "undertaker-forward-reference": "^1.0.2", -- 2.47.2