Perf: use a minimal version of tinycolor2
closes: COREFE-389 This version of tiny color has only what we need to provide the APIs exposed by @instructure/ui-color-utils Before: 15k, after 5k See the difference https://bundlephobia.com/result?p=@instructure/tinycolor2 Vs https://bundlephobia.com/result?p=tinycolor2 Here’s the actual changes of what was removed: https://github.com/instructure/TinyColor/commit/350479a Change-Id: I591652bf95f2c1667f17da5c94b4e60df6fba0d5 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/214768 Reviewed-by: Clay Diffrient <cdiffrient@instructure.com> Tested-by: Jenkins QA-Review: Ryan Shaw <ryan@instructure.com> Product-Review: Ryan Shaw <ryan@instructure.com>
This commit is contained in:
parent
dd30735994
commit
1db3924086
|
@ -307,6 +307,8 @@
|
|||
},
|
||||
"resolutions": {
|
||||
"jquery": "https://github.com/ryankshaw/jquery.git#1.7.2-with-AMD-and-CommonJS",
|
||||
"tinycolor2": "This is to to provide just the minimal functionality instUI uses. we can remove if instUI merges the commit to use this too",
|
||||
"tinycolor2": "https://github.com/instructure/tinycolor.git#master",
|
||||
"graphael": "this is just here so yarn.lock looks the same whether the analytics plugin is checked out or not",
|
||||
"graphael": "https://github.com/ryankshaw/graphael.git",
|
||||
"node-sass": "if we let node-sass upgrade to recent versions, it causes: SIS-3125",
|
||||
|
|
|
@ -19539,10 +19539,9 @@ tiny-lr@^0.2.1:
|
|||
parseurl "~1.3.0"
|
||||
qs "~5.1.0"
|
||||
|
||||
tinycolor2@1.4.1, tinycolor2@^1.4.1:
|
||||
tinycolor2@1.4.1, tinycolor2@^1.4.1, "tinycolor2@https://github.com/instructure/tinycolor.git#master":
|
||||
version "1.4.1"
|
||||
resolved "https://registry.yarnpkg.com/tinycolor2/-/tinycolor2-1.4.1.tgz#f4fad333447bc0b07d4dc8e9209d8f39a8ac77e8"
|
||||
integrity sha1-9PrTM0R7wLB9TcjpIJ2POaisd+g=
|
||||
resolved "https://github.com/instructure/tinycolor.git#a1f8752bb09719c3c1e38f1b9d1d495057c2ca28"
|
||||
|
||||
tinymce-a11y-checker@3.0.0-rc2:
|
||||
version "3.0.0-rc2"
|
||||
|
|
Loading…
Reference in New Issue