Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump path-parse from 1.0.6 to 1.0.7 #4

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "extra-string",
"version": "2.0.22",
"version": "2.0.23",
"description": "A string is a sequence of characters.",
"main": "index.js",
"module": "index.mjs",
Expand Down
5 changes: 0 additions & 5 deletions src/HEX_DIGITS.ts

This file was deleted.

8 changes: 0 additions & 8 deletions src/LETTERS.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/LOWERCASE.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/OCT_DIGITS.ts

This file was deleted.

10 changes: 0 additions & 10 deletions src/PRINTABLE.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/PUNCTUATION.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/UPPERCASE.ts

This file was deleted.

5 changes: 0 additions & 5 deletions src/WHITESPACE.ts

This file was deleted.

24 changes: 24 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
// CONSTANTS
// =========

/** Decimal digits 0-9. */
export const DIGITS: string = "0123456789";
/** Octal digits 0-7. */
export const OCT_DIGITS: string = "01234567";
/** Hexadecimal digits 0-9, A-F, a-f. */
export const HEX_DIGITS: string = "0123456789ABCDEFabcdef";

/** English letters A-Z. */
export const UPPERCASE: string = "ABCDEFGHIJKLMNOPQRSTUVWXYZ";
/** English letters a-z. */
export const LOWERCASE: string = "abcdefghijklmnopqrstuvwxyz";
/** Combination of uppercase, lowercase. */
export const LETTERS: string = UPPERCASE + LOWERCASE;

/** Punctuation symbols. */
export const PUNCTUATION: string = "!\"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~";
/** The string "\t\n\x0b\x0c\r ". */
export const WHITESPACE: string = "\t\n\x0b\x0c\r ";

/** Combination of digits, letters, punctuation, and whitespace. */
export const PRINTABLE: string = DIGITS + LETTERS + PUNCTUATION + WHITESPACE;