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

hunspell-asm

Package Overview
Dependencies
Maintainers
1
Versions
42
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hunspell-asm - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

10

CHANGELOG.md

@@ -0,1 +1,11 @@

<a name="0.0.9"></a>
## [0.0.9](https://github.com/kwonoj/hunspell-asm/compare/v0.0.8...v0.0.9) (2017-09-10)
### Features
* **mount:** replace mount id into nanoid ([dfd630e](https://github.com/kwonoj/hunspell-asm/commit/dfd630e))
<a name="0.0.8"></a>

@@ -2,0 +12,0 @@ ## [0.0.8](https://github.com/kwonoj/hunspell-asm/compare/v0.0.7...v0.0.8) (2017-09-10)

6

dist/src/hunspellLoader.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cuid = require("cuid");
var nanoid = require("nanoid");
var mountBuffer_1 = require("./mountBuffer");

@@ -13,6 +13,6 @@ var mountDirectory_1 = require("./mountDirectory");

var hunspellInterface = wrapHunspellInterface_1.wrapHunspellInterface(cwrap);
var memPathId = "/" + cuid();
var memPathId = "/" + nanoid(45);
FS.mkdir(memPathId);
logger_1.log("hunspellLoader: mount path for bufferFile created at " + memPathId);
var nodePathId = "/" + cuid();
var nodePathId = "/" + nanoid(45);
if (isNode_1.isNode()) {

@@ -19,0 +19,0 @@ FS.mkdir(nodePathId);

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var cuid = require("cuid");
var nanoid = require("nanoid");
var isMounted_1 = require("./isMounted");
var logger_1 = require("./util/logger");
exports.mountBuffer = function (FS, memPathId) { return function (contents, fileName) {
var file = fileName || cuid();
var file = fileName || nanoid(45);
var mountedFilePath = memPathId + "/" + file;

@@ -9,0 +9,0 @@ if (isMounted_1.isMounted(FS, mountedFilePath, 'file')) {

{
"name": "hunspell-asm",
"version": "0.0.8",
"version": "0.0.9",
"description": "WebAssembly based Javascript bindings for hunspell spellchecker",

@@ -76,4 +76,4 @@ "main": "./dist/src/index.js",

"dependencies": {
"cuid": "^1.3.8",
"getroot": "^1.0.0",
"nanoid": "^0.2.0",
"tslib": "^1.7.1",

@@ -80,0 +80,0 @@ "unixify": "^1.0.0"

Sorry, the diff of this file is not supported yet

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