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.3 to 0.0.4

5

CHANGELOG.md

@@ -0,1 +1,6 @@

<a name="0.0.4"></a>
## [0.0.4](https://github.com/kwonoj/hunspell-asm/compare/v0.0.3...v0.0.4) (2017-07-30)
<a name="0.0.3"></a>

@@ -2,0 +7,0 @@ ## [0.0.3](https://github.com/kwonoj/hunspell-asm/compare/v0.0.2...v0.0.3) (2017-07-29)

0

dist/src/Hunspell.d.ts

@@ -0,0 +0,0 @@ export interface Hunspell {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=Hunspell.js.map

@@ -0,0 +0,0 @@ /// <reference types="node" />

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=HunspellAsmModule.js.map

@@ -0,0 +0,0 @@ import { Hunspell } from './Hunspell';

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
//# sourceMappingURL=HunspellFactory.js.map
import { HunspellAsmModule } from './HunspellAsmModule';
import { HunspellFactory } from './HunspellFactory';
export declare const hunspellLoader: (asmModule: HunspellAsmModule) => HunspellFactory;

@@ -0,0 +0,0 @@ "use strict";

export { loadModule } from './loadModule';
export { log, enableLogger } from './util/logger';

@@ -0,0 +0,0 @@ "use strict";

import { FS } from './HunspellAsmModule';
export declare const isMounted: (FS: FS, mountPath: string, type: "dir" | "file") => boolean;

@@ -0,0 +0,0 @@ "use strict";

import { HunspellFactory } from './HunspellFactory';
export declare const loadModule: (binaryEndpoint?: string | undefined) => Promise<HunspellFactory>;

@@ -0,0 +0,0 @@ "use strict";

import { FS } from './HunspellAsmModule';
export declare const mkdirTree: (FS: FS, dirPath: string) => void;

@@ -0,0 +0,0 @@ "use strict";

import { FS } from './HunspellAsmModule';
export declare const mountBuffer: (FS: FS, memPathId: string) => (contents: ArrayBufferView, fileName?: string | undefined) => string;

@@ -0,0 +0,0 @@ "use strict";

import { FS } from './HunspellAsmModule';
export declare const mountDirectory: (FS: FS, nodePathId: string) => (dirPath: string) => string;

@@ -0,0 +0,0 @@ "use strict";

import { FS } from './HunspellAsmModule';
export declare const unmount: (FS: FS, memPathId: string) => (mountedPath: string) => void;

@@ -0,0 +0,0 @@ "use strict";

export declare const isNode: () => boolean;

@@ -0,0 +0,0 @@ "use strict";

export declare const isWasmEnabled: () => boolean;

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ declare type logFunctionType = (message: string, ...optionalParams: Array<any>) => void;

@@ -0,0 +0,0 @@ "use strict";

declare const _root: any;
export { _root as root };

@@ -0,0 +0,0 @@ "use strict";

@@ -0,0 +0,0 @@ import { cwrapSignature } from './HunspellAsmModule';

@@ -0,0 +0,0 @@ "use strict";

2

package.json
{
"name": "hunspell-asm",
"version": "0.0.3",
"version": "0.0.4",
"description": "WebAssembly based Javascript bindings for hunspell spellchecker",

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

@@ -21,3 +21,3 @@ [![Build Status](https://travis-ci.org/kwonoj/hunspell-asm.svg?branch=master)](https://travis-ci.org/kwonoj/hunspell-asm)

`Hunspell-asm` rely wasm binary (or asm.js where wasm is not supported) of hunspell, which need to be initialized first.
`Hunspell-asm` relys on wasm binary (or asm.js where wasm is not supported) of hunspell, which need to be initialized first.

@@ -64,2 +64,6 @@ ```js

## Things to note
- Ensure all inputs (aff, dic, word for spell / suggest) are UTF-8 encoded correctly. While hunspell itself supports other encodings, all surrounding interfaces passing buffers are plain javascript doesn't detect / converts encodings automatically.
# Building / Testing

@@ -66,0 +70,0 @@

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