From 56800737e6908ee8a2ecf407627784603e8a8a5a Mon Sep 17 00:00:00 2001 From: Damien Elmes Date: Sun, 25 Apr 2021 19:05:19 +1000 Subject: [PATCH] use lodash instead of json in RevertButton --- ts/deckoptions/BUILD.bazel | 1 + ts/deckoptions/RevertButton.svelte | 5 +++-- ts/licenses.json | 12 ++++++++++++ ts/package.json | 1 + ts/yarn.lock | 9 ++++++++- 5 files changed, 25 insertions(+), 3 deletions(-) diff --git a/ts/deckoptions/BUILD.bazel b/ts/deckoptions/BUILD.bazel index 13a781d84..060214fc5 100644 --- a/ts/deckoptions/BUILD.bazel +++ b/ts/deckoptions/BUILD.bazel @@ -127,6 +127,7 @@ svelte_check( "*.svelte", ]) + [ "@npm//@types/bootstrap", + "@npm//@types/lodash-es", ], ) diff --git a/ts/deckoptions/RevertButton.svelte b/ts/deckoptions/RevertButton.svelte index 13e4075c0..4081b3651 100644 --- a/ts/deckoptions/RevertButton.svelte +++ b/ts/deckoptions/RevertButton.svelte @@ -5,6 +5,7 @@ License: GNU AGPL, version 3 or later; http://www.gnu.org/licenses/agpl.html diff --git a/ts/licenses.json b/ts/licenses.json index 180cf0d91..f664da16c 100644 --- a/ts/licenses.json +++ b/ts/licenses.json @@ -102,6 +102,18 @@ "path": "node_modules/@protobufjs/utf8", "licenseFile": "node_modules/@protobufjs/utf8/LICENSE" }, + "@types/lodash-es@4.17.4": { + "licenses": "MIT", + "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped", + "path": "node_modules/@types/lodash-es", + "licenseFile": "node_modules/@types/lodash-es/LICENSE" + }, + "@types/lodash@4.14.168": { + "licenses": "MIT", + "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped", + "path": "node_modules/@types/lodash", + "licenseFile": "node_modules/@types/lodash/LICENSE" + }, "@types/long@4.0.1": { "licenses": "MIT", "repository": "https://github.com/DefinitelyTyped/DefinitelyTyped", diff --git a/ts/package.json b/ts/package.json index daef6299b..de67dd6a9 100644 --- a/ts/package.json +++ b/ts/package.json @@ -56,6 +56,7 @@ "@fluent/bundle": "^0.15.1", "@mdi/svg": "^5.9.55", "@popperjs/core": "^2.9.2", + "@types/lodash-es": "^4.17.4", "bootstrap": "^5.0.0-beta2", "bootstrap-icons": "^1.4.0", "css-browser-selector": "^0.6.5", diff --git a/ts/yarn.lock b/ts/yarn.lock index b1a2cef96..c6f6e35bf 100644 --- a/ts/yarn.lock +++ b/ts/yarn.lock @@ -973,7 +973,14 @@ resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.7.tgz#98a993516c859eb0d5c4c8f098317a9ea68db9ad" integrity sha512-cxWFQVseBm6O9Gbw1IWb8r6OS4OhSt3hPZLkFApLjM8TEXROBuQGLAH2i2gZpcXdLBIrpXuTDhH7Vbm1iXmNGA== -"@types/lodash@^4.14.162": +"@types/lodash-es@^4.17.4": + version "4.17.4" + resolved "https://registry.yarnpkg.com/@types/lodash-es/-/lodash-es-4.17.4.tgz#b2e440d2bf8a93584a9fd798452ec497986c9b97" + integrity sha512-BBz79DCJbD2CVYZH67MBeHZRX++HF+5p8Mo5MzjZi64Wac39S3diedJYHZtScbRVf4DjZyN6LzA0SB0zy+HSSQ== + dependencies: + "@types/lodash" "*" + +"@types/lodash@*", "@types/lodash@^4.14.162": version "4.14.168" resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.168.tgz#fe24632e79b7ade3f132891afff86caa5e5ce008" integrity sha512-oVfRvqHV/V6D1yifJbVRU3TMp8OT6o6BG+U9MkwuJ3U8/CsDHvalRpsxBqivn71ztOFZBTfJMvETbqHiaNSj7Q==