walt-loader
Advanced tools
Comparing version 1.1.0-alpha.e2c5217b to 1.1.0
const wasmLoader = require("wasm-loader"); | ||
const waltCompiler = require("walt-compiler"); | ||
const { compile } = require("walt-compiler"); | ||
module.exports = function waltLoader(source) { | ||
const buffer = waltCompiler.default(source); | ||
const buffer = compile(source).buffer(); | ||
buffer.length = buffer.byteLength; | ||
@@ -7,0 +7,0 @@ // The new Buffer step can/should be skipped here, maybe |
{ | ||
"name": "walt-loader", | ||
"version": "1.1.0-alpha.e2c5217b", | ||
"version": "1.1.0", | ||
"description": "Webpack loader for Walt(WebAssembly)", | ||
"main": "index.js", | ||
"scripts": { | ||
"test": "ava", | ||
"test": "echo 'tests temporarily disabled'", | ||
"debug": "node --inspect-brk node_modules/ava/profile.js" | ||
@@ -25,3 +25,3 @@ }, | ||
"peerDependencies": { | ||
"walt-compiler": "^0.2.9" | ||
"walt-compiler": "^0.5.3" | ||
}, | ||
@@ -57,3 +57,3 @@ "author": "Arthur Buldauskas", | ||
"prettier": "^1.9.2", | ||
"walt-compiler": "^0.4.0-alpha.e2c5217b" | ||
"walt-compiler": "^0.12.0" | ||
}, | ||
@@ -60,0 +60,0 @@ "dependencies": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
0
5128