@digitransit-search-util/digitransit-search-util-get-label 1.0.6 → 1.0.8

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.
Files changed (2) hide show
  1. package/package.json +5 -5
  2. package/test.js +1 -1
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "@digitransit-search-util/digitransit-search-util-get-label",
3
- "version": "1.0.6",
3
+ "version": "1.0.8",
4
4
  "description": "digitransit-search-util get-label module",
5
- "main": "index.js",
6
5
  "type": "module",
6
+ "main": "index.js",
7
7
  "publishConfig": {
8
8
  "access": "public"
9
9
  },
10
10
  "scripts": {
11
11
  "test": "vitest run --config ../../../config/vitest.config.js \"$PWD/test.js\"",
12
- "docs": "node ../../../scripts/workspace-packages/generate-readmes.mjs"
12
+ "docs": "node ../../../scripts/workspace-packages/generate-readmes.js"
13
13
  },
14
14
  "repository": {
15
15
  "type": "git",
@@ -22,7 +22,7 @@
22
22
  "author": "Digitransit Authors",
23
23
  "license": "(AGPL-3.0 OR EUPL-1.2)",
24
24
  "dependencies": {
25
- "@digitransit-search-util/digitransit-search-util-uniq-by-label": "^2.1.4"
25
+ "@digitransit-search-util/digitransit-search-util-uniq-by-label": "^2.1.6"
26
26
  },
27
- "gitHead": "3ea16b8aa7ff98fa4d58f72aed40ac0cda27c85f"
27
+ "gitHead": "ba080a07446a5481ea4d770d8bbc5f9c75d97da6"
28
28
  }
package/test.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { describe, it, expect } from 'vitest';
2
- import getLabel from './index.js';
2
+ import getLabel from './index';
3
3
 
4
4
  describe('Testing @digitransit-search-util/digitransit-search-util-get-label module', () => {
5
5
  it('joins name and address for a plain address suggestion', () => {