Skip to content

Commit 06116f1

Browse files
LukasDecolowkeynicc
authored andcommitted
feat: pin deps away from mal packages (#1858)
* feat: pin deps away from mal packages * fix: chalk deps break lint * fix: linter unix format * try fix broken anchor tests --------- Co-authored-by: Nick Caradonna <[email protected]>
1 parent 0fafeb2 commit 06116f1

File tree

3 files changed

+145
-27
lines changed

3 files changed

+145
-27
lines changed

package.json

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,51 @@
4848
"prepare": "husky install",
4949
"prettify": "prettier --check './sdk/src/**/*.ts' './tests/**.ts' './cli/**.ts'",
5050
"prettify:fix": "prettier --write './sdk/src/**/*.ts' './tests/**.ts' './cli/**.ts'",
51-
"lint": "eslint . --ext ts --quiet",
51+
"lint": "eslint . --ext ts --quiet --format unix",
5252
"lint:fix": "eslint . --ext ts --fix",
5353
"update-idl": "cp target/idl/drift.json sdk/src/idl/drift.json"
5454
},
5555
"engines": {
5656
"node": ">=12"
57+
},
58+
"resolutions": {
59+
"chalk": "4.1.2",
60+
"debug": "<4.4.2",
61+
"ansi-styles": "4.3.0",
62+
"supports-color": "7.2.0",
63+
"strip-ansi": "6.0.1",
64+
"ansi-regex": "5.0.1",
65+
"wrap-ansi": "7.0.0",
66+
"color-convert": "<3.1.1",
67+
"color-name": "<2.0.1",
68+
"color-string": "<2.1.1",
69+
"simple-swizzle": "<0.2.3",
70+
"is-arrayish": "<0.3.3",
71+
"slice-ansi": "3.0.0",
72+
"error-ex": "<1.3.3",
73+
"backslash": "<0.2.1",
74+
"chalk-template": "<1.1.1",
75+
"supports-hyperlinks": "<4.1.1",
76+
"has-ansi": "<6.0.1"
77+
},
78+
"overrides": {
79+
"chalk": "4.1.2",
80+
"debug": "<4.4.2",
81+
"ansi-styles": "4.3.0",
82+
"supports-color": "7.2.0",
83+
"strip-ansi": "6.0.1",
84+
"ansi-regex": "5.0.1",
85+
"wrap-ansi": "7.0.0",
86+
"color-convert": "<3.1.1",
87+
"color-name": "<2.0.1",
88+
"color-string": "<2.1.1",
89+
"simple-swizzle": "<0.2.3",
90+
"is-arrayish": "<0.3.3",
91+
"slice-ansi": "3.0.0",
92+
"error-ex": "<1.3.3",
93+
"backslash": "<0.2.1",
94+
"chalk-template": "<1.1.1",
95+
"supports-hyperlinks": "<4.1.1",
96+
"has-ansi": "<6.0.1"
5797
}
5898
}

0 commit comments

Comments
 (0)