This commit is contained in:
Timothee Guerin 2022-05-25 10:12:52 -07:00 коммит произвёл GitHub
Родитель 56f2dbd6d4
Коммит 137bf3de83
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
27 изменённых файлов: 191 добавлений и 76 удалений

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/compiler",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/compiler"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/eslint-config-cadl",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/eslint-config-cadl"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/html-program-viewer",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/html-program-viewer"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/internal-build-utils",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/internal-build-utils"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/library-linter",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/library-linter"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/openapi",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/openapi"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/openapi3",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/openapi3"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/rest",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/rest"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "@cadl-lang/versioning",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "@cadl-lang/versioning"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "cadl-vscode",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "cadl-vscode"
}

Просмотреть файл

@ -0,0 +1,10 @@
{
"changes": [
{
"packageName": "tmlanguage-generator",
"comment": "Upgrade to TS4.7",
"type": "none"
}
],
"packageName": "tmlanguage-generator"
}

118
common/config/rush/pnpm-lock.yaml сгенерированный
Просмотреть файл

@ -40,6 +40,7 @@ specifiers:
'@types/prompts': ~2.0.14
'@types/react': ~18.0.5
'@types/react-dom': ~18.0.1
'@types/styled-components': ~5.1.25
'@types/vscode': ~1.53.0
'@types/watch': ~1.0.3
'@types/yargs': ~17.0.2
@ -81,7 +82,7 @@ specifiers:
source-map-support: ~0.5.19
strip-json-comments: ~4.0.0
styled-components: ~5.3.5
typescript: ~4.6.3
typescript: ~4.7.2
vite: ^2.9.9
vsce: ~2.6.7
vscode-languageclient: ~7.0.0
@ -132,11 +133,12 @@ dependencies:
'@types/prompts': 2.0.14
'@types/react': 18.0.8
'@types/react-dom': 18.0.3
'@types/styled-components': 5.1.25
'@types/vscode': 1.53.0
'@types/watch': 1.0.3
'@types/yargs': 17.0.10
'@typescript-eslint/eslint-plugin': 5.18.0_0dd9be2ba5ed9805045f3fec8be848f5
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/eslint-plugin': 5.18.0_f634834830b3cce5385c59ca2d60ec0b
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.7.2
'@vitejs/plugin-react': 1.3.2
ajv: 8.9.0
autorest: 3.3.2
@ -163,7 +165,7 @@ dependencies:
playwright: 1.20.2
plist: 3.0.5
prettier: 2.6.2
prettier-plugin-organize-imports: 2.3.4_prettier@2.6.2+typescript@4.6.3
prettier-plugin-organize-imports: 2.3.4_prettier@2.6.2+typescript@4.7.2
prompts: 2.4.2
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
@ -173,7 +175,7 @@ dependencies:
source-map-support: 0.5.21
strip-json-comments: 4.0.0
styled-components: 5.3.5_42bb643d0b268c4c5cb594c9f18cf5be
typescript: 4.6.3
typescript: 4.7.2
vite: 2.9.9
vsce: 2.6.7
vscode-languageclient: 7.0.0
@ -1343,7 +1345,7 @@ packages:
dev: false
optional: true
/@typescript-eslint/eslint-plugin/5.18.0_0dd9be2ba5ed9805045f3fec8be848f5:
/@typescript-eslint/eslint-plugin/5.18.0_f634834830b3cce5385c59ca2d60ec0b:
resolution: {integrity: sha512-tzrmdGMJI/uii9/V6lurMo4/o+dMTKDH82LkNjhJ3adCW22YQydoRs5MwTiqxGF9CSYxPxQ7EYb4jLNlIs+E+A==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -1354,23 +1356,23 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.7.2
'@typescript-eslint/scope-manager': 5.18.0
'@typescript-eslint/type-utils': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/utils': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/type-utils': 5.18.0_eslint@8.13.0+typescript@4.7.2
'@typescript-eslint/utils': 5.18.0_eslint@8.13.0+typescript@4.7.2
debug: 4.3.4
eslint: 8.13.0
functional-red-black-tree: 1.0.1
ignore: 5.2.0
regexpp: 3.2.0
semver: 7.3.6
tsutils: 3.21.0_typescript@4.6.3
typescript: 4.6.3
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/parser/5.18.0_eslint@8.13.0+typescript@4.6.3:
/@typescript-eslint/parser/5.18.0_eslint@8.13.0+typescript@4.7.2:
resolution: {integrity: sha512-+08nYfurBzSSPndngnHvFw/fniWYJ5ymOrn/63oMIbgomVQOvIDhBoJmYZ9lwQOCnQV9xHGvf88ze3jFGUYooQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -1382,10 +1384,10 @@ packages:
dependencies:
'@typescript-eslint/scope-manager': 5.18.0
'@typescript-eslint/types': 5.18.0
'@typescript-eslint/typescript-estree': 5.18.0_typescript@4.6.3
'@typescript-eslint/typescript-estree': 5.18.0_typescript@4.7.2
debug: 4.3.4
eslint: 8.13.0
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
@ -1398,7 +1400,7 @@ packages:
'@typescript-eslint/visitor-keys': 5.18.0
dev: false
/@typescript-eslint/type-utils/5.18.0_eslint@8.13.0+typescript@4.6.3:
/@typescript-eslint/type-utils/5.18.0_eslint@8.13.0+typescript@4.7.2:
resolution: {integrity: sha512-vcn9/6J5D6jtHxpEJrgK8FhaM8r6J1/ZiNu70ZUJN554Y3D9t3iovi6u7JF8l/e7FcBIxeuTEidZDR70UuCIfA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -1408,11 +1410,11 @@ packages:
typescript:
optional: true
dependencies:
'@typescript-eslint/utils': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/utils': 5.18.0_eslint@8.13.0+typescript@4.7.2
debug: 4.3.4
eslint: 8.13.0
tsutils: 3.21.0_typescript@4.6.3
typescript: 4.6.3
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
@ -1422,7 +1424,7 @@ packages:
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
dev: false
/@typescript-eslint/typescript-estree/5.18.0_typescript@4.6.3:
/@typescript-eslint/typescript-estree/5.18.0_typescript@4.7.2:
resolution: {integrity: sha512-wa+2VAhOPpZs1bVij9e5gyVu60ReMi/KuOx4LKjGx2Y3XTNUDJgQ+5f77D49pHtqef/klglf+mibuHs9TrPxdQ==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -1437,13 +1439,13 @@ packages:
globby: 11.1.0
is-glob: 4.0.3
semver: 7.3.6
tsutils: 3.21.0_typescript@4.6.3
typescript: 4.6.3
tsutils: 3.21.0_typescript@4.7.2
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
/@typescript-eslint/utils/5.18.0_eslint@8.13.0+typescript@4.6.3:
/@typescript-eslint/utils/5.18.0_eslint@8.13.0+typescript@4.7.2:
resolution: {integrity: sha512-+hFGWUMMri7OFY26TsOlGa+zgjEy1ssEipxpLjtl4wSll8zy85x0GrUSju/FHdKfVorZPYJLkF3I4XPtnCTewA==}
engines: {node: ^12.22.0 || ^14.17.0 || >=16.0.0}
peerDependencies:
@ -1452,7 +1454,7 @@ packages:
'@types/json-schema': 7.0.11
'@typescript-eslint/scope-manager': 5.18.0
'@typescript-eslint/types': 5.18.0
'@typescript-eslint/typescript-estree': 5.18.0_typescript@4.6.3
'@typescript-eslint/typescript-estree': 5.18.0_typescript@4.7.2
eslint: 8.13.0
eslint-scope: 5.1.1
eslint-utils: 3.0.0_eslint@8.13.0
@ -4078,14 +4080,14 @@ packages:
fast-diff: 1.2.0
dev: false
/prettier-plugin-organize-imports/2.3.4_prettier@2.6.2+typescript@4.6.3:
/prettier-plugin-organize-imports/2.3.4_prettier@2.6.2+typescript@4.7.2:
resolution: {integrity: sha512-R8o23sf5iVL/U71h9SFUdhdOEPsi3nm42FD/oDYIZ2PQa4TNWWuWecxln6jlIQzpZTDMUeO1NicJP6lLn2TtRw==}
peerDependencies:
prettier: '>=2.0'
typescript: '>=2.9'
dependencies:
prettier: 2.6.2
typescript: 4.6.3
typescript: 4.7.2
dev: false
/prettier/2.6.2:
@ -4717,14 +4719,14 @@ packages:
resolution: {integrity: sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw==}
dev: false
/tsutils/3.21.0_typescript@4.6.3:
/tsutils/3.21.0_typescript@4.7.2:
resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==}
engines: {node: '>= 6'}
peerDependencies:
typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta'
dependencies:
tslib: 1.14.1
typescript: 4.6.3
typescript: 4.7.2
dev: false
/tunnel-agent/0.6.0:
@ -4765,8 +4767,8 @@ packages:
underscore: 1.13.2
dev: false
/typescript/4.6.3:
resolution: {integrity: sha512-yNIatDa5iaofVozS/uQJEl3JRWLKKGJKh6Yaiv0GLGSuhpFJe7P3SbHZ8/yjAHRQwKRoA6YZqlfjXWmVzoVSMw==}
/typescript/4.7.2:
resolution: {integrity: sha512-Mamb1iX2FDUpcTRzltPxgWMKy3fhg0TN378ylbktPGPK/99KbDtMQ4W1hwgsbPAsG3a0xKa1vmw4VKZQbkvz5A==}
engines: {node: '>=4.2.0'}
hasBin: true
dev: false
@ -5160,7 +5162,7 @@ packages:
dev: false
file:projects/bundler.tgz:
resolution: {integrity: sha512-K7knmdrc5Ov34mK2Bz8ou4Sh88v6Vs3EJpXIdaJQDb5VULJGi8jsuErujl3nFoSW+ap6lUbB0ZrsZmxvhhfm0Q==, tarball: file:projects/bundler.tgz}
resolution: {integrity: sha512-hjMMWIfjVJmDfIdRCjcshkwGmK7XB7SaeGTsV5jbw0w7QnMuF1Px7Vt1u8ywbwqLRJwCxQX731Uhj/lcoDrGYQ==, tarball: file:projects/bundler.tgz}
name: '@rush-temp/bundler'
version: 0.0.0
dependencies:
@ -5178,7 +5180,7 @@ packages:
mocha: 9.2.2
rimraf: 3.0.2
rollup: 2.70.1
typescript: 4.6.3
typescript: 4.7.2
vite: 2.9.9
transitivePeerDependencies:
- less
@ -5194,7 +5196,7 @@ packages:
dev: false
file:projects/cadl-vscode.tgz:
resolution: {integrity: sha512-i/CxN7CET3Q0OZM20JeMJ2yxA0oxlS3o09CWP3wQPWKANAOaduuXEI+6sMm69hayHZszhqxDpDcjR1grXOvjWQ==, tarball: file:projects/cadl-vscode.tgz}
resolution: {integrity: sha512-DzSR813DQ0ORT9Ol4kqMv9bS6q6myYvFMaISzoLIa/QVEdYVsv8ykArP3WQSY1IZfgjR51G4U6FYlqGxDfUHqg==, tarball: file:projects/cadl-vscode.tgz}
name: '@rush-temp/cadl-vscode'
version: 0.0.0
dependencies:
@ -5210,7 +5212,7 @@ packages:
mocha: 9.2.2
rimraf: 3.0.2
rollup: 2.70.1
typescript: 4.6.3
typescript: 4.7.2
vsce: 2.6.7
vscode-languageclient: 7.0.0
vscode-oniguruma: 1.6.2
@ -5221,7 +5223,7 @@ packages:
dev: false
file:projects/compiler.tgz:
resolution: {integrity: sha512-VpgDB9ggyVrT91Cd8fVVKCB/1U2X6oiQ1XChuqYwrjr0+FQjNgc678VWYA6foMIS8t/BqEg+cEhUZAE81srVjw==, tarball: file:projects/compiler.tgz}
resolution: {integrity: sha512-cTjeTQFdNsJPehR8rs9OH2sCvr4PbjBBsWmfqcvo9HPKcNgrcREsLACSeh5gUUlLYxWLXtf2cO0xT4ZMIbTijQ==, tarball: file:projects/compiler.tgz}
name: '@rush-temp/compiler'
version: 0.0.0
dependencies:
@ -5252,11 +5254,11 @@ packages:
node-watch: 0.7.3
picocolors: 1.0.0
prettier: 2.6.2
prettier-plugin-organize-imports: 2.3.4_prettier@2.6.2+typescript@4.6.3
prettier-plugin-organize-imports: 2.3.4_prettier@2.6.2+typescript@4.7.2
prompts: 2.4.2
rimraf: 3.0.2
source-map-support: 0.5.21
typescript: 4.6.3
typescript: 4.7.2
vscode-languageserver: 7.0.0
vscode-languageserver-textdocument: 1.0.4
yargs: 17.3.1
@ -5265,25 +5267,25 @@ packages:
dev: false
file:projects/eslint-config-cadl.tgz_prettier@2.6.2:
resolution: {integrity: sha512-8/WXozlTvN92wpJEPRMBLxnn4V4OWad5YmqbR/JVbaxjj/ZBpuS3X0TbHdVz5m0TQjGuBrMNu6eeV+HK1lJGOw==, tarball: file:projects/eslint-config-cadl.tgz}
resolution: {integrity: sha512-L/7jZRjegn/IA9eQ5z7U0uAWE0BbHdoyzBKN6miNz2xrnLCG2U0Tkqe8O0iRMCIy/l3DwLtjlXVzh3KtoOwaXQ==, tarball: file:projects/eslint-config-cadl.tgz}
id: file:projects/eslint-config-cadl.tgz
name: '@rush-temp/eslint-config-cadl'
version: 0.0.0
dependencies:
'@rushstack/eslint-patch': 1.1.0
'@typescript-eslint/eslint-plugin': 5.18.0_0dd9be2ba5ed9805045f3fec8be848f5
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.6.3
'@typescript-eslint/eslint-plugin': 5.18.0_f634834830b3cce5385c59ca2d60ec0b
'@typescript-eslint/parser': 5.18.0_eslint@8.13.0+typescript@4.7.2
eslint: 8.13.0
eslint-config-prettier: 8.5.0_eslint@8.13.0
eslint-plugin-prettier: 4.0.0_1815ac95b7fb26c13c7d48a8eef62d0f
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- prettier
- supports-color
dev: false
file:projects/html-program-viewer.tgz:
resolution: {integrity: sha512-44v621smDz0nHvLr7l+VOLpHJQfpnOlletAGZ3bbdBLZG01LtLXXiT/BXyBMR9ZGapkQEhvx09KEcSPzkysRGg==, tarball: file:projects/html-program-viewer.tgz}
resolution: {integrity: sha512-u0o6xrGI3cKnsYpP5zEKZv6sfWgim8S0u9J28w3/fW7Lm8yXRRDgC8ed84XfiHycr2xSeBERL4dcD9rtei6BxA==, tarball: file:projects/html-program-viewer.tgz}
name: '@rush-temp/html-program-viewer'
version: 0.0.0
dependencies:
@ -5302,13 +5304,13 @@ packages:
react-is: 18.1.0
rimraf: 3.0.2
styled-components: 5.3.5_42bb643d0b268c4c5cb594c9f18cf5be
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
file:projects/internal-build-utils.tgz:
resolution: {integrity: sha512-u9OBuT5W8BjtZKm+xGC0lAECOwUokH4HoZkAmEdaYPgXbUpCIu7uGNC3QK847bG4gKf7LjHcoNucnS+BE+FxFA==, tarball: file:projects/internal-build-utils.tgz}
resolution: {integrity: sha512-q9RTNKQbKhehMhPF3vDkugya8BGg7B3wxcsDB1G+ndp1uFgqfN3zNV6Ypg6K+sXmMUFfPDIi0RMQwjDCmCc5fA==, tarball: file:projects/internal-build-utils.tgz}
name: '@rush-temp/internal-build-utils'
version: 0.0.0
dependencies:
@ -5321,7 +5323,7 @@ packages:
mocha: 9.2.2
rimraf: 3.0.2
strip-json-comments: 4.0.0
typescript: 4.6.3
typescript: 4.7.2
watch: 1.0.2
yargs: 17.3.1
transitivePeerDependencies:
@ -5329,7 +5331,7 @@ packages:
dev: false
file:projects/library-linter.tgz:
resolution: {integrity: sha512-YAt00LeBNRgau1UJCNr79lC4FCqU0o1gGDWL7Bsnlgq6KiKb1eKj9xzKVS0EIiVMs83H6lpF+0N6AC1i+bHnEw==, tarball: file:projects/library-linter.tgz}
resolution: {integrity: sha512-EVbtfA+Uzyq0dj0VgCC6aNTpbdMDFoDnhEkfOF63soVViI/EOp5hz9cUtLuNjipQJujgd0Cp7j07Qloe7mcS7w==, tarball: file:projects/library-linter.tgz}
name: '@rush-temp/library-linter'
version: 0.0.0
dependencies:
@ -5339,13 +5341,13 @@ packages:
eslint: 8.13.0
mocha: 9.2.2
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
file:projects/openapi.tgz:
resolution: {integrity: sha512-2paJHQbe6qLFmn5ZYx2WS/GLmuNBjYzIzeOYufdeVNuvZDtVCOxVNpT1WeRNkvriaAKZ5YZ9k0aPzw8wI3EvXA==, tarball: file:projects/openapi.tgz}
resolution: {integrity: sha512-DVTOuNxChQbCPWwEIq5mclF7Y8XbKwE7LizttYtNtBjmwR6il1xj27aAZYTwSvlxm8t70FQ7nTKG7jxTa7t1/Q==, tarball: file:projects/openapi.tgz}
name: '@rush-temp/openapi'
version: 0.0.0
dependencies:
@ -5355,13 +5357,13 @@ packages:
eslint: 8.13.0
mocha: 9.2.2
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
file:projects/openapi3.tgz:
resolution: {integrity: sha512-NJZFKEQZoABFuUpMRigIYBN53QUZlKl0yPeriYBstfj18AnKJSLq0DClZ+lINqxAiZQ6VzKHP1JmxDRcEBerng==, tarball: file:projects/openapi3.tgz}
resolution: {integrity: sha512-Q264qwW6LlM/cuY1n8Rt034Zr0RrunPx4RlI+wn9iuNn5qpW1CceaF9JEI5NQhDKLeL/Y7IUzyGkj4kM56sVZw==, tarball: file:projects/openapi3.tgz}
name: '@rush-temp/openapi3'
version: 0.0.0
dependencies:
@ -5371,13 +5373,13 @@ packages:
eslint: 8.13.0
mocha: 9.2.2
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
file:projects/playground.tgz:
resolution: {integrity: sha512-CxO8yw2boE75w5UmcRDAmJuwL3iU3JK3bxFPFS4FPOFlF2o3+q/HBs1s8TEgMdJdXx5bg9DA3jyRjIvfdEi6OQ==, tarball: file:projects/playground.tgz}
resolution: {integrity: sha512-kB//T8ctCDZxgXzOnld+d88j3MfjzXSNz8CIySDfzFzM0C7ZuSrRVhaPtPhckHQiHfsYxs8mfyBOmJxo+7Whvw==, tarball: file:projects/playground.tgz}
name: '@rush-temp/playground'
version: 0.0.0
dependencies:
@ -5402,7 +5404,7 @@ packages:
react: 18.0.0
react-dom: 18.0.0_react@18.0.0
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
vite: 2.9.9
vscode-languageserver: 7.0.0
vscode-languageserver-textdocument: 1.0.4
@ -5430,7 +5432,7 @@ packages:
dev: false
file:projects/rest.tgz:
resolution: {integrity: sha512-vjoyiRN83Ip4TYP7PXibIH/8KtFes3UkbKUyldOPl3G7iP8ISibJs/9bhAmsjF+to9cxk+0AQ+iWmewuFNl+sA==, tarball: file:projects/rest.tgz}
resolution: {integrity: sha512-UFtv3eLmrMX0Zyxgwv3VXVALmX2bxcwFpNZEf9xJf/MS7qPgsPkvMtIb9ulKpzXTJnWBI/I26kCTs8852G94BQ==, tarball: file:projects/rest.tgz}
name: '@rush-temp/rest'
version: 0.0.0
dependencies:
@ -5440,7 +5442,7 @@ packages:
eslint: 8.13.0
mocha: 9.2.2
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
@ -5472,7 +5474,7 @@ packages:
dev: false
file:projects/tmlanguage-generator.tgz:
resolution: {integrity: sha512-e77fm04nCm0QDmAVqmrwA5SQX7YNSX3r2SJ/LKhH9gH3yaK29HP82ffJms2Mhmz9NO0X7pEV2TLBaL0A32dTfQ==, tarball: file:projects/tmlanguage-generator.tgz}
resolution: {integrity: sha512-rzXotIZ+Tr6CIGOByGGL0ziIFQ5l2N95XiIF3rGCyU18jrVS5wbcxcO+oCS/Jt1tV6yGN7bc/jzwKuSxqVn+Ig==, tarball: file:projects/tmlanguage-generator.tgz}
name: '@rush-temp/tmlanguage-generator'
version: 0.0.0
dependencies:
@ -5482,13 +5484,13 @@ packages:
onigasm: 2.2.5
plist: 3.0.5
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false
file:projects/versioning.tgz:
resolution: {integrity: sha512-8/ohZ0IwV3wyfiSSWHbnMU6QL2lBgE5xANEDD+RYFanEdQJBCQd5d2bvgTb9ebzjLpgkyj2lMv7CMmfBab+1BA==, tarball: file:projects/versioning.tgz}
resolution: {integrity: sha512-C1aq3/bryDbDJX8LJLO0LwEUUCUlJa0gbFZKle0K6XkIEJHQjDsIgFFP6J7XDofHg2v9VFUOFJI/Jx/qJzNHQA==, tarball: file:projects/versioning.tgz}
name: '@rush-temp/versioning'
version: 0.0.0
dependencies:
@ -5498,7 +5500,7 @@ packages:
eslint: 8.13.0
mocha: 9.2.2
rimraf: 3.0.2
typescript: 4.6.3
typescript: 4.7.2
transitivePeerDependencies:
- supports-color
dev: false

Просмотреть файл

@ -55,7 +55,7 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3",
"typescript": "~4.7.2",
"vite": "^2.9.9"
}
}

Просмотреть файл

@ -122,7 +122,7 @@
"rimraf": "~3.0.2",
"rollup": "~2.70.1",
"tmlanguage-generator": "~0.3.0",
"typescript": "~4.6.3",
"typescript": "~4.7.2",
"vsce": "~2.6.7",
"vscode-languageclient": "~7.0.0",
"vscode-oniguruma": "~1.6.1",

Просмотреть файл

@ -42,8 +42,9 @@ export function createDiagnosticCreator<T extends { [code: string]: DiagnosticMe
const codeStr = Object.keys(diagnostics)
.map((x) => ` - ${x}`)
.join("\n");
const code = String(diagnostic.code);
throw new Error(
`Unexpected diagnostic code '${diagnostic.code}'. ${errorMessage}. Defined codes:\n${codeStr}`
`Unexpected diagnostic code '${code}'. ${errorMessage}. Defined codes:\n${codeStr}`
);
}
@ -52,15 +53,17 @@ export function createDiagnosticCreator<T extends { [code: string]: DiagnosticMe
const codeStr = Object.keys(diagnosticDef.messages)
.map((x) => ` - ${x}`)
.join("\n");
const messageId = String(diagnostic.messageId);
const code = String(diagnostic.code);
throw new Error(
`Unexpected message id '${diagnostic.messageId}'. ${errorMessage} for code '${diagnostic.code}'. Defined codes:\n${codeStr}`
`Unexpected message id '${messageId}'. ${errorMessage} for code '${code}'. Defined codes:\n${codeStr}`
);
}
const messageStr = typeof message === "string" ? message : message((diagnostic as any).format);
return {
code: libraryName ? `${libraryName}/${diagnostic.code}` : diagnostic.code.toString(),
code: libraryName ? `${libraryName}/${String(diagnostic.code)}` : diagnostic.code.toString(),
severity: diagnosticDef.severity,
message: messageStr,
target: diagnostic.target,

Просмотреть файл

@ -124,7 +124,7 @@ class StateMap<V> implements Map<Type, V> {
return this.entries();
}
[Symbol.toStringTag]: "StateMap";
[Symbol.toStringTag] = "StateMap";
dispatch(keyType?: Type): Map<Type, V> {
const key = keyType ? keyType.projector : this.program.currentProjector;
@ -181,7 +181,7 @@ class StateSet implements Set<Type> {
return this.values();
}
[Symbol.toStringTag]: "StateSet";
[Symbol.toStringTag] = "StateSet";
dispatch(keyType?: Type): Set<Type> {
const key = keyType ? keyType.projector : this.program.currentProjector;

Просмотреть файл

@ -91,6 +91,6 @@
"prettier-plugin-organize-imports": "~2.3.4",
"source-map-support": "~0.5.19",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -20,7 +20,7 @@
"eslint": "^8.12.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-prettier": "^4.0.0",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
},
"author": "",
"license": "ISC"

Просмотреть файл

@ -73,6 +73,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -52,7 +52,7 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3",
"typescript": "~4.7.2",
"watch": "~1.0.2"
}
}

Просмотреть файл

@ -62,6 +62,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -66,6 +66,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -70,6 +70,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -71,7 +71,7 @@
"playwright": "~1.20.2",
"rimraf": "~3.0.2",
"cross-env": "~7.0.3",
"typescript": "~4.6.3",
"typescript": "~4.7.2",
"@types/lz-string": "~1.3.34",
"@types/debounce": "~1.2.1"
}

Просмотреть файл

@ -64,6 +64,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -42,6 +42,6 @@
"@cadl-lang/eslint-config-cadl": "~0.3.0",
"eslint": "^8.12.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}

Просмотреть файл

@ -63,6 +63,6 @@
"mocha": "~9.2.0",
"c8": "~7.11.0",
"rimraf": "~3.0.2",
"typescript": "~4.6.3"
"typescript": "~4.7.2"
}
}