Fries
f7bbb92d85
the api now requires you to call an async function initWasm to make the functions work instead of using top level await. i also optimized the wasm module to have O3 and fast-math (which the original blurhash makefile had and the results do seem to be the same with the javascript blurhash). I also gave the wasm instance functions inside typescript types and i fixed a bug where i didnt free the pointers in order so if you called decode too many times, you will run out of memory.
145 lines
4.5 KiB
YAML
145 lines
4.5 KiB
YAML
lockfileVersion: '6.0'
|
|
|
|
settings:
|
|
autoInstallPeers: true
|
|
excludeLinksFromLockfile: false
|
|
|
|
devDependencies:
|
|
'@rollup/plugin-typescript':
|
|
specifier: ^11.1.2
|
|
version: 11.1.2(rollup@3.28.0)(tslib@2.6.1)(typescript@5.1.6)
|
|
'@rollup/plugin-wasm':
|
|
specifier: ^6.1.3
|
|
version: 6.1.3(rollup@3.28.0)
|
|
rollup:
|
|
specifier: ^3.28.0
|
|
version: 3.28.0
|
|
tslib:
|
|
specifier: ^2.6.1
|
|
version: 2.6.1
|
|
typescript:
|
|
specifier: ^5.1.6
|
|
version: 5.1.6
|
|
|
|
packages:
|
|
|
|
/@rollup/plugin-typescript@11.1.2(rollup@3.28.0)(tslib@2.6.1)(typescript@5.1.6):
|
|
resolution: {integrity: sha512-0ghSOCMcA7fl1JM+0gYRf+Q/HWyg+zg7/gDSc+fRLmlJWcW5K1I+CLRzaRhXf4Y3DRyPnnDo4M2ktw+a6JcDEg==}
|
|
engines: {node: '>=14.0.0'}
|
|
peerDependencies:
|
|
rollup: ^2.14.0||^3.0.0
|
|
tslib: '*'
|
|
typescript: '>=3.7.0'
|
|
peerDependenciesMeta:
|
|
rollup:
|
|
optional: true
|
|
tslib:
|
|
optional: true
|
|
dependencies:
|
|
'@rollup/pluginutils': 5.0.3(rollup@3.28.0)
|
|
resolve: 1.22.4
|
|
rollup: 3.28.0
|
|
tslib: 2.6.1
|
|
typescript: 5.1.6
|
|
dev: true
|
|
|
|
/@rollup/plugin-wasm@6.1.3(rollup@3.28.0):
|
|
resolution: {integrity: sha512-7ItTTeyauE6lwdDtQWceEHZ9+txbi4RRy0mYPFn9BW7rD7YdgBDu7HTHsLtHrRzJc313RM/1m6GKgV3np/aEaw==}
|
|
engines: {node: '>=14.0.0'}
|
|
peerDependencies:
|
|
rollup: ^1.20.0||^2.0.0||^3.0.0
|
|
peerDependenciesMeta:
|
|
rollup:
|
|
optional: true
|
|
dependencies:
|
|
rollup: 3.28.0
|
|
dev: true
|
|
|
|
/@rollup/pluginutils@5.0.3(rollup@3.28.0):
|
|
resolution: {integrity: sha512-hfllNN4a80rwNQ9QCxhxuHCGHMAvabXqxNdaChUSSadMre7t4iEUI6fFAhBOn/eIYTgYVhBv7vCLsAJ4u3lf3g==}
|
|
engines: {node: '>=14.0.0'}
|
|
peerDependencies:
|
|
rollup: ^1.20.0||^2.0.0||^3.0.0
|
|
peerDependenciesMeta:
|
|
rollup:
|
|
optional: true
|
|
dependencies:
|
|
'@types/estree': 1.0.1
|
|
estree-walker: 2.0.2
|
|
picomatch: 2.3.1
|
|
rollup: 3.28.0
|
|
dev: true
|
|
|
|
/@types/estree@1.0.1:
|
|
resolution: {integrity: sha512-LG4opVs2ANWZ1TJoKc937iMmNstM/d0ae1vNbnBvBhqCSezgVUOzcLCqbI5elV8Vy6WKwKjaqR+zO9VKirBBCA==}
|
|
dev: true
|
|
|
|
/estree-walker@2.0.2:
|
|
resolution: {integrity: sha512-Rfkk/Mp/DL7JVje3u18FxFujQlTNR2q6QfMSMB7AvCBx91NGj/ba3kCfza0f6dVDbw7YlRf/nDrn7pQrCCyQ/w==}
|
|
dev: true
|
|
|
|
/fsevents@2.3.2:
|
|
resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==}
|
|
engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0}
|
|
os: [darwin]
|
|
requiresBuild: true
|
|
dev: true
|
|
optional: true
|
|
|
|
/function-bind@1.1.1:
|
|
resolution: {integrity: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==}
|
|
dev: true
|
|
|
|
/has@1.0.3:
|
|
resolution: {integrity: sha512-f2dvO0VU6Oej7RkWJGrehjbzMAjFp5/VKPp5tTpWIV4JHHZK1/BxbFRtf/siA2SWTe09caDmVtYYzWEIbBS4zw==}
|
|
engines: {node: '>= 0.4.0'}
|
|
dependencies:
|
|
function-bind: 1.1.1
|
|
dev: true
|
|
|
|
/is-core-module@2.13.0:
|
|
resolution: {integrity: sha512-Z7dk6Qo8pOCp3l4tsX2C5ZVas4V+UxwQodwZhLopL91TX8UyyHEXafPcyoeeWuLrwzHcr3igO78wNLwHJHsMCQ==}
|
|
dependencies:
|
|
has: 1.0.3
|
|
dev: true
|
|
|
|
/path-parse@1.0.7:
|
|
resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==}
|
|
dev: true
|
|
|
|
/picomatch@2.3.1:
|
|
resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==}
|
|
engines: {node: '>=8.6'}
|
|
dev: true
|
|
|
|
/resolve@1.22.4:
|
|
resolution: {integrity: sha512-PXNdCiPqDqeUou+w1C2eTQbNfxKSuMxqTCuvlmmMsk1NWHL5fRrhY6Pl0qEYYc6+QqGClco1Qj8XnjPego4wfg==}
|
|
hasBin: true
|
|
dependencies:
|
|
is-core-module: 2.13.0
|
|
path-parse: 1.0.7
|
|
supports-preserve-symlinks-flag: 1.0.0
|
|
dev: true
|
|
|
|
/rollup@3.28.0:
|
|
resolution: {integrity: sha512-d7zhvo1OUY2SXSM6pfNjgD5+d0Nz87CUp4mt8l/GgVP3oBsPwzNvSzyu1me6BSG9JIgWNTVcafIXBIyM8yQ3yw==}
|
|
engines: {node: '>=14.18.0', npm: '>=8.0.0'}
|
|
hasBin: true
|
|
optionalDependencies:
|
|
fsevents: 2.3.2
|
|
dev: true
|
|
|
|
/supports-preserve-symlinks-flag@1.0.0:
|
|
resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==}
|
|
engines: {node: '>= 0.4'}
|
|
dev: true
|
|
|
|
/tslib@2.6.1:
|
|
resolution: {integrity: sha512-t0hLfiEKfMUoqhG+U1oid7Pva4bbDPHYfJNiB7BiIjRkj1pyC++4N3huJfqY6aRH6VTB0rvtzQwjM4K6qpfOig==}
|
|
dev: true
|
|
|
|
/typescript@5.1.6:
|
|
resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==}
|
|
engines: {node: '>=14.17'}
|
|
hasBin: true
|
|
dev: true
|