Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: [M3-6230] - Remove unused packages + update lint-staged #8860

Merged
merged 4 commits into from
Mar 10, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,19 +46,14 @@
"minimist": "^1.2.3",
"yargs-parser": "^18.1.3",
"kind-of": "^6.0.3",
"dot-prop": "^5.2.0",
"property-expr": "^2.0.3",
"csv-parse": "^4.6.3",
"node-fetch": "^2.6.7",
"y18n": "^4.0.0",
"ua-parser-js": "^0.7.33",
"trim": "^0.0.3",
"prismjs": "^1.24.0",
"immer": "^9.0.6",
"lodash": "^4.17.21",
"glob-parent": "^5.1.2",
"browserslist": "^4.16.5",
"trim-newlines": "^4.0.2",
"hosted-git-info": "^5.0.0",
"minimatch": "^3.0.5",
"nth-check": "^2.0.1",
Expand Down
88 changes: 44 additions & 44 deletions packages/manager/src/assets/weblish/weblish.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
padding: 0;
font-family: Helvetica;
background-color: #000;
/*background-image: linear-gradient(45deg, #CACACC 25%, transparent 25%, transparent 75%, #CACACC 75%, #CACACC),
/*background-image: linear-gradient(45deg, #CACACC 25%, transparent 25%, transparent 75%, #CACACC 75%, #CACACC),
linear-gradient(45deg, #CACACC 25%, transparent 25%, transparent 75%, #CACACC 75%, #CACACC);
*/
background-size: 10px 10px;
Expand Down Expand Up @@ -37,14 +37,14 @@ body > div.terminal {
}

#disconnected>* {
z-Index: 2;
z-index: 2;
top: 0px;
left: 0px;
}

