Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
plantain-00 committed Sep 5, 2021
1 parent f69fec1 commit 7e6e4f3
Show file tree
Hide file tree
Showing 5 changed files with 57 additions and 57 deletions.
8 changes: 4 additions & 4 deletions package.json
Expand Up @@ -7,10 +7,10 @@
"devDependencies": {
"@types/minimatch": "3.0.5",
"@types/minimist": "1.2.2",
"@types/node": "16.7.4",
"@types/node": "16.7.10",
"@types/normalize-path": "3.0.0",
"@typescript-eslint/eslint-plugin": "4.29.3",
"@typescript-eslint/parser": "4.29.3",
"@typescript-eslint/eslint-plugin": "4.30.0",
"@typescript-eslint/parser": "4.30.0",
"clean-release": "2.15.2",
"clean-scripts": "1.20.1",
"eslint": "7.32.0",
Expand All @@ -20,7 +20,7 @@
"no-unused-export": "1.14.2",
"rimraf": "3.0.2",
"ts-node": "10.2.1",
"tsconfig-plantain": "0.0.1",
"tsconfig-plantain": "0.0.2",
"typescript": "4.4.2",
"vscode": "1.1.37"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/checker.ts
Expand Up @@ -8,7 +8,7 @@ function collectAny(node: ts.Node, context: FileContext, kind: FileAnyInfoKind)
return processAny(node, context)
}
const { line, character } = ts.getLineAndCharacterOfPosition(sourceFile, node.getStart(sourceFile))
if (ingoreMap[file] && ingoreMap[file].has(line)) {
if (ingoreMap[file] && ingoreMap[file]?.has(line)) {
return false
}
if (ignoreUnreadAnys && isEvolvingAssignment(node)) {
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/ignore.ts
Expand Up @@ -13,13 +13,13 @@ export function collectIgnoreMap(sourceFile: ts.SourceFile, file: string) {
ingoreMap[file] = new Set()
}
const line = ts.getLineAndCharacterOfPosition(sourceFile, comment.pos).line
ingoreMap[file].add(line + 1)
ingoreMap[file]?.add(line + 1)
} else if (commentText.includes('type-coverage:ignore-line')) {
if (!ingoreMap[file]) {
ingoreMap[file] = new Set()
}
const line = ts.getLineAndCharacterOfPosition(sourceFile, comment.pos).line
ingoreMap[file].add(line)
ingoreMap[file]?.add(line)
}
})

Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/tsconfig.ts
Expand Up @@ -30,7 +30,7 @@ function getTsConfigFilePath(project: string, fallbackProject?: string[]) {
if (fallbackProject) {
while (fallbackProject.length > 0) {
try {
project = fallbackProject[0]
project = fallbackProject[0]!
projectStats = fs.statSync(project)
break
} catch {
Expand Down
98 changes: 49 additions & 49 deletions yarn.lock
Expand Up @@ -125,23 +125,23 @@
resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"
integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==

"@types/node@16.7.4":
version "16.7.4"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.7.4.tgz#68a9384694af63ceab8848e95d76d9a3519e84b6"
integrity sha512-25QXpDsTiDnl2rZGUenagVMwO46way8dOUdvoC3R3p+6TrbpxeJBo/v87BEG1IHI31Jhaa8lPeSHcqwxsVBeYQ==
"@types/node@16.7.10":
version "16.7.10"
resolved "https://registry.yarnpkg.com/@types/node/-/node-16.7.10.tgz#7aa732cc47341c12a16b7d562f519c2383b6d4fc"
integrity sha512-S63Dlv4zIPb8x6MMTgDq5WWRJQe56iBEY0O3SOFA9JrRienkOVDXSXBjjJw6HTNQYSE2JI6GMCR6LVbIMHJVvA==

"@types/normalize-path@3.0.0":
version "3.0.0"
resolved "https://registry.yarnpkg.com/@types/normalize-path/-/normalize-path-3.0.0.tgz#bb5c46cab77b93350b4cf8d7ff1153f47189ae31"
integrity sha512-Nd8y/5t/7CRakPYiyPzr/IAfYusy1FkcZYFEAcoMZkwpJv2n4Wm+olW+e7xBdHEXhOnWdG9ddbar0gqZWS4x5Q==

"@typescript-eslint/eslint-plugin@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.29.3.tgz#95cb8029a8bd8bd9c7f4ab95074a7cb2115adefa"
integrity sha512-tBgfA3K/3TsZY46ROGvoRxQr1wBkclbVqRQep97MjVHJzcRBURRY3sNFqLk0/Xr//BY5hM9H2p/kp+6qim85SA==
"@typescript-eslint/eslint-plugin@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-4.30.0.tgz#4a0c1ae96b953f4e67435e20248d812bfa55e4fb"
integrity sha512-NgAnqk55RQ/SD+tZFD9aPwNSeHmDHHe5rtUyhIq0ZeCWZEvo4DK9rYz7v9HDuQZFvn320Ot+AikaCKMFKLlD0g==
dependencies:
"@typescript-eslint/experimental-utils" "4.29.3"
"@typescript-eslint/scope-manager" "4.29.3"
"@typescript-eslint/experimental-utils" "4.30.0"
"@typescript-eslint/scope-manager" "4.30.0"
debug "^4.3.1"
functional-red-black-tree "^1.0.1"
regexpp "^3.1.0"
Expand All @@ -159,45 +159,45 @@
eslint-scope "^5.0.0"
eslint-utils "^2.0.0"

"@typescript-eslint/experimental-utils@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.29.3.tgz#52e437a689ccdef73e83c5106b34240a706f15e1"
integrity sha512-ffIvbytTVWz+3keg+Sy94FG1QeOvmV9dP2YSdLFHw/ieLXWCa3U1TYu8IRCOpMv2/SPS8XqhM1+ou1YHsdzKrg==
"@typescript-eslint/experimental-utils@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-4.30.0.tgz#9e49704fef568432ae16fc0d6685c13d67db0fd5"
integrity sha512-K8RNIX9GnBsv5v4TjtwkKtqMSzYpjqAQg/oSphtxf3xxdt6T0owqnpojztjjTcatSteH3hLj3t/kklKx87NPqw==
dependencies:
"@types/json-schema" "^7.0.7"
"@typescript-eslint/scope-manager" "4.29.3"
"@typescript-eslint/types" "4.29.3"
"@typescript-eslint/typescript-estree" "4.29.3"
"@typescript-eslint/scope-manager" "4.30.0"
"@typescript-eslint/types" "4.30.0"
"@typescript-eslint/typescript-estree" "4.30.0"
eslint-scope "^5.1.1"
eslint-utils "^3.0.0"

"@typescript-eslint/parser@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.29.3.tgz#2ac25535f34c0e98f50c0e6b28c679c2357d45f2"
integrity sha512-jrHOV5g2u8ROghmspKoW7pN8T/qUzk0+DITun0MELptvngtMrwUJ1tv5zMI04CYVEUsSrN4jV7AKSv+I0y0EfQ==
"@typescript-eslint/parser@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-4.30.0.tgz#6abd720f66bd790f3e0e80c3be77180c8fcb192d"
integrity sha512-HJ0XuluSZSxeboLU7Q2VQ6eLlCwXPBOGnA7CqgBnz2Db3JRQYyBDJgQnop6TZ+rsbSx5gEdWhw4rE4mDa1FnZg==
dependencies:
"@typescript-eslint/scope-manager" "4.29.3"
"@typescript-eslint/types" "4.29.3"
"@typescript-eslint/typescript-estree" "4.29.3"
"@typescript-eslint/scope-manager" "4.30.0"
"@typescript-eslint/types" "4.30.0"
"@typescript-eslint/typescript-estree" "4.30.0"
debug "^4.3.1"

"@typescript-eslint/scope-manager@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.29.3.tgz#497dec66f3a22e459f6e306cf14021e40ec86e19"
integrity sha512-x+w8BLXO7iWPkG5mEy9bA1iFRnk36p/goVlYobVWHyDw69YmaH9q6eA+Fgl7kYHmFvWlebUTUfhtIg4zbbl8PA==
"@typescript-eslint/scope-manager@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/scope-manager/-/scope-manager-4.30.0.tgz#1a3ffbb385b1a06be85cd5165a22324f069a85ee"
integrity sha512-VJ/jAXovxNh7rIXCQbYhkyV2Y3Ac/0cVHP/FruTJSAUUm4Oacmn/nkN5zfWmWFEanN4ggP0vJSHOeajtHq3f8A==
dependencies:
"@typescript-eslint/types" "4.29.3"
"@typescript-eslint/visitor-keys" "4.29.3"
"@typescript-eslint/types" "4.30.0"
"@typescript-eslint/visitor-keys" "4.30.0"

"@typescript-eslint/types@3.10.1":
version "3.10.1"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-3.10.1.tgz#1d7463fa7c32d8a23ab508a803ca2fe26e758727"
integrity sha512-+3+FCUJIahE9q0lDi1WleYzjCwJs5hIsbugIgnbB+dSCYUxl8L6PwmsyOPFZde2hc1DlTo/xnkOgiTLSyAbHiQ==

"@typescript-eslint/types@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.29.3.tgz#d7980c49aef643d0af8954c9f14f656b7fd16017"
integrity sha512-s1eV1lKNgoIYLAl1JUba8NhULmf+jOmmeFO1G5MN/RBCyyzg4TIOfIOICVNC06lor+Xmy4FypIIhFiJXOknhIg==
"@typescript-eslint/types@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/types/-/types-4.30.0.tgz#fb9d9b0358426f18687fba82eb0b0f869780204f"
integrity sha512-YKldqbNU9K4WpTNwBqtAerQKLLW/X2A/j4yw92e3ZJYLx+BpKLeheyzoPfzIXHfM8BXfoleTdiYwpsvVPvHrDw==

"@typescript-eslint/typescript-estree@3.10.1":
version "3.10.1"
Expand All @@ -213,13 +213,13 @@
semver "^7.3.2"
tsutils "^3.17.1"

"@typescript-eslint/typescript-estree@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.29.3.tgz#1bafad610015c4ded35c85a70b6222faad598b40"
integrity sha512-45oQJA0bxna4O5TMwz55/TpgjX1YrAPOI/rb6kPgmdnemRZx/dB0rsx+Ku8jpDvqTxcE1C/qEbVHbS3h0hflag==
"@typescript-eslint/typescript-estree@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-4.30.0.tgz#ae57833da72a753f4846cd3053758c771670c2ac"
integrity sha512-6WN7UFYvykr/U0Qgy4kz48iGPWILvYL34xXJxvDQeiRE018B7POspNRVtAZscWntEPZpFCx4hcz/XBT+erenfg==
dependencies:
"@typescript-eslint/types" "4.29.3"
"@typescript-eslint/visitor-keys" "4.29.3"
"@typescript-eslint/types" "4.30.0"
"@typescript-eslint/visitor-keys" "4.30.0"
debug "^4.3.1"
globby "^11.0.3"
is-glob "^4.0.1"
Expand All @@ -233,12 +233,12 @@
dependencies:
eslint-visitor-keys "^1.1.0"

"@typescript-eslint/visitor-keys@4.29.3":
version "4.29.3"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.29.3.tgz#c691760a00bd86bf8320d2a90a93d86d322f1abf"
integrity sha512-MGGfJvXT4asUTeVs0Q2m+sY63UsfnA+C/FDgBKV3itLBmM9H0u+URcneePtkd0at1YELmZK6HSolCqM4Fzs6yA==
"@typescript-eslint/visitor-keys@4.30.0":
version "4.30.0"
resolved "https://registry.yarnpkg.com/@typescript-eslint/visitor-keys/-/visitor-keys-4.30.0.tgz#a47c6272fc71b0c627d1691f68eaecf4ad71445e"
integrity sha512-pNaaxDt/Ol/+JZwzP7MqWc8PJQTUhZwoee/PVlQ+iYoYhagccvoHnC9e4l+C/krQYYkENxznhVSDwClIbZVxRw==
dependencies:
"@typescript-eslint/types" "4.29.3"
"@typescript-eslint/types" "4.30.0"
eslint-visitor-keys "^2.0.0"

acorn-jsx@^5.3.1:
Expand Down Expand Up @@ -1805,10 +1805,10 @@ ts-node@10.2.1:
make-error "^1.1.1"
yn "3.1.1"

tsconfig-plantain@0.0.1:
version "0.0.1"
resolved "https://registry.yarnpkg.com/tsconfig-plantain/-/tsconfig-plantain-0.0.1.tgz#44ef6a8f3e3cada987377bedfe976d34165cac84"
integrity sha512-pxHR0SOmqyprd1LU1GMT09wWoJFIC5mIOKYwgoGfB1Q42MkDX8kEDAl7GjBqch/MY5FPn6ivS31Wku933l86Hw==
tsconfig-plantain@0.0.2:
version "0.0.2"
resolved "https://registry.yarnpkg.com/tsconfig-plantain/-/tsconfig-plantain-0.0.2.tgz#6934e0596873a448cfe673767f14b8f8c6f0d0e2"
integrity sha512-flRn+rNie8A4ORR5gThnaiculQ7wkNf0/opnOgb8pJM7SmJgupg+LQsDw/+YYQU3TlFGzI4Bn7CCqxs+HgbYsQ==

"tslib@1 || 2", tslib@~2.1.0:
version "2.1.0"
Expand Down

0 comments on commit 7e6e4f3

Please sign in to comment.