@azure-tools/typespec-azure-core 0.52.0-dev.1 → 0.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefer-csv-collection-format.d.ts","sourceRoot":"","sources":["../../../src/rules/prefer-csv-collection-format.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B;;
|
|
1
|
+
{"version":3,"file":"prefer-csv-collection-format.d.ts","sourceRoot":"","sources":["../../../src/rules/prefer-csv-collection-format.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,6BAA6B;;EAsBxC,CAAC"}
|
|
@@ -14,6 +14,7 @@ export const preferCsvCollectionFormatRule = createRule({
|
|
|
14
14
|
if (isExcludedCoreType(context.program, property))
|
|
15
15
|
return;
|
|
16
16
|
const headerOptions = getHeaderFieldOptions(context.program, property);
|
|
17
|
+
// eslint-disable-next-line @typescript-eslint/no-deprecated
|
|
17
18
|
if (headerOptions?.format !== undefined && headerOptions?.format !== "csv") {
|
|
18
19
|
context.reportDiagnostic({
|
|
19
20
|
target: property,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"prefer-csv-collection-format.js","sourceRoot":"","sources":["../../../src/rules/prefer-csv-collection-format.ts"],"names":[],"mappings":"AAAA,OAAO,EAAiB,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAC/D,OAAO,EAAE,qBAAqB,EAAE,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AAEhD,MAAM,CAAC,MAAM,6BAA6B,GAAG,UAAU,CAAC;IACtD,IAAI,EAAE,8BAA8B;IACpC,WAAW,EAAE,qEAAqE;IAClF,QAAQ,EAAE,SAAS;IACnB,QAAQ,EAAE;QACR,OAAO,EAAE,qEAAqE;KAC/E;IACD,MAAM,CAAC,OAAO;QACZ,OAAO;YACL,aAAa,EAAE,CAAC,QAAuB,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BACvB,MAAM,EAAE,QAAQ;qBACjB,CAAC,CAAC;gBACL,CAAC;YACH,CAAC;SACF,CAAC;IACJ,CAAC;CACF,CAAC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@azure-tools/typespec-azure-core",
|
|
3
|
-
"version": "0.52.0
|
|
3
|
+
"version": "0.52.0",
|
|
4
4
|
"author": "Microsoft Corporation",
|
|
5
5
|
"description": "TypeSpec Azure Core library",
|
|
6
6
|
"homepage": "https://azure.github.io/typespec-azure",
|
|
@@ -39,27 +39,26 @@
|
|
|
39
39
|
"!dist/test/**"
|
|
40
40
|
],
|
|
41
41
|
"peerDependencies": {
|
|
42
|
-
"@typespec/compiler": "~0.
|
|
43
|
-
"@typespec/http": "~0.
|
|
44
|
-
"@typespec/rest": "~0.
|
|
42
|
+
"@typespec/compiler": "~0.66.0",
|
|
43
|
+
"@typespec/http": "~0.66.0",
|
|
44
|
+
"@typespec/rest": "~0.66.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@types/node": "~22.10.10",
|
|
48
|
-
"@typespec/compiler": "~0.65.3 || >=0.66.0-dev <0.66.0",
|
|
49
|
-
"@typespec/http": "~0.65.0 || >=0.66.0-dev <0.66.0",
|
|
50
|
-
"@typespec/library-linter": "~0.65.0 || >=0.66.0-dev <0.66.0",
|
|
51
|
-
"@typespec/openapi": "~0.65.0 || >=0.66.0-dev <0.66.0",
|
|
52
|
-
"@typespec/rest": "~0.65.0 || >=0.66.0-dev <0.66.0",
|
|
53
|
-
"@typespec/versioning": "~0.65.0 || >=0.66.0-dev <0.66.0",
|
|
54
48
|
"@vitest/coverage-v8": "^3.0.4",
|
|
55
49
|
"@vitest/ui": "^3.0.3",
|
|
56
50
|
"c8": "^10.1.3",
|
|
57
51
|
"rimraf": "~6.0.1",
|
|
58
52
|
"typescript": "~5.7.3",
|
|
59
53
|
"vitest": "^3.0.5",
|
|
60
|
-
"@typespec/
|
|
54
|
+
"@typespec/compiler": "~0.66.0",
|
|
55
|
+
"@typespec/http": "~0.66.0",
|
|
56
|
+
"@typespec/library-linter": "~0.66.0",
|
|
57
|
+
"@typespec/openapi": "~0.66.0",
|
|
58
|
+
"@typespec/rest": "~0.66.0",
|
|
59
|
+
"@typespec/tspd": "~0.46.0",
|
|
60
|
+
"@typespec/versioning": "~0.66.0"
|
|
61
61
|
},
|
|
62
|
-
"dependencies": {},
|
|
63
62
|
"scripts": {
|
|
64
63
|
"clean": "rimraf ./dist ./temp",
|
|
65
64
|
"build": "npm run gen-extern-signature && tsc -p . && npm run lint-typespec-library",
|