New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

dasm

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dasm - npm Package Compare versions

Comparing version 4.2.0 to 4.3.0

12

lib/index.js

@@ -405,4 +405,14 @@ Object.defineProperty(exports, "__esModule", { value: true });

for (var fileName in options.includes) {
Module.FS.writeFile(fileName, options.includes[fileName]);
try {
var folders = fileName.split("/");
for (var i = 0; i < folders.length - 1; i++) {
Module.FS.mkdir(folders.slice(0, i + 1).join("/"));
}
Module.FS.writeFile(fileName, options.includes[fileName]);
}
catch (e) {
console.error("Error writing file " + fileName, e);
}
}
// showDirectory();
}

@@ -409,0 +419,0 @@ // Finally, call it

10

package.json
{
"name": "dasm",
"version": "4.2.0",
"version": "4.3.0",
"description": "An emscripten-compiled version of the dasm macro assembler",

@@ -8,4 +8,5 @@ "main": "./lib/index.js",

"scripts": {
"test": "mocha test/.setup.js test/**/*-test-*.js",
"test:watch": "mocha -w test/.setup.js test/**/*-test-*.js",
"test": "jest --testMatch **/test/**/*-test-*.js",
"test:coverage": "npm run test -- --coverage",
"test:watch": "npm run test -- --watchAll",
"build": "tsc --pretty",

@@ -43,5 +44,4 @@ "watch": "tsc --pretty --watch"

"babel-preset-es2015": "^6.22.0",
"chai": "^3.5.0",
"core-js": "^2.4.1",
"mocha": "^3.2.0",
"jest": "^20.0.4",
"tslint": "^4.3.1",

@@ -48,0 +48,0 @@ "typescript": "^2.4.1"

@@ -145,5 +145,6 @@ # The dasm macro assembler (for JavaScript)

* More tests: all options
* Run as a worker?
* Command-line package? (`dasm-cli`)
* Allow direct FS use?
* Build file dependencies by itself?

@@ -162,2 +163,2 @@ Contributions are welcome.

This follows dasm itself and uses the [GNU Public License v2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).
This follows dasm itself and uses the [GNU Public License v2.0](https://www.gnu.org/licenses/old-licenses/gpl-2.0.en.html).

Sorry, the diff of this file is not supported yet

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