#disconnected>.blur {
height: 100%;
z-Index: 1;
z-index: 1;
-webkit-filter: blur(1px);
-moz-filter: blur(1px);
-o-filter: blur(1px);
Expand Down Expand Up @@ -105,47 +105,47 @@ body > div.terminal {
-webkit-tap-highlight-color: transparent;

padding: 0 12px;

border: 1px solid;
border-top-color: #9d9d9d; border-bottom-color: #939393;
border-left-color: #949494; border-right-color: #949494;

-webkit-border-radius: 4px; box-shadow: 0 1px rgba(0,0,0,0.1);
-moz-border-radius: 4px; -moz-box-shadow: 0 1px rgba(0,0,0,0.1);
border-radius: 4px; -webkit-box-shadow: 0 1px rgba(0,0,0,0.1);

-webkit-appearance: none;

background: #ffffff; /* Old browsers */

background: -webkit-gradient(linear, left top, left bottom,
background: -webkit-gradient(linear, left top, left bottom,
/* Chrome, */ color-stop( 0%, #ffffff),
/* Safari4+ */ color-stop(25%, #ffffff),
color-stop( 30%, #fcfcfc),
color-stop(35%, #f9f9f9),
color-stop(40%, #f7f7f7),
color-stop(45%, #f5f5f5),
color-stop( 50%, #f2f2f2),
color-stop(50%, #ececec),
/* Safari4+ */ color-stop(25%, #ffffff),
color-stop( 30%, #fcfcfc),
color-stop(35%, #f9f9f9),
color-stop(40%, #f7f7f7),
color-stop(45%, #f5f5f5),
color-stop( 50%, #f2f2f2),
color-stop(50%, #ececec),
color-stop(80%, #ededed),
color-stop(95%, #efefef),
color-stop(100%, #f2f2f2));
color-stop(100%, #f2f2f2));
background: -webkit-linear-gradient(top, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
/* Chrome10+, */ #f7f7f7 40%, #f5f5f5 45%, #f2f2f2 50%, #ececec 50%,
/* Safari5.1+ */ #ededed 80%, #efefef 95%, #f2f2f2 100%);
background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
background: -moz-linear-gradient(top, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
/* FF3.6+ */ #f7f7f7 40%, #f5f5f5 45%, #f2f2f2 50%, #ececec 50%,
#ededed 80%, #efefef 95%, #f2f2f2 100%);
#ededed 80%, #efefef 95%, #f2f2f2 100%);
background: -o-linear-gradient(top, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
/* Opera 11.10+ */ #f7f7f7 40%, #f5f5f5 45%, #f2f2f2 50%, #ececec 50%,
#ededed 80%, #efefef 95%, #f2f2f2 100%);
#ededed 80%, #efefef 95%, #f2f2f2 100%);
background: -ms-linear-gradient(top, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
/* IE10+ */ #f7f7f7 40%, #f5f5f5 45%, #f2f2f2 50%, #ececec 50%,
#ededed 80%, #efefef 95%, #f2f2f2 100%);
background: linear-gradient(to bottom, #ffffff 0%, #ffffff 25%, #fcfcfc 30%, #f9f9f9 35%,
/* W3C */ #f7f7f7 40%, #f5f5f5 45%, #f2f2f2 50%, #ececec 50%,
#ededed 80%, #efefef 95%, #f2f2f2 100%);
filter: progid:DXImageTransform.Microsoft.gradient(
filter: progid:DXImageTransform.Microsoft.gradient(
/* IE6-9 */ startColorstr='#ffffff', endColorstr='#f2f2f2',GradientType=0 );

cursor: default; -webkit-user-select: none;
Expand All @@ -155,35 +155,35 @@ body > div.terminal {

.osx:active, .osx.primary, .osx.primary:hover {
background: #bcd6ef; /* Old browsers */
background: -webkit-gradient(linear, left top, left bottom,
/* Chrome, */ color-stop( 0%, #bcd6ef),
/* Safari4+ */ color-stop( 5%, #a3c1ef),
color-stop( 10%, #98b8e9),
color-stop(15%, #91b3e9),
color-stop(20%, #8ab1e9),
color-stop(25%, #8ab2ea),
color-stop( 30%, #83abe8),
color-stop(35%, #7cabe9),
color-stop(40%, #73a6e8),
background: -webkit-gradient(linear, left top, left bottom,
/* Chrome, */ color-stop( 0%, #bcd6ef),
/* Safari4+ */ color-stop( 5%, #a3c1ef),
color-stop( 10%, #98b8e9),
color-stop(15%, #91b3e9),
color-stop(20%, #8ab1e9),
color-stop(25%, #8ab2ea),
color-stop( 30%, #83abe8),
color-stop(35%, #7cabe9),
color-stop(40%, #73a6e8),
color-stop(45%, #6ca4e9),
color-stop( 50%, #67a1e9),
color-stop(50%, #4693ea),
color-stop(70%, #579eec),
color-stop(75%, #64a7ee),
color-stop( 80%, #6eaeee),
color-stop(85%, #7db6ef),
color-stop(90%, #88bfef),
olor-stop(95%, #97caef),
color-stop(100%, #abd4ef));
color-stop( 50%, #67a1e9),
color-stop(50%, #4693ea),
color-stop(70%, #579eec),
color-stop(75%, #64a7ee),
color-stop( 80%, #6eaeee),
color-stop(85%, #7db6ef),
color-stop(90%, #88bfef),
olor-stop(95%, #97caef),
color-stop(100%, #abd4ef));
background: -webkit-linear-gradient(top, #bcd6ef 0%, #a3c1ef 5%, #98b8e9 10%, #91b3e9 15%,
/* Chrome10+, */ #8ab1e9 20%, #8ab2ea 25%, #83abe8 30%, #7cabe9 35%,
/* Safari5.1+ */ #73a6e8 40%, #6ca4e9 45%, #67a1e9 50%, #4693ea 50%,
#579eec 70%, #64a7ee 75%, #6eaeee 80%, #7db6ef 85%,
#88bfef 90%, #97caef 95%, #abd4ef 100%);
background: -moz-linear-gradient(top, #bcd6ef 0%, #a3c1ef 5%, #98b8e9 10%, #91b3e9 15%,
/* FF3.6+ */ #8ab1e9 20%, #8ab2ea 25%, #83abe8 30%, #7cabe9 35%,
#73a6e8 40%, #6ca4e9 45%, #67a1e9 50%, #4693ea 50%,
#579eec 70%, #64a7ee 75%, #6eaeee 80%, #7db6ef 85%,
#88bfef 90%, #97caef 95%, #abd4ef 100%);
background: -moz-linear-gradient(top, #bcd6ef 0%, #a3c1ef 5%, #98b8e9 10%, #91b3e9 15%,
/* FF3.6+ */ #8ab1e9 20%, #8ab2ea 25%, #83abe8 30%, #7cabe9 35%,
#73a6e8 40%, #6ca4e9 45%, #67a1e9 50%, #4693ea 50%,
#579eec 70%, #64a7ee 75%, #6eaeee 80%, #7db6ef 85%,
#88bfef 90%, #97caef 95%, #abd4ef 100%);
background: -o-linear-gradient(top, #bcd6ef 0%, #a3c1ef 5%, #98b8e9 10%, #91b3e9 15%,
/* Opera 11.10+ */ #8ab1e9 20%, #8ab2ea 25%, #83abe8 30%, #7cabe9 35%,
Expand Down Expand Up @@ -215,7 +215,7 @@ body > div.terminal {
}

.osx.primary:active {
animation: none;
animation: none;
-moz-animation: none;
-webkit-animation: none;
}
Expand All @@ -239,7 +239,7 @@ body > div.terminal {
-webkit-box-shadow: 0 1px rgba(0,0,0,0.1), 0 0 4px hsl(204, 100%, 88%);
-moz-box-shadow: 0 1px rgba(0,0,0,0.1), 0 0 4px hsl(204, 100%, 88%);
box-shadow: 0 1px rgba(0,0,0,0.1), 0 0 4px hsl(204, 100%, 88%);
border-color: hsl(204, 68%, 58%);
border-color: hsl(204, 68%, 58%);
}

.osx.round {
Expand Down
32 changes: 0 additions & 32 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6223,11 +6223,6 @@ csstype@^3.0.2, csstype@^3.1.1:
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.1.tgz#841b532c45c758ee546a11d5bd7b7b473c8c30b9"
integrity sha512-DJR/VvkAvSZW9bTouZue2sSxDwdTN92uHjqeKVm+0dAqdfNykRzQ95tay8aXMBAAPpUiq4Qcug2L7neoRh2Egw==

csv-parse@^4.6.3:
version "4.16.3"
resolved "https://registry.yarnpkg.com/csv-parse/-/csv-parse-4.16.3.tgz#7ca624d517212ebc520a36873c3478fa66efbaf7"
integrity sha512-cO1I/zmz4w2dcKHVvpCr7JVRu8/FymG5OEpmvsZYlccYolPBLoVGKUHgNoc4ZGkFeFlWGEDmMyBM+TTqRdW/wg==

cypress-axe@^1.0.0:
version "1.3.0"
resolved "https://registry.yarnpkg.com/cypress-axe/-/cypress-axe-1.3.0.tgz#255ef8ef8e88747f2a72ceb7f7c60e8185b7852b"
Expand Down Expand Up @@ -6684,13 +6679,6 @@ domutils@^3.0.1:
domelementtype "^2.3.0"
domhandler "^5.0.1"

dot-prop@^5.2.0:
version "5.3.0"
resolved "https://registry.yarnpkg.com/dot-prop/-/dot-prop-5.3.0.tgz#90ccce708cd9cd82cc4dc8c3ddd9abdd55b20e88"
integrity sha512-QM8q3zDe58hqUqjraQOmzZ1LIH9SWQJTlEKCH4kJ2oQvLZk7RbQXvtDM2XEq3fwkV9CCvvH4LA0AV+ogFsBM2Q==
dependencies:
is-obj "^2.0.0"

dotenv-expand@^10.0.0:
version "10.0.0"
resolved "https://registry.yarnpkg.com/dotenv-expand/-/dotenv-expand-10.0.0.tgz#12605d00fb0af6d0a592e6558585784032e4ef37"
Expand Down Expand Up @@ -9193,11 +9181,6 @@ is-obj@^1.0.1:
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f"
integrity sha512-l4RyHgRqGN4Y3+9JHVrNqO+tN0rV5My76uW5/nuO4K1b6vw5G8d/cmFjP9tRfEsdhZNt0IFdZuK/c2Vr4Nb+Qg==

is-obj@^2.0.0:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this one fine to remove? yarn why had this output:

=> Found "is-obj@1.0.1"
info Reasons this module exists
   - "_project_#lint-staged#stringify-object" depends on it
   - Hoisted from "_project_#lint-staged#stringify-object#is-obj"
info Disk size without dependencies: "16KB"
info Disk size with unique dependencies: "16KB"
info Disk size with transitive dependencies: "16KB"
info Number of shared dependencies: 0
✨  Done in 0.37s.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is an interesting one because it's needed for stringify-object which is used by lint-staged. However, in the latest versions of lint-staged, this dependency has been removed. So yes we need it, but if we upgrade to latest lint-staged and migrated safely, we could remove it.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just checked, we can upgrade to latest since we're using node v18+ - I'll update

version "2.0.0"
resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-2.0.0.tgz#473fb05d973705e3fd9620545018ca8e22ef4982"
integrity sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w==

is-observable@^1.1.0:
version "1.1.0"
resolved "https://registry.yarnpkg.com/is-observable/-/is-observable-1.1.0.tgz#b3e986c8f44de950867cab5403f5a3465005975e"
Expand Down Expand Up @@ -12317,11 +12300,6 @@ pretty-hrtime@^1.0.3:
resolved "https://registry.yarnpkg.com/pretty-hrtime/-/pretty-hrtime-1.0.3.tgz#b7e3ea42435a4c9b2759d99e0f201eb195802ee1"
integrity sha512-66hKPCr+72mlfiSjlEB1+45IjXSqvVAIy6mocupoww4tBFE9R9IhwwUGoI4G++Tc9Aq+2rxOt0RFU6gPcrte0A==

prismjs@^1.24.0:
version "1.29.0"
resolved "https://registry.yarnpkg.com/prismjs/-/prismjs-1.29.0.tgz#f113555a8fa9b57c35e637bba27509dcf802dd12"
integrity sha512-Kx/1w86q/epKcmte75LNrEoT+lX8pBpavuAbvJWRXar7Hz8jrtF+e3vY751p0R8H9HdArwaCTNDDzHg/ScJK1Q==

process-nextick-args@~2.0.0:
version "2.0.1"
resolved "https://registry.yarnpkg.com/process-nextick-args/-/process-nextick-args-2.0.1.tgz#7820d9b16120cc55ca9ae7792680ae7dba6d7fe2"
Expand Down Expand Up @@ -14511,16 +14489,6 @@ trim-lines@^3.0.0:
resolved "https://registry.yarnpkg.com/trim-lines/-/trim-lines-3.0.1.tgz#d802e332a07df861c48802c04321017b1bd87338"
integrity sha512-kRj8B+YHZCc9kQYdWfJB2/oUl9rA99qbowYYBtr4ui4mZyAQ2JpvVBd/6U2YloATfqBhBTSMhTpgBHtU0Mf3Rg==

trim-newlines@^4.0.2:
version "4.0.2"
resolved "https://registry.yarnpkg.com/trim-newlines/-/trim-newlines-4.0.2.tgz#d6aaaf6a0df1b4b536d183879a6b939489808c7c"
integrity sha512-GJtWyq9InR/2HRiLZgpIKv+ufIKrVrvjQWEj7PxAXNc5dwbNJkqhAUoAGgzRmULAnoOM5EIpveYd3J2VeSAIew==

trim@^0.0.3:
version "0.0.3"
resolved "https://registry.yarnpkg.com/trim/-/trim-0.0.3.tgz#05243a47a3a4113e6b49367880a9cca59697a20b"
integrity sha512-h82ywcYhHK7veeelXrCScdH7HkWfbIT1D/CgYO+nmDarz3SGNssVBMws6jU16Ga60AJCRAvPV6w6RLuNerQqjg==

trough@^2.0.0:
version "2.1.0"
resolved "https://registry.yarnpkg.com/trough/-/trough-2.1.0.tgz#0f7b511a4fde65a46f18477ab38849b22c554876"
Expand Down