Skip to content

Commit

Permalink
Remove the json fix (for now)
Browse files Browse the repository at this point in the history
  • Loading branch information
AsafMah committed Sep 22, 2024
1 parent e441be5 commit 7d97fb4
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 10 deletions.
1 change: 0 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed

- Added azure/core-utils as an official dependency
- Added "with {type: json}" to all json imports
- Added "main" field back to package.json

## [7.0.0-alpha.0] - 2024-09-16
Expand Down
1 change: 0 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
"@types/webpack-dev-server": "^4.7.2",
"@typescript-eslint/eslint-plugin": "^5.32.0",
"@typescript-eslint/parser": "^5.32.0",
"babel-preset-current-node-syntax": "^1.1.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-header": "^3.1.1",
Expand Down
2 changes: 1 addition & 1 deletion packages/azure-kusto-data/src/kustoTrustedEndpoints.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// Licensed under the MIT License.

import { getStringTailLowerCase } from "./utils.js";
import { default as endpointsData } from "./wellKnownKustoEndpoints.json" with { type: "json" };
import { default as endpointsData } from "./wellKnownKustoEndpoints.json";

export class MatchRule {
constructor(
Expand Down
8 changes: 4 additions & 4 deletions packages/azure-kusto-data/test/clientTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import { KustoClient } from "../src/client.js";
import { ClientRequestProperties } from "../src/clientRequestProperties.js";
import { KustoResponseDataSetV1, KustoResponseDataSetV2 } from "../src/response.js";

import v2Response from "./data/response/v2.json" with { type: "json" };
import v2ResponseError from "./data/response/v2error.json" with { type: "json" };
import v1Response from "./data/response/v1.json" with { type: "json" };
import v1_2Response from "./data/response/v1_2.json" with { type: "json" };
import v2Response from "./data/response/v2.json";
import v2ResponseError from "./data/response/v2error.json";
import v1Response from "./data/response/v1.json";
import v1_2Response from "./data/response/v1_2.json";
import { Readable } from "stream";
import ConnectionBuilder from "../src/connectionBuilder.js";
import { CloudSettings } from "../src/cloudSettings.js";
Expand Down
2 changes: 1 addition & 1 deletion packages/azure-kusto-data/test/responseTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

import assert from "assert";

import v2Response from "./data/response/v2.json" with { type: "json" };
import v2Response from "./data/response/v2.json";
import { KustoResponseDataSetV2, V2Frames } from "../src/response.js";

describe("KustoResultDataSet", () => {
Expand Down
2 changes: 1 addition & 1 deletion packages/quick_start_browser/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { IngestFlow } from "./IngestFlow";
import { QueryFlow } from "./QueryFlow";
import { ConfigJson, UpperFields } from "./UpperFields";
import logo from "./assets/download.png";
import myJson from "./kusto_sample_config.json" with { type: "json" };
import myJson from "./kusto_sample_config.json";
if (!window.Buffer) {
window.Buffer = Buffer;
}
Expand Down

0 comments on commit 7d97fb4

Please sign in to comment.