hunspell-asm
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -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) |
"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
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
1771664
+ Addednanoid@^0.2.0
+ Addednanoid@0.2.2(transitive)
- Removedcuid@^1.3.8
- Removedbrowser-fingerprint@0.0.1(transitive)
- Removedcore-js@1.2.7(transitive)
- Removedcuid@1.3.8(transitive)
- Removednode-fingerprint@0.0.2(transitive)