From 5994d61564540bac64be2841b338952e2becb605 Mon Sep 17 00:00:00 2001 From: Manuel Bauer Date: Wed, 19 Jun 2019 11:40:17 +0200 Subject: [PATCH 1/3] Replaced loaderUtils.parseQuery() (Deprecated) with loaderUtils.getOptions() --- index.js | 4 ++-- index.ls | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 6ffe79c..ee8bfff 100644 --- a/index.js +++ b/index.js @@ -1,4 +1,4 @@ -// Generated by LiveScript 1.4.0 +// Generated by LiveScript 1.5.0 var LiveScript, LoaderUtils; LiveScript = require('livescript'); LoaderUtils = require('loader-utils'); @@ -17,7 +17,7 @@ module.exports = function(source){ 'const': false, header: false }; - query = LoaderUtils.parseQuery(this.query); + query = LoaderUtils.getOptions(this); import$(config, query); result = LiveScript.compile(source, config); if (config.map === 'none') { diff --git a/index.ls b/index.ls index 9ebe460..eaa8ebe 100644 --- a/index.ls +++ b/index.ls @@ -16,7 +16,7 @@ module.exports = (source) !-> const: false header: false - query = LoaderUtils.parse-query this.query + query = LoaderUtils.getOptions this config <<< query result = LiveScript.compile source, config From 86bea975885f62c667b569b99ab6060f4f76b89c Mon Sep 17 00:00:00 2001 From: Manuel Bauer Date: Wed, 19 Jun 2019 11:43:24 +0200 Subject: [PATCH 2/3] Updated dependencies --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e99cf1c..d451113 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "build": "lsc -cb ./index.ls" }, "dependencies": { - "livescript": "^1.4.0", - "loader-utils": "0.2.x" + "livescript": "^1.6.0", + "loader-utils": "1.2.x" }, "repository": { "type": "git", From 6eba98adbc0dd5af0bab13dc1a0e2d9fcabcbb6a Mon Sep 17 00:00:00 2001 From: Thorben Ziemek Date: Wed, 8 Jun 2022 15:56:20 +0200 Subject: [PATCH 3/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d451113..a1db643 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,6 @@ }, "repository": { "type": "git", - "url": "git://github.com/appedemic/livescript-loader.git" + "url": "git://github.com/godmodelabs/livescript-loader.git" } }