Skip to content

Commit

Permalink
Fix unicode-properties import (#2566)
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdsgl committed Apr 14, 2024
1 parent 046dc5b commit 5ddbd5f
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/CSharp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ import {
} from "../Transformers";
import { RenderContext } from "../Renderer";
import { minMaxLengthForType, minMaxValueForType } from "../attributes/Constraints";
import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

export enum Framework {
Newtonsoft,
Expand Down
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/Elixir.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

import { Sourcelike } from "../Source";
import { Namer, Name } from "../Naming";
Expand Down
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/Objective-C.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ import { StringOption, BooleanOption, EnumOption, Option, getOptionValues, Optio
import { assert, defined } from "../support/Support";
import { RenderContext } from "../Renderer";

import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

export type MemoryAttribute = "assign" | "strong" | "copy";
export type OutputFeatures = { interface: boolean; implementation: boolean };
Expand Down
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/Python.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ import {
iterableFirst
} from "collection-utils";

import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

const forbiddenTypeNames = [
"Any",
Expand Down
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/language/ruby/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

import { Sourcelike, modifySource } from "../../Source";
import { Namer, Name } from "../../Naming";
Expand Down
2 changes: 1 addition & 1 deletion packages/quicktype-core/src/support/Strings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export type NamingStyle =
| "pascal-upper-acronyms"
| "camel-upper-acronyms";

import unicode from "unicode-properties";
import * as unicode from "unicode-properties";

function computeAsciiMap(mapper: (codePoint: number) => string): {
charStringMap: string[];
Expand Down

0 comments on commit 5ddbd5f

Please sign in to comment.