@loopback/example-todo 8.0.7 → 8.1.0
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/.editorconfig +9 -0
- package/CHANGELOG.md +24 -0
- package/dist/__tests__/.http-cache/content-v2/sha512/d5/21/f5cc59cd7d11d80b2361310945f640fb6ccf9c4c8c130e478184639c2eb3ea65c25e2bd0afeb572083fe05baeb131b5897c2d84fbdd6406fc0a03753343c +1 -0
- package/dist/__tests__/.http-cache/index-v5/aa/8c/4c46dde270664199f12b62caf43bb1312fcc7fa68d4bfa1f059926d4a7fc +2 -2
- package/dist/__tests__/.http-cache/index-v5/e0/02/a74f0e3768a83cd7c38f719da156961f4aaa49febea917c0da9f9dfd779f +1 -1
- package/dist/__tests__/helpers.js +1 -1
- package/dist/__tests__/helpers.js.map +1 -1
- package/package.json +14 -14
- package/src/__tests__/helpers.ts +1 -1
- package/dist/__tests__/.http-cache/content-v2/sha512/bc/f2/acb7bc6b1b8608c819a56bd75fad29f888bb63792a8ef668e0c3fddae9adea3a4a576f47533c60e4cb5bebff8774907d596eacde9cbd9011be41da13f837 +0 -1
package/.editorconfig
ADDED
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
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
|
+
# [8.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@8.0.8...@loopback/example-todo@8.1.0) (2024-12-12)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* update geopoint data in tests ([c2441cb](https://github.com/loopbackio/loopback-next/commit/c2441cbd77f8db55db6757f20576a5bde11b5c78))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
### Features
|
|
15
|
+
|
|
16
|
+
* **cli:** add EditorConfig files to project template ([b6d82f9](https://github.com/loopbackio/loopback-next/commit/b6d82f950cb441061de895d4cdf3a0b92c859bec))
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [8.0.8](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@8.0.7...@loopback/example-todo@8.0.8) (2024-11-18)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @loopback/example-todo
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [8.0.7](https://github.com/loopbackio/loopback-next/compare/@loopback/example-todo@8.0.6...@loopback/example-todo@8.0.7) (2024-10-15)
|
|
7
31
|
|
|
8
32
|
**Note:** Version bump only for package @loopback/example-todo
|
|
@@ -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.72462031805,"y":41.109728357749},"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"}]}}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
42c6ad7c59bbf16504a56a4b0e561c9693ed2c99 {"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-1SH1zFnNfRHYCyNhMQlF9kD7bM+cTIwTDkeBhGOcLrPqZcJeK9Cv61cgg/4FuusTG1iXwthPvdZAb8CgN1M0PA==","time":1734012367918,"size":642,"metadata":{"statusCode":200,"headers":{"date":"Thu, 12 Dec 2024 14:06:07 GMT","content-type":"application/json","connection":"keep-alive","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=01283c52a4649b3b561a3783909752ec2edcb87969a0da36a55010d299e8a39b4946250b06a1807a6c03eda6b3a086c0917cb49817; Path=/; Domain=.geocoding.geo.census.gov; Secure; HttpOnly;"},"createdAt":1734012367907}}
|
|
3
|
+
206f3448a5bc7a32c4eeb81d39f91082a8cacffb {"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-1SH1zFnNfRHYCyNhMQlF9kD7bM+cTIwTDkeBhGOcLrPqZcJeK9Cv61cgg/4FuusTG1iXwthPvdZAb8CgN1M0PA==","time":1734012367919,"size":642,"metadata":{"statusCode":200,"headers":{"date":"Thu, 12 Dec 2024 14:06:07 GMT","content-type":"application/json","connection":"keep-alive","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=01283c52a45186bc6568c37ab7a63ef900288e65160c1c2bdcc33e778ee3c0065285204d834f733cf510adc063a14090825d45b243; Path=/; Domain=.geocoding.geo.census.gov; Secure; HttpOnly;"},"createdAt":1734012367913}}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
|
|
2
|
-
|
|
2
|
+
90b0032b9269650a5481eb4230999f80440a397d {"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":1734012368111,"size":237,"metadata":{"statusCode":200,"headers":{"date":"Thu, 12 Dec 2024 14:06:08 GMT","content-type":"application/json","connection":"keep-alive","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=01283c52a43024e4974c818567826d3526faf166f644960dafd34e98a8db71479cdefc821948187c50653e73f9de398e60391dcd30; Path=/; Domain=.geocoding.geo.census.gov; Secure; HttpOnly;"},"createdAt":1734012368105}}
|
|
@@ -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.109728357749, x: -73.72462031805 },
|
|
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,mCAA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,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,IAAI;KACd,CAAC,CAAC;IACH,MAAM,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": "8.0
|
|
4
|
+
"version": "8.1.0",
|
|
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": "^7.0.
|
|
55
|
-
"@loopback/core": "^6.1.
|
|
56
|
-
"@loopback/repository": "^7.0.
|
|
57
|
-
"@loopback/rest": "^14.0.
|
|
58
|
-
"@loopback/rest-explorer": "^7.0.
|
|
59
|
-
"@loopback/service-proxy": "^7.0.
|
|
60
|
-
"loopback-connector-rest": "^5.0.
|
|
54
|
+
"@loopback/boot": "^7.0.9",
|
|
55
|
+
"@loopback/core": "^6.1.6",
|
|
56
|
+
"@loopback/repository": "^7.0.9",
|
|
57
|
+
"@loopback/rest": "^14.0.9",
|
|
58
|
+
"@loopback/rest-explorer": "^7.0.9",
|
|
59
|
+
"@loopback/service-proxy": "^7.0.9",
|
|
60
|
+
"loopback-connector-rest": "^5.0.2",
|
|
61
61
|
"morgan": "^1.10.0",
|
|
62
62
|
"tslib": "^2.6.3"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|
|
65
|
-
"@loopback/build": "^11.0.
|
|
65
|
+
"@loopback/build": "^11.0.8",
|
|
66
66
|
"@loopback/eslint-config": "^15.0.4",
|
|
67
|
-
"@loopback/http-caching-proxy": "^6.0.
|
|
68
|
-
"@loopback/testlab": "^7.0.
|
|
69
|
-
"@types/lodash": "^4.17.
|
|
67
|
+
"@loopback/http-caching-proxy": "^6.0.9",
|
|
68
|
+
"@loopback/testlab": "^7.0.8",
|
|
69
|
+
"@types/lodash": "^4.17.13",
|
|
70
70
|
"@types/morgan": "^1.9.9",
|
|
71
|
-
"@types/node": "^16.18.
|
|
71
|
+
"@types/node": "^16.18.119",
|
|
72
72
|
"eslint": "^8.57.0",
|
|
73
73
|
"lodash": "^4.17.21",
|
|
74
74
|
"typescript": "~5.2.2"
|
|
75
75
|
},
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "cf286d032ca80729a8c7cb7bf90bb8fac7ddd50b"
|
|
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.109728357749, x: -73.72462031805},
|
|
52
52
|
get geostring() {
|
|
53
53
|
return `${this.geopoint.y},${this.geopoint.x}`;
|
|
54
54
|
},
|
|
@@ -1 +0,0 @@
|
|
|
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"}]}}
|