@modernman00/shared-js-lib 1.2.8 → 1.2.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@modernman00/shared-js-lib",
3
- "version": "1.2.8",
3
+ "version": "1.2.9",
4
4
  "description": "Reusable JS utilities for numerous js problems",
5
5
  "homepage": "https://github.com/modernman00/shared-js-lib#readme",
6
6
  "keywords": [
@@ -1,4 +1,4 @@
1
- import { id } from './UtilityHtml'
1
+ import { id } from './UtilityHtml.js'
2
2
 
3
3
  /**
4
4
  *
@@ -17,7 +17,7 @@ import { id } from './UtilityHtml'
17
17
  * providing real-time suggestions based on user input. On selecting a suggestion,
18
18
  * it populates the input element with the selected suggestion.
19
19
  */
20
- const autocomplete = (inputId, arr) => {
20
+ export const autocomplete = (inputId, arr) => {
21
21
  const whatToBuyInput = id(inputId); // Get the text input
22
22
  if (whatToBuyInput) {
23
23
  // Create a <ul> for autocomplete suggestions
@@ -91,4 +91,3 @@ const autocomplete = (inputId, arr) => {
91
91
  }
92
92
  }
93
93
 
94
- export default autocomplete