Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

walt-buildtools

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

walt-buildtools - npm Package Compare versions

Comparing version 0.0.5 to 0.1.0

2

package.json
{
"name": "walt-buildtools",
"version": "0.0.5",
"version": "0.1.0",
"description": "Walt build utils",

@@ -5,0 +5,0 @@ "main": "src/index.js",

@@ -45,3 +45,4 @@ /**

);
if (type === "Memory") {
if (type.value === "Memory") {
hasMemory = true;

@@ -118,5 +119,6 @@ }

}
const code = api.generator(
mod.ast,
Object.assign({}, options, { linker: { statics } })
Object.assign({}, options, { filename: mod.filepath.split('/').slice(-1)[0], linker: { statics } })
);

@@ -138,2 +140,3 @@ const wasm = api.emitter(code, options).buffer();

filepath,
encodeNames: true
};

@@ -140,0 +143,0 @@

@@ -11,2 +11,5 @@ "use strict";

const module = importNode.params[1];
if (!deps[module.value]) {
return importNode;
}

@@ -13,0 +16,0 @@ return compiler.mapNode({

@@ -5,2 +5,5 @@ // Print nodes like JSX elements

function getValue(node) {
if (typeof value !== 'string') {
return node.value;
}
if (node.value.length < 60) {

@@ -7,0 +10,0 @@ return node.value;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc