@loopback/example-todo 7.1.3 → 7.1.5
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/CHANGELOG.md +19 -0
- package/dist/__tests__/.http-cache/content-v2/sha512/8e/43/e94942945d21ca6484bc81dd45fcd80f173cdf6ad2fc41d1e257dfd2bb5e954cb3b09625a0824257f90f4bb9277e98ffd4863d80ec5dbcfdf07e3d85b1f3 +1 -0
- package/dist/__tests__/.http-cache/content-v2/sha512/bc/f2/acb7bc6b1b8608c819a56bd75fad29f888bb63792a8ef668e0c3fddae9adea3a4a576f47533c60e4cb5bebff8774907d596eacde9cbd9011be41da13f837 +1 -0
- package/dist/__tests__/.http-cache/index-v5/aa/8c/4c46dde270664199f12b62caf43bb1312fcc7fa68d4bfa1f059926d4a7fc +3 -0
- package/dist/__tests__/.http-cache/index-v5/e0/02/a74f0e3768a83cd7c38f719da156961f4aaa49febea917c0da9f9dfd779f +2 -0
- package/dist/__tests__/helpers.js +1 -1
- package/dist/__tests__/helpers.js.map +1 -1
- package/package.json +16 -16
- package/src/__tests__/helpers.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [7.1.5](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@7.1.4...@loopback/example-todo@7.1.5) (2024-01-11)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-todo
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [7.1.4](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@7.1.3...@loopback/example-todo@7.1.4) (2023-12-12)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* updating the geopoint as per census bureau update ([e0f7b2d](https://github.com/loopbackio/loopback-next/commit/e0f7b2d03b4e42917099f2744b515f052a68ec75))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [7.1.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@7.1.2...@loopback/example-todo@7.1.3) (2023-09-12)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @loopback/example-todo
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"result":{"input":{"address":{"address":"this address does not exist"},"benchmark":{"isDefault":true,"benchmarkDescription":"Public Address Ranges - Current Benchmark","id":"4","benchmarkName":"Public_AR_Current"}},"addressMatches":[]}}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"result":{"input":{"address":{"address":"1 New Orchard Road, Armonk, 10504"},"benchmark":{"isDefault":true,"benchmarkDescription":"Public Address Ranges - Current Benchmark","id":"4","benchmarkName":"Public_AR_Current"}},"addressMatches":[{"tigerLine":{"side":"L","tigerLineId":"139823557"},"coordinates":{"x":-73.7246203180502,"y":41.1097283577486},"addressComponents":{"zip":"10504","streetName":"NEW ORCHARD","preType":"","city":"ARMONK","preDirection":"","suffixDirection":"","fromAddress":"1","state":"NY","suffixType":"RD","toAddress":"99","suffixQualifier":"","preQualifier":""},"matchedAddress":"1 NEW ORCHARD RD, ARMONK, NY, 10504"}]}}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
|
|
2
|
+
fcc19bf15df74499d63dd993f7b1c860ccd5574e {"key":"GET https://geocoding.geo.census.gov/geocoder/locations/onelineaddress?format=json&benchmark=Public_AR_Current&address=1%20New%20Orchard%20Road%2C%20Armonk%2C%2010504","integrity":"sha512-vPKst7xrG4YIyBmla9dfrSn4iLtjeSqO9mjgw/3a6a3qOkpXb0dTPGDky1vr/4d0kH1ZbqzenL2QEb5B2hP4Nw==","time":1705000525548,"size":645,"metadata":{"statusCode":200,"headers":{"date":"Thu, 11 Jan 2024 19:15:25 GMT","content-type":"application/json","connection":"close","x-frame-options":"Deny","cache-control":"private, no-store","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-xss-protection":"1;mode=block","vary":"Origin","set-cookie":"TS0193e6a1=01283c52a4850efcff3329c0d6e06eaf1b8c55e54a0e18478054145e10eb982c882eff0fc02162524f6c66df67abf07fbe25edf891; Path=/; Domain=.geocoding.geo.census.gov"},"createdAt":1705000525535}}
|
|
3
|
+
b65acb4185e5a505b42bed3fa04f7b442388598f {"key":"GET https://geocoding.geo.census.gov/geocoder/locations/onelineaddress?format=json&benchmark=Public_AR_Current&address=1%20New%20Orchard%20Road%2C%20Armonk%2C%2010504","integrity":"sha512-vPKst7xrG4YIyBmla9dfrSn4iLtjeSqO9mjgw/3a6a3qOkpXb0dTPGDky1vr/4d0kH1ZbqzenL2QEb5B2hP4Nw==","time":1705000525550,"size":645,"metadata":{"statusCode":200,"headers":{"date":"Thu, 11 Jan 2024 19:15:25 GMT","content-type":"application/json","connection":"close","x-frame-options":"Deny","cache-control":"private, no-store","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-xss-protection":"1;mode=block","vary":"Origin","set-cookie":"TS0193e6a1=01283c52a4aaf6e321644467d1d1d9e8b61ff8240cc5edd0e68222801a262fbe06b2ded2a2a7d73dcaaf8e483de4e86f82f63f5477; Path=/; Domain=.geocoding.geo.census.gov"},"createdAt":1705000525535}}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
|
|
2
|
+
bec2f07917f3ddc14036653a01ec1d091cb144db {"key":"GET https://geocoding.geo.census.gov/geocoder/locations/onelineaddress?format=json&benchmark=Public_AR_Current&address=this%20address%20does%20not%20exist","integrity":"sha512-jkPpSUKUXSHKZIS8gd1F/NgPFzzfatL8QdHiV9/Su16VTLOwliWggkJX+Q9LuSd+mP/Uhj2A7F28/fB+PYWx8w==","time":1705000525895,"size":237,"metadata":{"statusCode":200,"headers":{"date":"Thu, 11 Jan 2024 19:15:25 GMT","content-type":"application/json","connection":"close","x-frame-options":"Deny","cache-control":"private, no-store","strict-transport-security":"max-age=31536000","x-content-type-options":"nosniff","x-xss-protection":"1;mode=block","vary":"Origin","set-cookie":"TS0193e6a1=01283c52a447ad237ecade43d61b93d8f225b6d073a0afbf41e836a4917ac63536666fc39ea3d53cc5ae2e11e08e8ae81639c8fc42; Path=/; Domain=.geocoding.geo.census.gov"},"createdAt":1705000525890}}
|
|
@@ -47,7 +47,7 @@ function givenTodo(todo) {
|
|
|
47
47
|
exports.givenTodo = givenTodo;
|
|
48
48
|
exports.aLocation = {
|
|
49
49
|
address: '1 New Orchard Road, Armonk, 10504',
|
|
50
|
-
geopoint: { y: 41.
|
|
50
|
+
geopoint: { y: 41.1097283577486, x: -73.7246203180502 },
|
|
51
51
|
get geostring() {
|
|
52
52
|
return `${this.geopoint.y},${this.geopoint.x}`;
|
|
53
53
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.js","sourceRoot":"","sources":["../../src/__tests__/helpers.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,sCAAsC;AACtC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,qEAA8D;AA4DtD,iGA5DA,qCAAgB,OA4DA;AA3DxB,mCAA6B;AAC7B,wDAAwB;AACxB,gDAAkD;AAClD,sCAA+B;AAG/B;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,SAAgB,SAAS,CAAC,IAAoB;IAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CACxB;QACE,KAAK,EAAE,YAAY;QACnB,IAAI,EAAE,uCAAuC;QAC7C,UAAU,EAAE,KAAK;KAClB,EACD,IAAI,CACL,CAAC;IACF,OAAO,IAAI,aAAI,CAAC,IAAI,CAAC,CAAC;AACxB,CAAC;AAVD,8BAUC;AAEY,QAAA,SAAS,GAAG;IACvB,OAAO,EAAE,mCAAmC;IAC5C,QAAQ,EAAY,EAAC,CAAC,EAAE,
|
|
1
|
+
{"version":3,"file":"helpers.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AM,KAAK,CAAC,KAAK,EAAE,CAAC;IACpB,OAAO,KAAK,CAAC;AACf,CAAC;AARD,8CAQC;AAEM,KAAK,UAAU,0BAA0B,CAAC,OAAiB;IAChE,IAAI;QACF,MAAM,OAAO,CAAC,OAAO,CAAC,iBAAS,CAAC,OAAO,CAAC,CAAC;QACzC,OAAO,IAAI,CAAC;KACb;IAAC,OAAO,GAAG,EAAE;QACZ,IAAI,GAAG,CAAC,UAAU,KAAK,GAAG,EAAE;YAC1B,OAAO,KAAK,CAAC;SACd;QACD,MAAM,GAAG,CAAC;KACX;AACH,CAAC;AAVD,gEAUC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-todo",
|
|
3
3
|
"description": "Tutorial example on how to build an application with LoopBack 4",
|
|
4
|
-
"version": "7.1.
|
|
4
|
+
"version": "7.1.5",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback",
|
|
7
7
|
"LoopBack",
|
|
@@ -51,27 +51,27 @@
|
|
|
51
51
|
"access": "public"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@loopback/boot": "^6.1.
|
|
55
|
-
"@loopback/core": "^5.1.
|
|
56
|
-
"@loopback/repository": "^6.1.
|
|
57
|
-
"@loopback/rest": "^13.1.
|
|
58
|
-
"@loopback/rest-explorer": "^6.1.
|
|
59
|
-
"@loopback/service-proxy": "^6.1.
|
|
54
|
+
"@loopback/boot": "^6.1.5",
|
|
55
|
+
"@loopback/core": "^5.1.5",
|
|
56
|
+
"@loopback/repository": "^6.1.5",
|
|
57
|
+
"@loopback/rest": "^13.1.5",
|
|
58
|
+
"@loopback/rest-explorer": "^6.1.5",
|
|
59
|
+
"@loopback/service-proxy": "^6.1.5",
|
|
60
60
|
"loopback-connector-rest": "^4.0.3",
|
|
61
61
|
"morgan": "^1.10.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@loopback/build": "^10.1.
|
|
66
|
-
"@loopback/eslint-config": "^14.0.
|
|
67
|
-
"@loopback/http-caching-proxy": "^5.1.
|
|
68
|
-
"@loopback/testlab": "^6.1.
|
|
69
|
-
"@types/lodash": "^4.14.
|
|
70
|
-
"@types/morgan": "^1.9.
|
|
71
|
-
"@types/node": "^16.18.
|
|
72
|
-
"eslint": "^8.
|
|
65
|
+
"@loopback/build": "^10.1.5",
|
|
66
|
+
"@loopback/eslint-config": "^14.0.5",
|
|
67
|
+
"@loopback/http-caching-proxy": "^5.1.5",
|
|
68
|
+
"@loopback/testlab": "^6.1.5",
|
|
69
|
+
"@types/lodash": "^4.14.202",
|
|
70
|
+
"@types/morgan": "^1.9.9",
|
|
71
|
+
"@types/node": "^16.18.70",
|
|
72
|
+
"eslint": "^8.51.0",
|
|
73
73
|
"lodash": "^4.17.21",
|
|
74
74
|
"typescript": "~5.2.2"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
|
|
77
77
|
}
|
package/src/__tests__/helpers.ts
CHANGED
|
@@ -48,7 +48,7 @@ export function givenTodo(todo?: Partial<Todo>) {
|
|
|
48
48
|
|
|
49
49
|
export const aLocation = {
|
|
50
50
|
address: '1 New Orchard Road, Armonk, 10504',
|
|
51
|
-
geopoint: <GeoPoint>{y: 41.
|
|
51
|
+
geopoint: <GeoPoint>{y: 41.1097283577486, x: -73.7246203180502},
|
|
52
52
|
get geostring() {
|
|
53
53
|
return `${this.geopoint.y},${this.geopoint.x}`;
|
|
54
54
|
},
|