New Upstream Release - jquery-typeahead.js

Ready changes

Summary

Merged new upstream version: 2.11.2+dfsg1 (was: 2.11.0+dfsg1).

Resulting package

Built on 2023-01-11T17:11 (took 4m3s)

The resulting binary packages can be installed (if you have the apt repository enabled) by running one of:

apt install -t fresh-releases libjs-jquery-typeahead

Lintian Result

Diff

diff --git a/.travis.yml b/.travis.yml
index b930623..66f18d8 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -4,3 +4,6 @@ node_js:
 before_install:
   - curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version 1.5.1
   - export PATH="$HOME/.yarn/bin:$PATH"
+arch:
+  - amd64
+  - ppc64le
diff --git a/README.md b/README.md
index 31bb296..2a1967d 100644
--- a/README.md
+++ b/README.md
@@ -1,45 +1,43 @@
-[![Build Status](https://travis-ci.org/running-coder/jquery-typeahead.svg?branch=develop&style=flat-square)](https://travis-ci.org/running-coder/jquery-typeahead)
-[![npm:](https://img.shields.io/npm/v/jquery-typeahead.svg?style=flat-square)](https://www.npmjs.com/package/jquery-typeahead)
-[![license:mit](https://img.shields.io/badge/license-mit-green.svg?style=flat-square)](#license)
-[![Built with gulp](http://img.shields.io/badge/built%20with-gulp.js-red.svg?style=flat-square)](http://gulpjs.com/)
-
-# jQuery Typeahead
-
-The jQuery Typeahead plugin provides autocomplete preview on search inputs similar to google search with builtin options and deep customization.
-It is a simple clientside library that will improve the user experience on your website search input!
-
-The jQuery Typeahead plugin is released under the MIT License.
-
-The complete documentation, demo and further instructions can be found at www.runningcoder.org
-
-## Installation
-
-    bower install jquery-typeahead
-
-or
-
-    npm install jquery-typeahead
-
-## Documentation
-
-You can find the complete documentation on www.runningcoder.org/jquerytypeahead/documentation/
-
-## Demos
-
-www.runningcoder.org/jquerytypeahead/demo/
-
-## Version Notes
-
-www.runningcoder.org/jquerytypeahead/version/
-
-## Pull Requests
-
-Please consider these points before creating a new pull request
-
-- Pull request should be made from `develop` to `develop` branch so it can be tested properly and not be directly available to download on the `master`.
-The `master` branch should be a copy of the latest released `tag` without any additional new code that has not been released
-- Add a descriptive note along with the PR and examples
-- Only submit the changed lines and not the whole file(s)
-- Follow the same coding conversions
-
-Buy me a coffee with ETH: `0x38084cF7Ba4D84D8d9E5C185c66B4C234D8d4764`
+[![Build Status](https://travis-ci.org/running-coder/jquery-typeahead.svg?branch=develop&style=flat-square)](https://travis-ci.org/running-coder/jquery-typeahead)
+[![npm:](https://img.shields.io/npm/v/jquery-typeahead.svg?style=flat-square)](https://www.npmjs.com/package/jquery-typeahead)
+[![license:mit](https://img.shields.io/badge/license-mit-green.svg?style=flat-square)](#license)
+[![Built with gulp](http://img.shields.io/badge/built%20with-gulp.js-red.svg?style=flat-square)](http://gulpjs.com/)
+
+# jQuery Typeahead
+
+The jQuery Typeahead plugin provides autocomplete preview on search inputs similar to google search with builtin options and deep customization.
+It is a simple clientside library that will improve the user experience on your website search input!
+
+The jQuery Typeahead plugin is released under the MIT License.
+
+The complete documentation, demo and further instructions can be found at www.runningcoder.org
+
+## Installation
+
+    npm install jquery-typeahead
+
+or
+
+    yarn add jquery-typeahead
+
+## Documentation
+
+You can find the complete documentation on www.runningcoder.org/jquerytypeahead/documentation/
+
+## Demos
+
+www.runningcoder.org/jquerytypeahead/demo/
+
+## Version Notes
+
+www.runningcoder.org/jquerytypeahead/version/
+
+## Pull Requests
+
+Please consider these points before creating a new pull request
+
+- Pull request should be made from `develop` to `develop` branch so it can be tested properly and not be directly available to download on the `master`.
+  The `master` branch should be a copy of the latest released `tag` without any additional new code that has not been released
+- Add a descriptive note along with the PR and examples
+- Only submit the changed lines and not the whole file(s)
+- Follow the same coding conversions
diff --git a/debian/changelog b/debian/changelog
index 5faaf27..1809025 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,9 +1,10 @@
-jquery-typeahead.js (2.11.0+dfsg1-4) UNRELEASED; urgency=medium
+jquery-typeahead.js (2.11.2+dfsg1-1) UNRELEASED; urgency=medium
 
   * Update lintian override info format in d/source/lintian-overrides on line 2.
   * Update standards version to 4.6.2, no changes needed.
+  * New upstream release.
 
- -- Debian Janitor <janitor@jelmer.uk>  Sun, 08 Jan 2023 18:19:52 -0000
+ -- Debian Janitor <janitor@jelmer.uk>  Wed, 11 Jan 2023 17:08:08 -0000
 
 jquery-typeahead.js (2.11.0+dfsg1-3) unstable; urgency=medium
 
diff --git a/package.json b/package.json
index a63946f..50c5ca8 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
   "name": "jquery-typeahead",
-  "version": "2.11.0",
+  "version": "2.11.2",
   "description": "jQuery plugin that provides Typeahead (autocomplete) Search preview from Json object(s) via same domain Ajax request or cross domain Jsonp and offers data compression inside Local Storage. The plugin is built with a lot of options and callbacks to allow customization.",
   "author": {
     "name": "Tom Bertrand"
@@ -48,7 +48,8 @@
     "uglify-save-license": "^0.4.1"
   },
   "scripts": {
-    "test": "jest"
+    "test": "jest",
+    "gulp": "gulp"
   },
   "jest": {
     "testURL": "http://localhost/",
diff --git a/src/jquery.typeahead.js b/src/jquery.typeahead.js
index 47828b4..b7c0a9d 100644
--- a/src/jquery.typeahead.js
+++ b/src/jquery.typeahead.js
@@ -1,10 +1,10 @@
 /*!
  * jQuery Typeahead
- * Copyright (C) 2019 RunningCoder.org
+ * Copyright (C) 2022 RunningCoder.org
  * Licensed under the MIT license
  *
  * @author Tom Bertrand
- * @version 2.11.0 (2019-10-31)
+ * @version 2.11.2 (2022-9-16)
  * @link http://www.runningcoder.org/jquerytypeahead/
  */
 (function (factory) {
@@ -30,7 +30,7 @@
     "use strict";
 
     window.Typeahead = {
-        version: '2.11.0'
+        version: '2.11.2'
     };
 
     /**
@@ -2899,12 +2899,11 @@
         },
 
         dynamicFilter: {
-            isEnabled: false,
             init: function () {
                 if (!this.options.dynamicFilter) return;
 
                 this.dynamicFilter.bind.call(this);
-                this.dynamicFilter.isEnabled = true;
+                this.isDynamicFilterEnabled = true;
             },
 
             validate: function (item) {
@@ -2959,7 +2958,7 @@
                     };
                 }
 
-                if (this.dynamicFilter.isEnabled) {
+                if (this.isDynamicFilterEnabled) {
                     this.generateSource();
                 }
             },
diff --git a/src/jquery.typeahead.scss b/src/jquery.typeahead.scss
index 477ab3b..7bc7b42 100644
--- a/src/jquery.typeahead.scss
+++ b/src/jquery.typeahead.scss
@@ -546,7 +546,7 @@ $typeahead-label-background: lighten($typeahead-primary-color, 30%) !default;
             content: "";
             top: 50%;
             right: 0.55em;
-            margin-top: -($typeahead-loading-size / 2);
+            margin-top: calc(-$typeahead-loading-size / 2);
             width: $typeahead-loading-size;
             height: $typeahead-loading-size;
             box-sizing: border-box;
diff --git a/yarn.lock b/yarn.lock
index 4fccfc8..d906288 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -4167,9 +4167,9 @@ lodash.unescape@4.0.1:
   integrity sha1-vyJJiGzlFM2hEvrpIYzcBlIR/Jw=
 
 lodash@^4.0.0, lodash@^4.12.0, lodash@^4.17.11, lodash@^4.17.12, lodash@^4.17.13, lodash@^4.17.14, lodash@^4.17.15, lodash@^4.17.4, lodash@~4.17.10, lodash@~4.17.11:
-  version "4.17.15"
-  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.15.tgz#b447f6670a0455bbfeedd11392eff330ea097548"
-  integrity sha512-8xOcRHvCjnocdS5cpwXQXVzmmh5e5+saE2QGoeQmbKmRS6J3VQppPOIt0MnmE+4xlZoumy0GPG0D0MVIQbNA1A==
+  version "4.17.19"
+  resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.19.tgz#e48ddedbe30b3321783c5b4301fbd353bc1e4a4b"
+  integrity sha512-JNvd8XER9GQX0v2qJgsaN/mzFCNA5BRe/j8JN9d+tWyGLSodKQHKFicdwNYzWwI3wjRnaKPsGj1XkBjx/F96DQ==
 
 loglevel-colored-level-prefix@^1.0.0:
   version "1.0.0"

Debdiff

File lists identical (after any substitutions)

No differences were encountered in the control files

More details

Full run details