yoga-wasm-web
Advanced tools
Comparing version 0.1.1 to 0.1.2
@@ -1,1 +0,1 @@ | ||
import i from"./entry.js";import o from"./yoga.mjs";function s(n,t){return t}async function c(n){let t=await o({instantiateWasm(e,r){return WebAssembly.instantiate(n,e).then(a=>{r(a)}),{}},locateFile(){return""}});return i(s,t)}async function l(n){let t=await o({instantiateWasm(e,r){return WebAssembly.instantiateStreaming(n,e).then(a=>{r(a)}),{}},locateFile(){return""}});return i(s,t)}export{c as default,l as initStreaming}; | ||
import i from"./entry.js";import o from"./yoga.mjs";function s(e,t){return t}async function c(e){let t=await o({instantiateWasm(r,a){return WebAssembly.instantiate(e,r).then(n=>{a(n.instance||n)}),{}},locateFile(){return""}});return i(s,t)}async function l(e){let t=await o({instantiateWasm(r,a){return WebAssembly.instantiateStreaming(e,r).then(n=>{a(n.instance||n)}),{}},locateFile(){return""}});return i(s,t)}export{c as default,l as initStreaming}; |
{ | ||
"name": "yoga-wasm-web", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "index.d.ts", |
@@ -5,2 +5,3 @@ # yoga-wasm-web | ||
- Stick to bdc37b07971b645718d2d7400afa19d47056ef0f of Yoga that matches the `yoga-layout-prebuilt` package. | ||
- Fix missing `YGMeasureMode` binding. | ||
@@ -15,1 +16,3 @@ - Fix missing `YGUnit` binding. | ||
- Enable LTO. | ||
- Enable SIMD128. | ||
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17
91779
145