@almaclaine/constants
Advanced tools
Comparing version 0.0.6 to 0.0.7
{ | ||
"name": "@almaclaine/constants", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "cjs/src/index.js", | ||
@@ -5,0 +5,0 @@ "module": "esm/src/index.js", |
export { UNDEFINED, NULL } from './lib/general'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES } from './lib/string'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, } from './lib/string'; | ||
export { MAX_INT32, MIN_INT32, MAX_SAFE_INT, MIN_SAFE_INT, MAX_VALUE, MIN_VALUE, MAX_UINT, } from './lib/number'; |
@@ -21,2 +21,20 @@ "use strict"; | ||
}, | ||
DIGITS_SET: function() { | ||
return _string.DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return _string.DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return _string.LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return _string.LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return _string.LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return _string.LETTERS_LOWERCASE; | ||
}, | ||
MAX_INT32: function() { | ||
@@ -23,0 +41,0 @@ return _number.MAX_INT32; |
declare const WHITE_SPACES: readonly [" ", "\n", "\r", "\t", "\f", "\v", " ", " ", "", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "\u2028", "\u2029", " ", " ", " "]; | ||
declare const WHITE_SPACES_SET: Set<string>; | ||
export { WHITE_SPACES_SET }; | ||
export { WHITE_SPACES }; | ||
declare const DIGITS: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; | ||
declare const DIGITS_SET: Set<string>; | ||
declare const LETTERS_CAPITAL: readonly ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; | ||
declare const LETTERS_CAPITAL_SET: Set<string>; | ||
declare const LETTERS_LOWERCASE: readonly ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; | ||
declare const LETTERS_LOWERCASE_SET: Set<string>; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, }; |
@@ -14,2 +14,20 @@ "use strict"; | ||
return WHITE_SPACES; | ||
}, | ||
DIGITS_SET: function() { | ||
return DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return LETTERS_LOWERCASE; | ||
} | ||
@@ -45,3 +63,74 @@ }); | ||
const WHITE_SPACES_SET = new Set(WHITE_SPACES); | ||
const DIGITS = [ | ||
'0', | ||
'1', | ||
'2', | ||
'3', | ||
'4', | ||
'5', | ||
'6', | ||
'7', | ||
'8', | ||
'9' | ||
]; | ||
const DIGITS_SET = new Set(DIGITS); | ||
const LETTERS_CAPITAL = [ | ||
'A', | ||
'B', | ||
'C', | ||
'D', | ||
'E', | ||
'F', | ||
'G', | ||
'H', | ||
'I', | ||
'J', | ||
'K', | ||
'L', | ||
'M', | ||
'N', | ||
'O', | ||
'P', | ||
'Q', | ||
'R', | ||
'S', | ||
'T', | ||
'U', | ||
'V', | ||
'W', | ||
'X', | ||
'Y', | ||
'Z' | ||
]; | ||
const LETTERS_CAPITAL_SET = new Set(LETTERS_CAPITAL); | ||
const LETTERS_LOWERCASE = [ | ||
'a', | ||
'b', | ||
'c', | ||
'd', | ||
'e', | ||
'f', | ||
'g', | ||
'h', | ||
'i', | ||
'j', | ||
'k', | ||
'l', | ||
'm', | ||
'n', | ||
'o', | ||
'p', | ||
'q', | ||
'r', | ||
's', | ||
't', | ||
'u', | ||
'v', | ||
'w', | ||
'x', | ||
'y', | ||
'z' | ||
]; | ||
const LETTERS_LOWERCASE_SET = new Set(LETTERS_LOWERCASE); | ||
//# sourceMappingURL=string.js.map |
{ | ||
"name": "@almaclaine/constants", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"main": "cjs/src/index.js", | ||
@@ -5,0 +5,0 @@ "module": "esm/src/index.js", |
@@ -1,3 +0,24 @@ | ||
export { UNDEFINED, NULL, WHITE_SPACES_SET, WHITE_SPACES } from './lib/constants'; | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
UNDEFINED: function() { | ||
return _constants.UNDEFINED; | ||
}, | ||
NULL: function() { | ||
return _constants.NULL; | ||
}, | ||
WHITE_SPACES_SET: function() { | ||
return _constants.WHITE_SPACES_SET; | ||
}, | ||
WHITE_SPACES: function() { | ||
return _constants.WHITE_SPACES; | ||
} | ||
}); | ||
const _constants = require("./lib/constants"); | ||
//# sourceMappingURL=index.d.js.map |
export { UNDEFINED, NULL } from './lib/general'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES } from './lib/string'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, } from './lib/string'; | ||
export { MAX_INT32, MIN_INT32, MAX_SAFE_INT, MIN_SAFE_INT, MAX_VALUE, MIN_VALUE, MAX_UINT, } from './lib/number'; |
@@ -1,5 +0,65 @@ | ||
export { UNDEFINED, NULL } from './lib/general'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES } from './lib/string'; | ||
export { MAX_INT32, MIN_INT32, MAX_SAFE_INT, MIN_SAFE_INT, MAX_VALUE, MIN_VALUE, MAX_UINT } from './lib/number'; | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
UNDEFINED: function() { | ||
return _general.UNDEFINED; | ||
}, | ||
NULL: function() { | ||
return _general.NULL; | ||
}, | ||
WHITE_SPACES_SET: function() { | ||
return _string.WHITE_SPACES_SET; | ||
}, | ||
WHITE_SPACES: function() { | ||
return _string.WHITE_SPACES; | ||
}, | ||
DIGITS_SET: function() { | ||
return _string.DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return _string.DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return _string.LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return _string.LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return _string.LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return _string.LETTERS_LOWERCASE; | ||
}, | ||
MAX_INT32: function() { | ||
return _number.MAX_INT32; | ||
}, | ||
MIN_INT32: function() { | ||
return _number.MIN_INT32; | ||
}, | ||
MAX_SAFE_INT: function() { | ||
return _number.MAX_SAFE_INT; | ||
}, | ||
MIN_SAFE_INT: function() { | ||
return _number.MIN_SAFE_INT; | ||
}, | ||
MAX_VALUE: function() { | ||
return _number.MAX_VALUE; | ||
}, | ||
MIN_VALUE: function() { | ||
return _number.MIN_VALUE; | ||
}, | ||
MAX_UINT: function() { | ||
return _number.MAX_UINT; | ||
} | ||
}); | ||
const _general = require("./lib/general"); | ||
const _string = require("./lib/string"); | ||
const _number = require("./lib/number"); | ||
//# sourceMappingURL=index.js.map |
@@ -1,3 +0,23 @@ | ||
export { UNDEFINED, NULL, WHITE_SPACES_SET, WHITE_SPACES }; | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
UNDEFINED: function() { | ||
return UNDEFINED; | ||
}, | ||
NULL: function() { | ||
return NULL; | ||
}, | ||
WHITE_SPACES_SET: function() { | ||
return WHITE_SPACES_SET; | ||
}, | ||
WHITE_SPACES: function() { | ||
return WHITE_SPACES; | ||
} | ||
}); | ||
//# sourceMappingURL=general.d.js.map |
@@ -0,5 +1,19 @@ | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
UNDEFINED: function() { | ||
return UNDEFINED; | ||
}, | ||
NULL: function() { | ||
return NULL; | ||
} | ||
}); | ||
const UNDEFINED = undefined; | ||
const NULL = null; | ||
export { UNDEFINED, NULL }; | ||
//# sourceMappingURL=general.js.map |
@@ -0,1 +1,31 @@ | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
MAX_INT32: function() { | ||
return MAX_INT32; | ||
}, | ||
MIN_INT32: function() { | ||
return MIN_INT32; | ||
}, | ||
MAX_SAFE_INT: function() { | ||
return MAX_SAFE_INT; | ||
}, | ||
MIN_SAFE_INT: function() { | ||
return MIN_SAFE_INT; | ||
}, | ||
MAX_VALUE: function() { | ||
return MAX_VALUE; | ||
}, | ||
MIN_VALUE: function() { | ||
return MIN_VALUE; | ||
}, | ||
MAX_UINT: function() { | ||
return MAX_UINT; | ||
} | ||
}); | ||
const MIN_INT32 = -2147483648; | ||
@@ -8,4 +38,3 @@ const MAX_INT32 = 2147483647; | ||
const MAX_UINT = 4294967295; | ||
export { MAX_INT32, MIN_INT32, MAX_SAFE_INT, MIN_SAFE_INT, MAX_VALUE, MIN_VALUE, MAX_UINT }; | ||
//# sourceMappingURL=number.js.map |
declare const WHITE_SPACES: readonly [" ", "\n", "\r", "\t", "\f", "\v", " ", " ", "", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "\u2028", "\u2029", " ", " ", " "]; | ||
declare const WHITE_SPACES_SET: Set<string>; | ||
export { WHITE_SPACES_SET }; | ||
export { WHITE_SPACES }; | ||
declare const DIGITS: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; | ||
declare const DIGITS_SET: Set<string>; | ||
declare const LETTERS_CAPITAL: readonly ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; | ||
declare const LETTERS_CAPITAL_SET: Set<string>; | ||
declare const LETTERS_LOWERCASE: readonly ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; | ||
declare const LETTERS_LOWERCASE_SET: Set<string>; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, }; |
@@ -0,1 +1,34 @@ | ||
"use strict"; | ||
function _export(target, all) { | ||
for(var name in all)Object.defineProperty(target, name, { | ||
enumerable: true, | ||
get: all[name] | ||
}); | ||
} | ||
_export(exports, { | ||
WHITE_SPACES_SET: function() { | ||
return WHITE_SPACES_SET; | ||
}, | ||
WHITE_SPACES: function() { | ||
return WHITE_SPACES; | ||
}, | ||
DIGITS_SET: function() { | ||
return DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return LETTERS_LOWERCASE; | ||
} | ||
}); | ||
const WHITE_SPACES = [ | ||
@@ -29,5 +62,74 @@ ' ', | ||
const WHITE_SPACES_SET = new Set(WHITE_SPACES); | ||
export { WHITE_SPACES_SET }; | ||
export { WHITE_SPACES }; | ||
const DIGITS = [ | ||
'0', | ||
'1', | ||
'2', | ||
'3', | ||
'4', | ||
'5', | ||
'6', | ||
'7', | ||
'8', | ||
'9' | ||
]; | ||
const DIGITS_SET = new Set(DIGITS); | ||
const LETTERS_CAPITAL = [ | ||
'A', | ||
'B', | ||
'C', | ||
'D', | ||
'E', | ||
'F', | ||
'G', | ||
'H', | ||
'I', | ||
'J', | ||
'K', | ||
'L', | ||
'M', | ||
'N', | ||
'O', | ||
'P', | ||
'Q', | ||
'R', | ||
'S', | ||
'T', | ||
'U', | ||
'V', | ||
'W', | ||
'X', | ||
'Y', | ||
'Z' | ||
]; | ||
const LETTERS_CAPITAL_SET = new Set(LETTERS_CAPITAL); | ||
const LETTERS_LOWERCASE = [ | ||
'a', | ||
'b', | ||
'c', | ||
'd', | ||
'e', | ||
'f', | ||
'g', | ||
'h', | ||
'i', | ||
'j', | ||
'k', | ||
'l', | ||
'm', | ||
'n', | ||
'o', | ||
'p', | ||
'q', | ||
'r', | ||
's', | ||
't', | ||
'u', | ||
'v', | ||
'w', | ||
'x', | ||
'y', | ||
'z' | ||
]; | ||
const LETTERS_LOWERCASE_SET = new Set(LETTERS_LOWERCASE); | ||
//# sourceMappingURL=string.js.map |
/// <reference types="vitest" /> | ||
import { defineConfig } from 'vite'; | ||
import viteTsConfigPaths from 'vite-tsconfig-paths'; | ||
export default defineConfig({ | ||
"use strict"; | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function() { | ||
return _default; | ||
} | ||
}); | ||
const _vite = require("vite"); | ||
const _vitetsconfigpaths = require("vite-tsconfig-paths"); | ||
const _default = (0, _vite.defineConfig)({ | ||
cacheDir: '../../node_modules/.vite/constants', | ||
plugins: [ | ||
viteTsConfigPaths({ | ||
(0, _vitetsconfigpaths.default)({ | ||
root: '../../' | ||
@@ -9,0 +16,0 @@ }) |
{ | ||
"name": "@almaclaine/constants", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"main": "cjs/src/index.js", | ||
@@ -5,0 +5,0 @@ "module": "esm/src/index.js", |
export { UNDEFINED, NULL } from './lib/general'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES } from './lib/string'; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, } from './lib/string'; | ||
export { MAX_INT32, MIN_INT32, MAX_SAFE_INT, MIN_SAFE_INT, MAX_VALUE, MIN_VALUE, MAX_UINT, } from './lib/number'; |
@@ -21,2 +21,20 @@ "use strict"; | ||
}, | ||
DIGITS_SET: function() { | ||
return _string.DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return _string.DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return _string.LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return _string.LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return _string.LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return _string.LETTERS_LOWERCASE; | ||
}, | ||
MAX_INT32: function() { | ||
@@ -23,0 +41,0 @@ return _number.MAX_INT32; |
declare const WHITE_SPACES: readonly [" ", "\n", "\r", "\t", "\f", "\v", " ", " ", "", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", " ", "\u2028", "\u2029", " ", " ", " "]; | ||
declare const WHITE_SPACES_SET: Set<string>; | ||
export { WHITE_SPACES_SET }; | ||
export { WHITE_SPACES }; | ||
declare const DIGITS: readonly ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9"]; | ||
declare const DIGITS_SET: Set<string>; | ||
declare const LETTERS_CAPITAL: readonly ["A", "B", "C", "D", "E", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"]; | ||
declare const LETTERS_CAPITAL_SET: Set<string>; | ||
declare const LETTERS_LOWERCASE: readonly ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]; | ||
declare const LETTERS_LOWERCASE_SET: Set<string>; | ||
export { WHITE_SPACES_SET, WHITE_SPACES, DIGITS_SET, DIGITS, LETTERS_CAPITAL_SET, LETTERS_CAPITAL, LETTERS_LOWERCASE_SET, LETTERS_LOWERCASE, }; |
@@ -14,2 +14,20 @@ "use strict"; | ||
return WHITE_SPACES; | ||
}, | ||
DIGITS_SET: function() { | ||
return DIGITS_SET; | ||
}, | ||
DIGITS: function() { | ||
return DIGITS; | ||
}, | ||
LETTERS_CAPITAL_SET: function() { | ||
return LETTERS_CAPITAL_SET; | ||
}, | ||
LETTERS_CAPITAL: function() { | ||
return LETTERS_CAPITAL; | ||
}, | ||
LETTERS_LOWERCASE_SET: function() { | ||
return LETTERS_LOWERCASE_SET; | ||
}, | ||
LETTERS_LOWERCASE: function() { | ||
return LETTERS_LOWERCASE; | ||
} | ||
@@ -45,3 +63,74 @@ }); | ||
const WHITE_SPACES_SET = new Set(WHITE_SPACES); | ||
const DIGITS = [ | ||
'0', | ||
'1', | ||
'2', | ||
'3', | ||
'4', | ||
'5', | ||
'6', | ||
'7', | ||
'8', | ||
'9' | ||
]; | ||
const DIGITS_SET = new Set(DIGITS); | ||
const LETTERS_CAPITAL = [ | ||
'A', | ||
'B', | ||
'C', | ||
'D', | ||
'E', | ||
'F', | ||
'G', | ||
'H', | ||
'I', | ||
'J', | ||
'K', | ||
'L', | ||
'M', | ||
'N', | ||
'O', | ||
'P', | ||
'Q', | ||
'R', | ||
'S', | ||
'T', | ||
'U', | ||
'V', | ||
'W', | ||
'X', | ||
'Y', | ||
'Z' | ||
]; | ||
const LETTERS_CAPITAL_SET = new Set(LETTERS_CAPITAL); | ||
const LETTERS_LOWERCASE = [ | ||
'a', | ||
'b', | ||
'c', | ||
'd', | ||
'e', | ||
'f', | ||
'g', | ||
'h', | ||
'i', | ||
'j', | ||
'k', | ||
'l', | ||
'm', | ||
'n', | ||
'o', | ||
'p', | ||
'q', | ||
'r', | ||
's', | ||
't', | ||
'u', | ||
'v', | ||
'w', | ||
'x', | ||
'y', | ||
'z' | ||
]; | ||
const LETTERS_LOWERCASE_SET = new Set(LETTERS_LOWERCASE); | ||
//# sourceMappingURL=string.js.map |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
52176
1130
0