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

dictionary-typeahead

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dictionary-typeahead - npm Package Compare versions

Comparing version 3.0.1 to 3.0.2

2

dist/index.js

@@ -62,2 +62,3 @@ 'use strict';

value: function complete(suggestion, text, pos) {
var self = this;
var tokenBeforeCursor = this._tokenize(text.substring(0, pos), false);

@@ -80,3 +81,2 @@ var tokensAfterCursor = this._tokenize(text.substring(pos, text.length), false);

function buildSuggestionTokens(tokensToConsider, suggestionTokens) {
var self = this;
return prefixHelper(tokensToConsider, suggestionTokens);

@@ -83,0 +83,0 @@

@@ -63,2 +63,3 @@ (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var n=t[o][1][e];return s(n?n:e)},l,l.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){

value: function complete(suggestion, text, pos) {
var self = this;
var tokenBeforeCursor = this._tokenize(text.substring(0, pos), false);

@@ -81,3 +82,2 @@ var tokensAfterCursor = this._tokenize(text.substring(pos, text.length), false);

function buildSuggestionTokens(tokensToConsider, suggestionTokens) {
var self = this;
return prefixHelper(tokensToConsider, suggestionTokens);

@@ -84,0 +84,0 @@

{
"name": "dictionary-typeahead",
"version": "3.0.1",
"version": "3.0.2",
"description": "typeahead that utilizes a custom dictionary",

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

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