Skip to content

Commit c1fc2b1

Browse files
committed
Added $isArray, adjusted parsing of JSON input
1 parent da54388 commit c1fc2b1

126 files changed

Lines changed: 597 additions & 411 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

dist/functions/parseJSON.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
export declare const JSONStartRegex: RegExp;
22
export declare const JSONEndRegex: RegExp;
33
export declare const JSONNumberRegex: RegExp;
4-
export default function parseJSON(str: unknown): any;
4+
export default function parseJSON(str: unknown, parseNull?: boolean): any;
55
//# sourceMappingURL=parseJSON.d.ts.map

dist/functions/parseJSON.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/functions/parseJSON.js

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/functions/parseJSON.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/array/isArray.d.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
import { ArgType, NativeFunction } from "../../structures";
2+
declare const _default: NativeFunction<[{
3+
name: string;
4+
description: string;
5+
rest: false;
6+
required: true;
7+
type: ArgType.Json;
8+
}], true>;
9+
export default _default;
10+
//# sourceMappingURL=isArray.d.ts.map

dist/native/array/isArray.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/array/isArray.js

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/array/isArray.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/channel/createInvite.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/channel/createInvite.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)