@mountainpass/addressr 1.1.8 → 2.0.1

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": "@mountainpass/addressr",
3
- "version": "1.1.8",
3
+ "version": "2.0.1",
4
4
  "description": "Australian Address Validation, Search and Autocomplete",
5
5
  "author": {
6
6
  "name": "Mountain Pass",
@@ -13,8 +13,9 @@
13
13
  "access": "public"
14
14
  },
15
15
  "engines": {
16
- "node": ">=14.21.2"
16
+ "node": ">=22"
17
17
  },
18
+ "packageManager": "npm@10.9.4",
18
19
  "config": {
19
20
  "localport": "6060",
20
21
  "SEARCH_IMAGE": "opensearchproject/opensearch:1.3.20"
@@ -75,7 +76,7 @@
75
76
  "npm-check-unused": "npm-check",
76
77
  "lint": "eslint . --fix",
77
78
  "test": "NO_STRICT=' ' npm-run-all --serial test:nogeo test:geo",
78
- "test:nogeo": "NO_STRICT=' ' npm-run-all --serial test:nodejs:nogeo test:rest:nogeo test:rest2:nogeo test:cli:nogeo",
79
+ "test:nogeo": "NO_STRICT=' ' npm-run-all --serial test:nodejs:nogeo test:rest:nogeo test:rest2:nogeo test:cli:nogeo test:cli2:nogeo",
79
80
  "test:geo": "NO_STRICT=' ' npm-run-all --serial test:nodejs:geo test:rest:geo test:cli:geo",
80
81
  "watch:test": "nodemon -V --ext \"*.feature, *.js, *.json, *.css, *.yaml\" -x npm -- run test",
81
82
  "genversion": "genversion --es6 --semi version.js",
@@ -98,6 +99,9 @@
98
99
  "test:cli:nogeo": "ES_INDEX_NAME=test PORT=$npm_package_config_localport DEBUG=error,api,express:*,swagger-tools*,test,es run-p --race start:server:preinstalled dotest:cli:nogeo",
99
100
  "cover:cli:nogeo": "nyc --report-dir coverage/cli --temp-dir coverage/cli/.nyc_output npm run test:cli:nogeo",
100
101
  "test:cli:geo": "ES_INDEX_NAME=test PORT=$npm_package_config_localport ADDRESSR_ENABLE_GEO=1 DEBUG=error,api,express:*,swagger-tools*,test,es run-p --race start:server:preinstalled dotest:cli:nogeo",
102
+ "dotest:cli2:nogeo": "ES_INDEX_NAME=test COVERED_STATES=OT TEST_PROFILE=cli2 cucumber-js -p cli2 -- --harmony_async_iteration",
103
+ "pretest:cli2:nogeo": "npm pack && npm install -g mountainpass-addressr-${npm_package_version}.tgz && ES_INDEX_NAME=test COVERED_STATES=OT DEBUG=error,api,express:*,swagger-tools*,test,es PORT=$npm_package_config_localport addressr-loader",
104
+ "test:cli2:nogeo": "ES_INDEX_NAME=test PORT=$npm_package_config_localport DEBUG=error,api,express:*,swagger-tools*,test,es run-p --race start:server2:preinstalled dotest:cli2:nogeo",
101
105
  "pretest:cli2:geo": "npm pack && npm install -g mountainpass-addressr-${npm_package_version}.tgz && ES_INDEX_NAME=test COVERED_STATES=OT ADDRESSR_ENABLE_GEO=1 DEBUG=error,api,express:*,swagger-tools*,test,es PORT=$npm_package_config_localport addressr-loader",
102
106
  "test:cli2:geo": "ES_INDEX_NAME=test PORT=$npm_package_config_localport ADDRESSR_ENABLE_GEO=1 DEBUG=error,api,express:*,swagger-tools*,test,es run-p --race start:server2:preinstalled dotest:cli2:geo",
103
107
  "dotest:cli2:geo": "ADDRESSR_ENABLE_GEO=1 ES_INDEX_NAME=test COVERED_STATES=OT TEST_PROFILE=cli2 cucumber-js -p cli2 -- --harmony_async_iteration",
@@ -116,7 +120,7 @@
116
120
  "predocker:push": "echo \"$DOCKER_ID_PASS\" | docker login --username \"$DOCKER_ID_USER\" --password-stdin",
117
121
  "docker:push": "docker push \"mountainpass/addressr:${npm_package_version}\"",
118
122
  "postdocker:push": "docker push \"mountainpass/addressr:latest\"",
119
- "check-licenses": "license-checker --production --onlyAllow 'MIT;Apache-2.0;ISC;Custom: http://github.com/substack/node-bufferlist;Unlicense;BSD-2-Clause;BSD-3-Clause;WTFPL;0BSD;MIT*;Python-2.0;MPL-2.0' --summary",
123
+ "check-licenses": "license-checker --production --onlyAllow 'MIT;Apache-2.0;ISC;Custom: http://github.com/substack/node-bufferlist;Unlicense;BSD-2-Clause;BSD-3-Clause;WTFPL;0BSD;MIT*;Python-2.0;MPL-2.0;BlueOak-1.0.0' --summary",
120
124
  "pre-commit": "lint-staged && npm run check-licenses",
121
125
  "check-deps": "dry-aged-deps --check",
122
126
  "test:performance": "k6 run --out csv=target/stress.csv test/k6/script.js",
@@ -157,16 +161,14 @@
157
161
  "private": false,
158
162
  "dependencies": {
159
163
  "@changesets/cli": "^2.26.2",
160
- "@mountainpass/waycharter": "^1.0.68",
161
- "@opensearch-project/opensearch": "^2.0.0",
164
+ "@mountainpass/waycharter": "^1.0.76",
165
+ "@opensearch-project/opensearch": "^3.5.1",
162
166
  "debug": "^4.1.1",
163
167
  "directory-exists": "^2.0.1",
164
168
  "dotenv": "^10.0.0",
165
169
  "express": "^4.17.1",
166
- "glob": "^7.1.7",
167
- "glob-promise": "^4.2.0",
168
- "got": "^9.6.0",
169
- "http-link-header": "1.0.2",
170
+ "glob": "^13.0.6",
171
+ "http-link-header": "^1.1.3",
170
172
  "js-yaml": "^4.1.1",
171
173
  "json-ptr": "2.1.0",
172
174
  "keyv": "^4.0.1",
@@ -176,9 +178,8 @@
176
178
  "progress": "^2.0.3",
177
179
  "semver": "^7.3.2",
178
180
  "swagger-tools": "^0.10.4",
179
- "turbo": "^1.10.15",
180
181
  "unzip-stream": "^0.3.0",
181
- "uri-template-lite": "^20.5.0",
182
+ "uri-template-lite": "^23.4.0",
182
183
  "wait-port": "^0.2.2"
183
184
  },
184
185
  "devDependencies": {
@@ -193,38 +194,38 @@
193
194
  "@babel/preset-react": "^7.0.0",
194
195
  "@babel/register": "^7.7.0",
195
196
  "@babel/runtime": "^7.5.0",
197
+ "@cucumber/cucumber": "^12.7.0",
198
+ "@eslint-community/eslint-plugin-eslint-comments": "^4.7.1",
199
+ "@eslint/js": "^9.39.4",
196
200
  "@istanbuljs/nyc-config-babel": "^3.0.0",
197
- "@mountainpass/waychaser": "^4.0.0",
198
- "@windyroad/cucumber-js-throwables": "^1.0.4",
199
- "babel-plugin-istanbul": "^6.0.0",
200
- "babel-preset-env": "^1.7.0",
201
+ "@mountainpass/waychaser": "^5.0.44",
202
+ "babel-plugin-istanbul": "^7.0.1",
201
203
  "bats": "^1.13.0",
202
204
  "chai": "^4.2.0",
203
- "cucumber": "^5.1.0",
204
205
  "dry-aged-deps": "^2.6.0",
205
- "eslint": "^8.57.1",
206
- "eslint-config-prettier": "^9.1.2",
207
- "eslint-plugin-chai-friendly": "^0.7.4",
208
- "eslint-plugin-eslint-comments": "^3.2.0",
209
- "eslint-plugin-import": "^2.32.0",
206
+ "eslint": "^9.39.4",
207
+ "eslint-config-prettier": "^10.1.8",
208
+ "eslint-plugin-chai-friendly": "^1.1.0",
209
+ "eslint-plugin-import-x": "^4.16.2",
210
210
  "eslint-plugin-n": "^17.24.0",
211
211
  "eslint-plugin-prettier": "^5.5.5",
212
- "eslint-plugin-promise": "^6.6.0",
213
- "eslint-plugin-security": "^1.7.1",
214
- "eslint-plugin-unicorn": "^49.0.0",
212
+ "eslint-plugin-promise": "^7.2.1",
213
+ "eslint-plugin-security": "^4.0.0",
214
+ "eslint-plugin-unicorn": "^63.0.0",
215
215
  "genversion": "^3.0.0",
216
+ "globals": "^17.4.0",
216
217
  "husky": "^9.1.7",
217
- "imagemin-lint-staged": "^0.5.1",
218
218
  "istanbul": "^0.4.5",
219
219
  "istanbul-middleware": "^0.2.2",
220
220
  "license-checker": "^25.0.1",
221
- "lint-staged": "^15.5.2",
221
+ "lint-staged": "^16.3.3",
222
222
  "nodemon": "^3.1.14",
223
- "npm-check": "^5.9.0",
223
+ "npm-check": "^6.0.1",
224
224
  "npm-run-all": "^4.1.5",
225
225
  "nyc": "^15.1.0",
226
226
  "prettier": "^3.8.1",
227
- "prettier-config-standard": "^7.0.0"
227
+ "prettier-config-standard": "^7.0.0",
228
+ "turbo": "^2.8.17"
228
229
  },
229
230
  "repository": {
230
231
  "type": "git",
@@ -236,8 +237,6 @@
236
237
  "homepage": "https://addressr.io",
237
238
  "lint-staged": {
238
239
  "*.{js,jsx}": "eslint --fix",
239
- "*.{json,css,md}": "prettier --write",
240
- "*.{png,jpeg,jpg,gif,svg}": "imagemin-lint-staged",
241
- ".circleci/config.yml": "circleci config validate"
240
+ "*.{json,css,md}": "prettier --write"
242
241
  }
243
242
  }