@gsknnft/bigint-buffer 1.4.5 → 1.4.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +10 -1
- package/build/Release/bigint_buffer.iobj +0 -0
- package/build/Release/bigint_buffer.ipdb +0 -0
- package/build/Release/bigint_buffer.node +0 -0
- package/build/Release/bigint_buffer.pdb +0 -0
- package/build/Release/obj/bigint_buffer/src/bigint-buffer.obj +0 -0
- package/build/Release/obj/bigint_buffer/win_delay_load_hook.obj +0 -0
- package/build/binding.sln +3 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +271 -186
- package/dist/index.umd.js +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/conversion/index.d.ts +2 -1
- package/dist/types/conversion/src/ts/converter.d.ts +10 -0
- package/dist/types/conversion/src/ts/index.d.ts +1 -3
- package/dist/types/dist/dist/conversion/conversion/index.d.ts +2 -1
- package/package.json +11 -2
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-PYrzNv/src/ts/index.js +178 -0
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-PYrzNv/src/ts/index.js.map +1 -0
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-h16OVM/src/ts/index.js +178 -0
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-h16OVM/src/ts/index.js.map +1 -0
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-uUCFYt/src/ts/index.js +178 -0
- package/src/conversion/.rollup.cache/C/Users/G/AppData/Local/Temp/rollup-plugin-typescript-allowjs-uUCFYt/src/ts/index.js.map +1 -0
- package/src/conversion/coverage/base.css +224 -0
- package/src/conversion/coverage/block-navigation.js +87 -0
- package/src/conversion/coverage/clover.xml +131 -0
- package/src/conversion/coverage/coverage-final.json +2 -0
- package/src/conversion/coverage/favicon.png +0 -0
- package/src/conversion/coverage/index.html +116 -0
- package/src/conversion/coverage/index.ts.html +1225 -0
- package/src/conversion/coverage/prettify.css +1 -0
- package/src/conversion/coverage/prettify.js +2 -0
- package/src/conversion/coverage/sort-arrow-sprite.png +0 -0
- package/src/conversion/coverage/sorter.js +210 -0
- package/src/conversion/index.ts +2 -1
- package/src/conversion/node_modules/.bin/_mocha +21 -0
- package/src/conversion/node_modules/.bin/_mocha.CMD +12 -0
- package/src/conversion/node_modules/.bin/_mocha.ps1 +41 -0
- package/src/conversion/node_modules/.bin/c8 +21 -0
- package/src/conversion/node_modules/.bin/c8.CMD +12 -0
- package/src/conversion/node_modules/.bin/c8.ps1 +41 -0
- package/src/conversion/node_modules/.bin/esbuild +21 -0
- package/src/conversion/node_modules/.bin/esbuild.CMD +12 -0
- package/src/conversion/node_modules/.bin/esbuild.ps1 +41 -0
- package/src/conversion/node_modules/.bin/eslint +21 -0
- package/src/conversion/node_modules/.bin/eslint.CMD +12 -0
- package/src/conversion/node_modules/.bin/eslint.ps1 +41 -0
- package/src/conversion/node_modules/.bin/jiti +21 -0
- package/src/conversion/node_modules/.bin/jiti.CMD +12 -0
- package/src/conversion/node_modules/.bin/jiti.ps1 +41 -0
- package/src/conversion/node_modules/.bin/json5 +21 -0
- package/src/conversion/node_modules/.bin/json5.CMD +12 -0
- package/src/conversion/node_modules/.bin/json5.ps1 +41 -0
- package/src/conversion/node_modules/.bin/mocha +21 -0
- package/src/conversion/node_modules/.bin/mocha.CMD +12 -0
- package/src/conversion/node_modules/.bin/mocha.ps1 +41 -0
- package/src/conversion/node_modules/.bin/npm-run-all +21 -0
- package/src/conversion/node_modules/.bin/npm-run-all.CMD +12 -0
- package/src/conversion/node_modules/.bin/npm-run-all.ps1 +41 -0
- package/src/conversion/node_modules/.bin/puppeteer +21 -0
- package/src/conversion/node_modules/.bin/puppeteer.CMD +12 -0
- package/src/conversion/node_modules/.bin/puppeteer.ps1 +41 -0
- package/src/conversion/node_modules/.bin/rimraf +16 -0
- package/src/conversion/node_modules/.bin/rimraf.cmd +17 -0
- package/src/conversion/node_modules/.bin/rimraf.ps1 +28 -0
- package/src/conversion/node_modules/.bin/rollup +21 -0
- package/src/conversion/node_modules/.bin/rollup.CMD +12 -0
- package/src/conversion/node_modules/.bin/rollup.ps1 +41 -0
- package/src/conversion/node_modules/.bin/run-p +21 -0
- package/src/conversion/node_modules/.bin/run-p.CMD +12 -0
- package/src/conversion/node_modules/.bin/run-p.ps1 +41 -0
- package/src/conversion/node_modules/.bin/run-s +21 -0
- package/src/conversion/node_modules/.bin/run-s.CMD +12 -0
- package/src/conversion/node_modules/.bin/run-s.ps1 +41 -0
- package/src/conversion/node_modules/.bin/terser +21 -0
- package/src/conversion/node_modules/.bin/terser.CMD +12 -0
- package/src/conversion/node_modules/.bin/terser.ps1 +41 -0
- package/src/conversion/node_modules/.bin/ts-standard +21 -0
- package/src/conversion/node_modules/.bin/ts-standard.CMD +12 -0
- package/src/conversion/node_modules/.bin/ts-standard.ps1 +41 -0
- package/src/conversion/node_modules/.bin/tsc +21 -0
- package/src/conversion/node_modules/.bin/tsc.CMD +12 -0
- package/src/conversion/node_modules/.bin/tsc.ps1 +41 -0
- package/src/conversion/node_modules/.bin/tsserver +21 -0
- package/src/conversion/node_modules/.bin/tsserver.CMD +12 -0
- package/src/conversion/node_modules/.bin/tsserver.ps1 +41 -0
- package/src/conversion/node_modules/.bin/typedoc +21 -0
- package/src/conversion/node_modules/.bin/typedoc.CMD +12 -0
- package/src/conversion/node_modules/.bin/typedoc.ps1 +41 -0
- package/src/conversion/node_modules/.bin/vite +21 -0
- package/src/conversion/node_modules/.bin/vite.CMD +12 -0
- package/src/conversion/node_modules/.bin/vite.ps1 +41 -0
- package/src/conversion/node_modules/.bin/vitest +21 -0
- package/src/conversion/node_modules/.bin/vitest.CMD +12 -0
- package/src/conversion/node_modules/.bin/vitest.ps1 +41 -0
- package/src/conversion/node_modules/.bin/yaml +21 -0
- package/src/conversion/node_modules/.bin/yaml.CMD +12 -0
- package/src/conversion/node_modules/.bin/yaml.ps1 +41 -0
- package/src/conversion/node_modules/glob/LICENSE.md +63 -0
- package/src/conversion/node_modules/glob/README.md +1177 -0
- package/src/conversion/node_modules/glob/dist/commonjs/glob.d.ts +388 -0
- package/src/conversion/node_modules/glob/dist/commonjs/glob.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/glob.js +247 -0
- package/src/conversion/node_modules/glob/dist/commonjs/glob.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/has-magic.d.ts +14 -0
- package/src/conversion/node_modules/glob/dist/commonjs/has-magic.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/has-magic.js +27 -0
- package/src/conversion/node_modules/glob/dist/commonjs/has-magic.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/ignore.d.ts +24 -0
- package/src/conversion/node_modules/glob/dist/commonjs/ignore.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/ignore.js +119 -0
- package/src/conversion/node_modules/glob/dist/commonjs/ignore.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/index.d.ts +97 -0
- package/src/conversion/node_modules/glob/dist/commonjs/index.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/index.js +68 -0
- package/src/conversion/node_modules/glob/dist/commonjs/index.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/package.json +3 -0
- package/src/conversion/node_modules/glob/dist/commonjs/pattern.d.ts +76 -0
- package/src/conversion/node_modules/glob/dist/commonjs/pattern.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/pattern.js +219 -0
- package/src/conversion/node_modules/glob/dist/commonjs/pattern.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/processor.d.ts +59 -0
- package/src/conversion/node_modules/glob/dist/commonjs/processor.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/processor.js +301 -0
- package/src/conversion/node_modules/glob/dist/commonjs/processor.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/walker.d.ts +97 -0
- package/src/conversion/node_modules/glob/dist/commonjs/walker.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/commonjs/walker.js +387 -0
- package/src/conversion/node_modules/glob/dist/commonjs/walker.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/glob.d.ts +388 -0
- package/src/conversion/node_modules/glob/dist/esm/glob.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/glob.js +243 -0
- package/src/conversion/node_modules/glob/dist/esm/glob.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/has-magic.d.ts +14 -0
- package/src/conversion/node_modules/glob/dist/esm/has-magic.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/has-magic.js +23 -0
- package/src/conversion/node_modules/glob/dist/esm/has-magic.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/ignore.d.ts +24 -0
- package/src/conversion/node_modules/glob/dist/esm/ignore.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/ignore.js +115 -0
- package/src/conversion/node_modules/glob/dist/esm/ignore.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/index.d.ts +97 -0
- package/src/conversion/node_modules/glob/dist/esm/index.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/index.js +55 -0
- package/src/conversion/node_modules/glob/dist/esm/index.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/package.json +3 -0
- package/src/conversion/node_modules/glob/dist/esm/pattern.d.ts +76 -0
- package/src/conversion/node_modules/glob/dist/esm/pattern.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/pattern.js +215 -0
- package/src/conversion/node_modules/glob/dist/esm/pattern.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/processor.d.ts +59 -0
- package/src/conversion/node_modules/glob/dist/esm/processor.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/processor.js +294 -0
- package/src/conversion/node_modules/glob/dist/esm/processor.js.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/walker.d.ts +97 -0
- package/src/conversion/node_modules/glob/dist/esm/walker.d.ts.map +1 -0
- package/src/conversion/node_modules/glob/dist/esm/walker.js +381 -0
- package/src/conversion/node_modules/glob/dist/esm/walker.js.map +1 -0
- package/src/conversion/node_modules/glob/package.json +93 -0
- package/src/conversion/node_modules/minimatch/LICENSE.md +55 -0
- package/src/conversion/node_modules/minimatch/README.md +453 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts +2 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/assert-valid-pattern.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js +14 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/assert-valid-pattern.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/ast.d.ts +20 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/ast.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/ast.js +591 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/ast.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts +8 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/brace-expressions.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/brace-expressions.js +152 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/brace-expressions.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/escape.d.ts +15 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/escape.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/escape.js +30 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/escape.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/index.d.ts +94 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/index.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/index.js +1029 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/index.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/package.json +3 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/unescape.d.ts +22 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/unescape.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/unescape.js +38 -0
- package/src/conversion/node_modules/minimatch/dist/commonjs/unescape.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts +2 -0
- package/src/conversion/node_modules/minimatch/dist/esm/assert-valid-pattern.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/assert-valid-pattern.js +10 -0
- package/src/conversion/node_modules/minimatch/dist/esm/assert-valid-pattern.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/ast.d.ts +20 -0
- package/src/conversion/node_modules/minimatch/dist/esm/ast.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/ast.js +587 -0
- package/src/conversion/node_modules/minimatch/dist/esm/ast.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/brace-expressions.d.ts +8 -0
- package/src/conversion/node_modules/minimatch/dist/esm/brace-expressions.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/brace-expressions.js +148 -0
- package/src/conversion/node_modules/minimatch/dist/esm/brace-expressions.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/escape.d.ts +15 -0
- package/src/conversion/node_modules/minimatch/dist/esm/escape.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/escape.js +26 -0
- package/src/conversion/node_modules/minimatch/dist/esm/escape.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/index.d.ts +94 -0
- package/src/conversion/node_modules/minimatch/dist/esm/index.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/index.js +1016 -0
- package/src/conversion/node_modules/minimatch/dist/esm/index.js.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/package.json +3 -0
- package/src/conversion/node_modules/minimatch/dist/esm/unescape.d.ts +22 -0
- package/src/conversion/node_modules/minimatch/dist/esm/unescape.d.ts.map +1 -0
- package/src/conversion/node_modules/minimatch/dist/esm/unescape.js +34 -0
- package/src/conversion/node_modules/minimatch/dist/esm/unescape.js.map +1 -0
- package/src/conversion/node_modules/minimatch/package.json +78 -0
- package/src/conversion/node_modules/rimraf/LICENSE.md +55 -0
- package/src/conversion/node_modules/rimraf/README.md +226 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/default-tmp.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/default-tmp.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/default-tmp.js +58 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/default-tmp.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/error.d.ts +6 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/error.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/error.js +10 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/error.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fix-eperm.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fix-eperm.js +38 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fix-eperm.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fs.d.ts +15 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fs.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fs.js +33 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/fs.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/ignore-enoent.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/ignore-enoent.js +24 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/ignore-enoent.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/index.d.ts +50 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/index.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/index.js +78 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/index.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/opt-arg.d.ts +34 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/opt-arg.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/opt-arg.js +53 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/opt-arg.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/package.json +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/path-arg.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/path-arg.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/path-arg.js +48 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/path-arg.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/readdir-or-error.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/readdir-or-error.js +19 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/readdir-or-error.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/retry-busy.d.ts +8 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/retry-busy.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/retry-busy.js +65 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/retry-busy.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-manual.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-manual.js +8 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-manual.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-move-remove.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js +138 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-move-remove.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-native.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-native.js +24 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-native.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-posix.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-posix.js +103 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-posix.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-windows.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-windows.js +159 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/rimraf-windows.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/use-native.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/use-native.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/use-native.js +18 -0
- package/src/conversion/node_modules/rimraf/dist/commonjs/use-native.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/bin.d.mts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/bin.d.mts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/bin.mjs +250 -0
- package/src/conversion/node_modules/rimraf/dist/esm/bin.mjs.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/default-tmp.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/default-tmp.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/default-tmp.js +55 -0
- package/src/conversion/node_modules/rimraf/dist/esm/default-tmp.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/error.d.ts +6 -0
- package/src/conversion/node_modules/rimraf/dist/esm/error.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/error.js +5 -0
- package/src/conversion/node_modules/rimraf/dist/esm/error.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fix-eperm.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fix-eperm.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fix-eperm.js +33 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fix-eperm.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fs.d.ts +15 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fs.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fs.js +18 -0
- package/src/conversion/node_modules/rimraf/dist/esm/fs.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/ignore-enoent.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/ignore-enoent.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/ignore-enoent.js +19 -0
- package/src/conversion/node_modules/rimraf/dist/esm/ignore-enoent.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/index.d.ts +50 -0
- package/src/conversion/node_modules/rimraf/dist/esm/index.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/index.js +70 -0
- package/src/conversion/node_modules/rimraf/dist/esm/index.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/opt-arg.d.ts +34 -0
- package/src/conversion/node_modules/rimraf/dist/esm/opt-arg.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/opt-arg.js +46 -0
- package/src/conversion/node_modules/rimraf/dist/esm/opt-arg.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/package.json +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/path-arg.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/path-arg.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/path-arg.js +46 -0
- package/src/conversion/node_modules/rimraf/dist/esm/path-arg.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/readdir-or-error.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/readdir-or-error.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/readdir-or-error.js +14 -0
- package/src/conversion/node_modules/rimraf/dist/esm/readdir-or-error.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/retry-busy.d.ts +8 -0
- package/src/conversion/node_modules/rimraf/dist/esm/retry-busy.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/retry-busy.js +60 -0
- package/src/conversion/node_modules/rimraf/dist/esm/retry-busy.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-manual.d.ts +3 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-manual.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-manual.js +5 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-manual.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-move-remove.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-move-remove.js +133 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-move-remove.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-native.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-native.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-native.js +19 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-native.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-posix.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-posix.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-posix.js +98 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-posix.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-windows.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-windows.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-windows.js +154 -0
- package/src/conversion/node_modules/rimraf/dist/esm/rimraf-windows.js.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/use-native.d.ts +4 -0
- package/src/conversion/node_modules/rimraf/dist/esm/use-native.d.ts.map +1 -0
- package/src/conversion/node_modules/rimraf/dist/esm/use-native.js +15 -0
- package/src/conversion/node_modules/rimraf/dist/esm/use-native.js.map +1 -0
- package/src/conversion/node_modules/rimraf/package.json +92 -0
- package/src/conversion/package.json +4 -13
- package/src/conversion/src/ts/converter.ts +85 -0
- package/src/conversion/src/ts/fixedPoint/index.ts +87 -87
- package/src/conversion/src/ts/index.ts +5 -34
- package/src/conversion/tsconfig.json +1 -1
- package/src/conversion/vite.config.ts +38 -1
- package/src/index.ts +167 -39
- package/build/conversion/index.js +0 -18
- package/build/conversion/index.js.map +0 -1
- package/build/conversion/src/ts/fixedPoint/index.d.ts +0 -12
- package/build/conversion/src/ts/fixedPoint/index.js +0 -79
- package/build/conversion/src/ts/fixedPoint/index.js.map +0 -1
- package/build/conversion/src/ts/index.d.ts +0 -169
- package/build/conversion/src/ts/index.js +0 -453
- package/build/conversion/src/ts/index.js.map +0 -1
- package/build/conversion/test/bigintToBase64.test.js +0 -72
- package/build/conversion/test/bigintToBase64.test.js.map +0 -1
- package/build/conversion/test/bigintToBuf.test.js +0 -77
- package/build/conversion/test/bigintToBuf.test.js.map +0 -1
- package/build/conversion/test/bigintToHex.test.js +0 -86
- package/build/conversion/test/bigintToHex.test.js.map +0 -1
- package/build/conversion/test/bigintToText.test.js +0 -63
- package/build/conversion/test/bigintToText.test.js.map +0 -1
- package/build/conversion/test/bufToBigint.test.js +0 -55
- package/build/conversion/test/bufToBigint.test.js.map +0 -1
- package/build/conversion/test/hexToBigint.test.js +0 -56
- package/build/conversion/test/hexToBigint.test.js.map +0 -1
- package/build/conversion/test/hexToBuf.test.js +0 -73
- package/build/conversion/test/hexToBuf.test.js.map +0 -1
- package/build/conversion/test/parseHex.test.js +0 -69
- package/build/conversion/test/parseHex.test.js.map +0 -1
- package/build/conversion/test/textToBuf.test.js +0 -59
- package/build/conversion/test/textToBuf.test.js.map +0 -1
- package/build/index.js +0 -242
- package/build/index.js.map +0 -1
- package/src/conversion/tsconfig.rollup.json +0 -9
- package/src/conversion/types/bindings.d.t.s +0 -4
|
@@ -1,72 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('bigintToBase64', () => {
|
|
39
|
-
const inputs = [
|
|
40
|
-
{ bi: BigInt(1), base64: 'AQ', urlsafe: true, padding: false },
|
|
41
|
-
{ bi: BigInt(31), base64: 'Hw==', urlsafe: true, padding: undefined },
|
|
42
|
-
{ bi: BigInt(3855), base64: 'Dw8', urlsafe: undefined, padding: false }, {
|
|
43
|
-
bi: BigInt('12485413541784539569456874935679853424678352483761'),
|
|
44
|
-
base64: 'CIr5Tmsemfi/OwHtthnKqmVqXHWx',
|
|
45
|
-
urlsafe: false,
|
|
46
|
-
padding: true
|
|
47
|
-
},
|
|
48
|
-
{ bi: BigInt('-4'), base64: '', urlsafe: true, padding: false }
|
|
49
|
-
];
|
|
50
|
-
for (const input of inputs) {
|
|
51
|
-
if (input.bi >= 0) {
|
|
52
|
-
(0, vitest_1.describe)(`bigintToBase64(${input.bi})`, () => {
|
|
53
|
-
(0, vitest_1.it)(`should return ${input.base64}`, () => {
|
|
54
|
-
const ret = bc.bigintToBase64(input.bi, input.urlsafe, input.padding);
|
|
55
|
-
(0, vitest_1.expect)(ret).to.equal(input.base64);
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
(0, vitest_1.describe)(`base64ToBigint(${input.base64})`, () => {
|
|
59
|
-
(0, vitest_1.it)(`should return ${input.bi}`, () => {
|
|
60
|
-
const ret = bc.base64ToBigint(input.base64);
|
|
61
|
-
(0, vitest_1.expect)(ret).to.equal(input.bi);
|
|
62
|
-
});
|
|
63
|
-
});
|
|
64
|
-
}
|
|
65
|
-
else {
|
|
66
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
67
|
-
(0, vitest_1.expect)(() => bc.bigintToHex(input.bi)).to.throw(RangeError);
|
|
68
|
-
});
|
|
69
|
-
}
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
//# sourceMappingURL=bigintToBase64.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigintToBase64.test.js","sourceRoot":"","sources":["../../../src/conversion/test/bigintToBase64.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,MAAM,MAAM,GAAG;QACb,EAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAC;QAC5D,EAAC,EAAE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AC,KAAK,CAAC,MAAM,CAAC,CAAC;oBAC5C,IAAA,eAAM,EAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;gBACjC,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;aAAM,CAAC;YACN,IAAA,WAAE,EAAC,yBAAyB,EAAE,GAAG,EAAE;gBACjC,IAAA,eAAM,EAAC,GAAG,EAAE,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;YAC9D,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('bigintToBuf', () => {
|
|
39
|
-
const inputs = [
|
|
40
|
-
BigInt(0), BigInt(3855), BigInt(19),
|
|
41
|
-
BigInt('987597451974567914535761247965237569172456791242479651917245614514261463156346357315735752714364354354647135713476134634753735714534636'),
|
|
42
|
-
BigInt(-5)
|
|
43
|
-
];
|
|
44
|
-
for (const input of inputs) {
|
|
45
|
-
(0, vitest_1.describe)(`bufToBigint(bigintToBuf(${input}))`, () => {
|
|
46
|
-
if (input < 0) {
|
|
47
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
48
|
-
(0, vitest_1.expect)(() => bc.bufToBigint(bc.bigintToBuf(input)))
|
|
49
|
-
.to.throw(RangeError);
|
|
50
|
-
});
|
|
51
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
52
|
-
(0, vitest_1.expect)(() => bc.bufToBigint(bc.bigintToBuf(input, true)))
|
|
53
|
-
.to.throw(RangeError);
|
|
54
|
-
});
|
|
55
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
56
|
-
(0, vitest_1.expect)(() => bc.bufToBigint(bc.bigintToBuf(input, false)))
|
|
57
|
-
.to.throw(RangeError);
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
else {
|
|
61
|
-
(0, vitest_1.it)(`should return ${input}`, () => {
|
|
62
|
-
const ret = bc.bufToBigint(bc.bigintToBuf(input));
|
|
63
|
-
(0, vitest_1.expect)(ret).to.equal(input);
|
|
64
|
-
});
|
|
65
|
-
(0, vitest_1.it)(`should return ${input}`, () => {
|
|
66
|
-
const ret = bc.bufToBigint(bc.bigintToBuf(input, true));
|
|
67
|
-
(0, vitest_1.expect)(ret).to.equal(input);
|
|
68
|
-
});
|
|
69
|
-
(0, vitest_1.it)(`should return ${input}`, () => {
|
|
70
|
-
const ret = bc.bufToBigint(bc.bigintToBuf(input, false));
|
|
71
|
-
(0, vitest_1.expect)(ret).to.equal(input);
|
|
72
|
-
});
|
|
73
|
-
}
|
|
74
|
-
});
|
|
75
|
-
}
|
|
76
|
-
});
|
|
77
|
-
//# sourceMappingURL=bigintToBuf.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigintToBuf.test.js","sourceRoot":"","sources":["../../../src/conversion/test/bigintToBuf.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG;QACb,MAAM,CAAC,CAAC,CAAC,EAAE,MAAM,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,EAAE,CAAC;QACnC,MAAM,CACF,yIAAyI,CAAC;QAC9I,MAAM,CAAC,CAAC,CAAC,CAAC;KACX,CAAC;IAEF,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;QAC3B,IAAA,iBAAQ,EAAC,2BAA2B,KAAK,IAAI,EAAE,GAAG,EAAE;YAClD,IAAI,KAAK,GAAG,CAAC,EAAE,CAAC;gBACd,IAAA,WAAE,EAAC,yBAAyB,EAAE,GAAG,EAAE;oBACjC,IAAA,eAAM,EAAC,GAAG,EAAE,CAAC,EAAE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gBACH,IAAA,WAAE,EAAC,iBAAiB,KAAK,EAAE,EAAE,GAAG,EAAE;oBAChC,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;oBACzD,IAAA,eAAM,EAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC,CAAC,CAAC;YACL,CAAC;QACH,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -1,86 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('bigintToHex', () => {
|
|
39
|
-
const inputs = [
|
|
40
|
-
{ bi: BigInt(1), hex: '1' }, { bi: BigInt(31), hex: '1f' },
|
|
41
|
-
{ bi: BigInt(3855), hex: 'f0f' }, {
|
|
42
|
-
bi: BigInt('12485413541784539569456874935679853424678352483761'),
|
|
43
|
-
hex: '88af94e6b1e99f8bf3b01edb619caaa656a5c75b1'
|
|
44
|
-
},
|
|
45
|
-
{ bi: BigInt('-4'), hex: '' }
|
|
46
|
-
];
|
|
47
|
-
(0, vitest_1.describe)('bigintToHex', () => {
|
|
48
|
-
for (const input of inputs) {
|
|
49
|
-
if (input.bi >= 0) {
|
|
50
|
-
(0, vitest_1.describe)(`bigintToHex(${input.bi})`, () => {
|
|
51
|
-
(0, vitest_1.it)(`should return ${input.hex}`, () => {
|
|
52
|
-
const ret = bc.bigintToHex(input.bi);
|
|
53
|
-
(0, vitest_1.expect)(ret).to.equal(input.hex);
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
}
|
|
57
|
-
else {
|
|
58
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
59
|
-
(0, vitest_1.expect)(() => bc.bigintToHex(input.bi)).to.throw(RangeError);
|
|
60
|
-
});
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
(0, vitest_1.it)('bigintToHex(1214371n, undefined, 4) should return \'001287a3\'', () => {
|
|
64
|
-
const ret = bc.bigintToHex(1214371n, undefined, 4);
|
|
65
|
-
(0, vitest_1.expect)(ret).to.equal('001287a3');
|
|
66
|
-
});
|
|
67
|
-
(0, vitest_1.it)('bigintToHex(1214371n, true) should return \'0x1287a3\'', () => {
|
|
68
|
-
const ret = bc.bigintToHex(1214371n, true);
|
|
69
|
-
(0, vitest_1.expect)(ret).to.equal('0x1287a3');
|
|
70
|
-
});
|
|
71
|
-
(0, vitest_1.it)('bigintToHex(1214371n, true, 5) should return \'0x00001287a3\'', () => {
|
|
72
|
-
const ret = bc.bigintToHex(1214371n, true, 5);
|
|
73
|
-
(0, vitest_1.expect)(ret).to.equal('0x00001287a3');
|
|
74
|
-
});
|
|
75
|
-
(0, vitest_1.it)('bigintToHex(hexToBigint(\'1287542fe21\'), true, 4) should throw error', () => {
|
|
76
|
-
(0, vitest_1.expect)(() => {
|
|
77
|
-
bc.bigintToHex(bc.hexToBigint('1287542fe21'), true, 4);
|
|
78
|
-
}).to.throw(RangeError);
|
|
79
|
-
});
|
|
80
|
-
(0, vitest_1.it)('bigintToHex(1132n, true) should return \'0x46c\'', () => {
|
|
81
|
-
const ret = bc.bigintToHex(1132n, true);
|
|
82
|
-
(0, vitest_1.expect)(ret).to.equal('0x46c');
|
|
83
|
-
});
|
|
84
|
-
});
|
|
85
|
-
});
|
|
86
|
-
//# sourceMappingURL=bigintToHex.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigintToHex.test.js","sourceRoot":"","sources":["../../../src/conversion/test/bigintToHex.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG;QACb,EAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAC,EAAE,EAAC,EAAE,EAAE,MAAM,CAAC,EAA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.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('bigintToText', () => {
|
|
39
|
-
const inputs = [
|
|
40
|
-
'Hello World', 'Apañarse por qué?',
|
|
41
|
-
`Lorem ipsum dolor sit amet, consectetur adipisci tempor incidunt ut labore et dolore magna aliqua veniam, quis nostrud exercitation ullamcorpor s commodo consequat. Duis autem vel eum irrure esse molestiae consequat, vel illum dolore eu fugi et iusto odio dignissim qui blandit praesent luptat exceptur sint occaecat cupiditat non provident, deserunt mollit anim id est laborum et dolor fuga distinct. Nam liber tempor cum soluta nobis elige quod maxim placeat facer possim omnis volupt
|
|
42
|
-
|
|
43
|
-
Lorem ipsum dolor si amet, consectetur adipiscing incidunt ut labore et dolore magna aliquam erat nostrud exercitation ullamcorper suscipit laboris nis duis autem vel eum irure dolor in reprehenderit i, dolore eu fugiat nulla pariatur. At vero eos et accusa praesant luptatum delenit aigue duos dolor et mole provident, simil tempor sunt in culpa qui officia de fuga. Et harumd dereud facilis est er expedit disti eligend optio congue nihil impedit doming id quod assumenda est, omnis dolor repellend. Temporibud
|
|
44
|
-
|
|
45
|
-
Lorem ipsum dolor si amet, consectetur adipiscing incidunt ut labore et dolore magna aliquam erat nostrud exercitation ullamcorper suscipit laboris nis duis autem vel eum irure dolor in reprehenderit i dolore eu fugiat nulla pariatur. At vero eos et accus praesant luptatum delenit aigue duos dolor et mol provident, simil tempor sunt in culpa qui officia de fuga. Et harumd dereud facilis est er expedit disti eligend oprio congue nihil impedit doming id quod assumenda est, omnis dolor repellend. Temporibud`
|
|
46
|
-
];
|
|
47
|
-
(0, vitest_1.describe)('bigintToText((textToBigint(str))) === str ', () => {
|
|
48
|
-
for (const input of inputs) {
|
|
49
|
-
(0, vitest_1.describe)(`bigintToText((textToBigint(${input})))`, () => {
|
|
50
|
-
(0, vitest_1.it)(`should return ${input}`, () => {
|
|
51
|
-
const ret = bc.bigintToText(bc.textToBigint(input));
|
|
52
|
-
(0, vitest_1.expect)(ret).to.equal(input);
|
|
53
|
-
});
|
|
54
|
-
});
|
|
55
|
-
}
|
|
56
|
-
});
|
|
57
|
-
(0, vitest_1.describe)('bigintToText(-6n)', () => {
|
|
58
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
59
|
-
(0, vitest_1.expect)(() => bc.bigintToText(BigInt('-6'))).to.throw(RangeError);
|
|
60
|
-
});
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
//# sourceMappingURL=bigintToText.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bigintToText.test.js","sourceRoot":"","sources":["../../../src/conversion/test/bigintToText.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,cAAc,EAAE,GAAG,EAAE;IAC5B,MAAM,MAAM,GAAG;QACb,aAAa,EAAE,mBAAmB;QAClC;;;;ggBAI4f;KAC7f,CAAC;IAEF,IAAA,iBAAQ,EAAC,4CAA4C,EAAE,GAAG,EAAE;QAC1D,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,IAAA,iBAAQ,EAAC,8BAA8B,KAAK,KAAK,EAAE,GAAG,EAAE;gBACtD,IAAA,WAAE,EAAC,iBAAiB,KAAK,EAAE,EAAE,GAAG,EAAE;oBAChC,MAAM,GAAG,GAAG,EAAE,CAAC,YAAY,CAAC,EAAE,CAAC,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC;oBACpD,IAAA,eAAM,EAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;gBAC9B,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;IAEH,IAAA,iBAAQ,EAAC,mBAAmB,EAAE,GAAG,EAAE;QACjC,IAAA,WAAE,EAAC,yBAAyB,EAAE,GAAG,EAAE;YACjC,IAAA,eAAM,EAAC,GAAG,EAAE,CAAC,EAAE,CAAC,YAAY,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC;QACnE,CAAC,CAAC,CAAC;IACL,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,55 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('bufToBigint', () => {
|
|
39
|
-
const tests = [
|
|
40
|
-
{ input: new Uint32Array(2), output: BigInt(0) },
|
|
41
|
-
{ input: bc.hexToBuf('ffffffff'), output: BigInt('4294967295') }, {
|
|
42
|
-
input: new Uint16Array(bc.hexToBuf('ffffffff', true)),
|
|
43
|
-
output: BigInt('4294967295')
|
|
44
|
-
}
|
|
45
|
-
];
|
|
46
|
-
for (const test of tests) {
|
|
47
|
-
(0, vitest_1.describe)(`bufToBigint(${String(bc.bufToHex(test.input))})`, () => {
|
|
48
|
-
(0, vitest_1.it)(`should return ${String(test.output.toString())}`, () => {
|
|
49
|
-
const ret = bc.bufToBigint(test.input);
|
|
50
|
-
(0, vitest_1.expect)(ret.toString()).to.equal(test.output.toString());
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
//# sourceMappingURL=bufToBigint.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"bufToBigint.test.js","sourceRoot":"","sources":["../../../src/conversion/test/bufToBigint.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,KAAK,GAAG;QACZ,EAAC,KAAK,EAAE,IAAI,WAAW,CAAC,CAAC,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC,EAAC;QAC9C,EAAC,KAAK,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC,EAAC,EAAE;YAC9D,KAAK,EAAE,IAAI,WAAW,CAAC,EAAE,CAAC,QAAQ,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;YACrD,MAAM,EAAE,MAAM,CAAC,YAAY,CAAC;SAC7B;KACF,CAAC;IACF,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAA,iBAAQ,EAAC,eAAe,MAAM,CAAC,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE;YAC/D,IAAA,WAAE,EAAC,iBAAiB,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,EAAE,EAAE,GAAG,EAAE;gBACzD,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;gBACvC,IAAA,eAAM,EAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAC;YAC1D,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('hexToBigint', () => {
|
|
39
|
-
const inputs = [
|
|
40
|
-
{ bi: BigInt(1), hex: '1' }, { bi: BigInt(31), hex: '1F' }, {
|
|
41
|
-
bi: BigInt('12485413541784539569456874935679853424678352483761'),
|
|
42
|
-
hex: '88af94e6b1e99f8bf3b01edb619caaa656A5c75b1'
|
|
43
|
-
}
|
|
44
|
-
];
|
|
45
|
-
(0, vitest_1.describe)('hexToBigint', () => {
|
|
46
|
-
for (const input of inputs) {
|
|
47
|
-
(0, vitest_1.describe)(`hexToBigint(${input.hex})`, () => {
|
|
48
|
-
(0, vitest_1.it)(`should return ${input.bi}`, () => {
|
|
49
|
-
const ret = bc.hexToBigint(input.hex);
|
|
50
|
-
(0, vitest_1.expect)(ret).to.equal(input.bi);
|
|
51
|
-
});
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
//# sourceMappingURL=hexToBigint.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hexToBigint.test.js","sourceRoot":"","sources":["../../../src/conversion/test/hexToBigint.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,MAAM,MAAM,GAAG;QACb,EAAC,EAAE,EAAE,MAAM,CAAC,CAAC,CAAC,EAAE,GAAG,EAAE,GAAG,EAAC,EAAE,EAAC,EAAE,EAAE,MAAM,CAAC,EAAE,CAAC,EAAE,GAAG,EAAE,IAAI,EAAC,EAAE;YACtD,EAAE,EAAE,MAAM,CAAC,oDAAoD,CAAC;YAChE,GAAG,EAAE,2CAA2C;SACjD;KACF,CAAC;IAEF,IAAA,iBAAQ,EAAC,aAAa,EAAE,GAAG,EAAE;QAC3B,KAAK,MAAM,KAAK,IAAI,MAAM,EAAE,CAAC;YAC3B,IAAA,iBAAQ,EAAC,eAAe,KAAK,CAAC,GAAG,GAAG,EAAE,GAAG,EAAE;gBACzC,IAAA,WAAE,EAAC,iBAAiB,KAAK,CAAC,EAAE,EAAE,EAAE,GAAG,EAAE;oBACnC,MAAM,GAAG,GAAG,EAAE,CAAC,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;oBACtC,IAAA,eAAM,EAAC,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,EAAE,CAAC,CAAC;gBACjC,CAAC,CAAC,CAAC;YACL,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('hexToBuf', () => {
|
|
39
|
-
const tests = [
|
|
40
|
-
{ buf: new Uint8Array([9, 255]), hex: '09ff' },
|
|
41
|
-
{ buf: new Uint16Array([5, 256]), hex: '05000001' },
|
|
42
|
-
{ buf: new ArrayBuffer(2), hex: '000' },
|
|
43
|
-
{ buf: new Uint8Array([1, 1]), hex: '0x101' },
|
|
44
|
-
{ buf: new Uint8Array([1, 1, 1]), hex: '10101' }
|
|
45
|
-
];
|
|
46
|
-
(0, vitest_1.describe)('hexToBuf and bufToHex', () => {
|
|
47
|
-
for (const test of tests) {
|
|
48
|
-
(0, vitest_1.describe)(`bufToHex([${(new Uint8Array(test.buf)).toString()}])`, () => {
|
|
49
|
-
const byteLength = test.buf.byteLength;
|
|
50
|
-
const expected = bc.parseHex(test.hex, false, byteLength);
|
|
51
|
-
(0, vitest_1.it)(`should return ${String(expected)}`, () => {
|
|
52
|
-
const ret = bc.bufToHex(test.buf);
|
|
53
|
-
(0, vitest_1.expect)(ret).to.equal(expected);
|
|
54
|
-
});
|
|
55
|
-
});
|
|
56
|
-
(0, vitest_1.describe)(`bufToHex(hexToBuf(${test.hex}))`, () => {
|
|
57
|
-
const byteLength = test.buf.byteLength;
|
|
58
|
-
const expected = bc.parseHex(test.hex, false, byteLength);
|
|
59
|
-
(0, vitest_1.it)(`should return ${String(expected)}`, () => {
|
|
60
|
-
const buf = bc.hexToBuf(test.hex);
|
|
61
|
-
const ret = bc.bufToHex(buf);
|
|
62
|
-
(0, vitest_1.expect)(ret).to.equal(expected);
|
|
63
|
-
});
|
|
64
|
-
});
|
|
65
|
-
(0, vitest_1.describe)('hexToBuf(\'12412fgt3\')', () => {
|
|
66
|
-
(0, vitest_1.it)('should throw RangeError', () => {
|
|
67
|
-
(0, vitest_1.expect)(() => bc.hexToBuf('12412fgt3')).to.throw(RangeError);
|
|
68
|
-
});
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
});
|
|
73
|
-
//# sourceMappingURL=hexToBuf.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"hexToBuf.test.js","sourceRoot":"","sources":["../../../src/conversion/test/hexToBuf.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;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2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
-
}) : function(o, v) {
|
|
16
|
-
o["default"] = v;
|
|
17
|
-
});
|
|
18
|
-
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
const bc = __importStar(require("#pkg"));
|
|
37
|
-
const vitest_1 = require("vitest");
|
|
38
|
-
(0, vitest_1.describe)('parseHex', () => {
|
|
39
|
-
const vectors = [
|
|
40
|
-
{ input: '0x234FE678', output: '234FE678' },
|
|
41
|
-
{ input: '234FE687', output: '234FE687' },
|
|
42
|
-
{ input: '0x123546146f23A2', output: '123546146f23A2' }
|
|
43
|
-
];
|
|
44
|
-
for (const vector of vectors) {
|
|
45
|
-
(0, vitest_1.it)(`parseHex('${vector.input}') should return '${vector.output}'`, () => {
|
|
46
|
-
const ret = bc.parseHex(vector.input);
|
|
47
|
-
(0, vitest_1.expect)(ret).to.equal(vector.output);
|
|
48
|
-
});
|
|
49
|
-
(0, vitest_1.it)(`parseHex('${vector.input}', true) should return '0x${vector.output}'`, () => {
|
|
50
|
-
const ret = bc.parseHex(vector.input, true);
|
|
51
|
-
(0, vitest_1.expect)(ret).to.equal('0x' + vector.output);
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
(0, vitest_1.it)('parseHex(\'adge3\') should throw error', () => {
|
|
55
|
-
(0, vitest_1.expect)(() => {
|
|
56
|
-
bc.parseHex('adge3');
|
|
57
|
-
}).to.throw(RangeError);
|
|
58
|
-
});
|
|
59
|
-
(0, vitest_1.it)('parseHex(\'1287a3\', undefined, 4) should return \'001287a3\'', () => {
|
|
60
|
-
const ret = bc.parseHex('1287a3', undefined, 4);
|
|
61
|
-
(0, vitest_1.expect)(ret).to.equal('001287a3');
|
|
62
|
-
});
|
|
63
|
-
(0, vitest_1.it)('parseHex(\'1287542fe21\', true, 4) should throw error', () => {
|
|
64
|
-
(0, vitest_1.expect)(() => {
|
|
65
|
-
bc.parseHex('1287542fe21', true, 4);
|
|
66
|
-
}).to.throw(RangeError);
|
|
67
|
-
});
|
|
68
|
-
});
|
|
69
|
-
//# sourceMappingURL=parseHex.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"parseHex.test.js","sourceRoot":"","sources":["../../../src/conversion/test/parseHex.test.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,yCAA2B;AAC3B,mCAA4C;AAE5C,IAAA,iBAAQ,EAAC,UAAU,EAAE,GAAG,EAAE;IACxB,MAAM,OAAO,GAAG;QACd,EAAC,KAA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