🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
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

to
4.0.1

10

CHANGELOG.md

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

<a name="4.0.1"></a>
## [4.0.1](https://github.com/kwonoj/hunspell-asm/compare/v4.0.0...v4.0.1) (2019-10-19)
### Bug Fixes
* **hunspell:** normalize unicodei to NFC where possible ([800b79e](https://github.com/kwonoj/hunspell-asm/commit/800b79e))
<a name="4.0.0"></a>

@@ -2,0 +12,0 @@ # [4.0.0](https://github.com/kwonoj/hunspell-asm/compare/v3.0.3...v4.0.0) (2019-09-13)

3

dist/cjs/hunspellLoader.js

@@ -30,3 +30,4 @@ "use strict";

const fn = params.pop();
const paramsPtr = params.map((param) => allocateUTF8(param));
//https://mathiasbynens.be/notes/javascript-unicode
const paramsPtr = params.map((param) => allocateUTF8(param.normalize()));
const ret = fn(...paramsPtr);

@@ -33,0 +34,0 @@ paramsPtr.forEach(paramPtr => _free(paramPtr));

@@ -28,3 +28,4 @@ import { mountBuffer, unmount } from 'emscripten-wasm-loader';

const fn = params.pop();
const paramsPtr = params.map((param) => allocateUTF8(param));
//https://mathiasbynens.be/notes/javascript-unicode
const paramsPtr = params.map((param) => allocateUTF8(param.normalize()));
const ret = fn(...paramsPtr);

@@ -31,0 +32,0 @@ paramsPtr.forEach(paramPtr => _free(paramPtr));

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

@@ -57,17 +57,17 @@ "main": "./dist/cjs/index.js",

"devDependencies": {
"@babel/core": "^7.6.0",
"@commitlint/cli": "^8.1.0",
"@commitlint/config-angular": "^8.1.0",
"@types/chai": "^4.2.2",
"@types/jest": "^24.0.18",
"@types/lodash": "^4.14.138",
"@types/node": "^12.7.5",
"@babel/core": "^7.6.4",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-angular": "^8.2.0",
"@types/chai": "^4.2.3",
"@types/jest": "^24.0.19",
"@types/lodash": "^4.14.144",
"@types/node": "^12.11.1",
"@types/shelljs": "^0.8.5",
"chai": "^4.2.0",
"commitizen": "^4.0.3",
"conventional-changelog-cli": "^2.0.23",
"husky": "^3.0.5",
"conventional-changelog-cli": "^2.0.25",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-spin-reporter": "^2.0.0",
"lint-staged": "^9.2.5",
"lint-staged": "^9.4.2",
"lodash": "^4.17.15",

@@ -80,10 +80,10 @@ "npm-run-all": "^4.1.5",

"ts-jest": "^24.1.0",
"ts-node": "^8.3.0",
"ts-node": "^8.4.1",
"tslint": "^5.20.0",
"tslint-no-unused-expression-chai": "0.1.4",
"typescript": "^3.6.3"
"typescript": "^3.6.4"
},
"dependencies": {
"emscripten-wasm-loader": "^3.0.3",
"nanoid": "^2.1.1"
"nanoid": "^2.1.4"
},

@@ -90,0 +90,0 @@ "engines": {

@@ -34,3 +34,4 @@ import { mountBuffer, unmount } from 'emscripten-wasm-loader';

const fn = params.pop()!;
const paramsPtr = params.map((param: string) => allocateUTF8(param));
//https://mathiasbynens.be/notes/javascript-unicode
const paramsPtr = params.map((param: string) => allocateUTF8(param.normalize()));
const ret = (fn as Function)(...paramsPtr);

@@ -37,0 +38,0 @@ paramsPtr.forEach(paramPtr => _free(paramPtr));

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet