@loopback/example-metrics-prometheus 0.9.1 → 0.10.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/CHANGELOG.md +30 -0
- package/LICENSE +1 -1
- package/dist/__tests__/integration/greeting-service.integration.js +1 -1
- package/dist/__tests__/integration/greeting-service.integration.js.map +1 -1
- package/dist/application.d.ts +1 -1
- package/dist/application.js +1 -1
- package/dist/application.js.map +1 -1
- package/dist/controllers/greeting.controller.js +10 -10
- package/dist/controllers/greeting.controller.js.map +1 -1
- package/dist/controllers/index.js +2 -2
- package/dist/controllers/index.js.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/services/greeting.service.js +2 -2
- package/dist/services/greeting.service.js.map +1 -1
- package/dist/services/index.js +2 -2
- package/dist/services/index.js.map +1 -1
- package/package.json +16 -16
- package/src/__tests__/integration/greeting-service.integration.ts +1 -1
- package/src/application.ts +1 -1
- package/src/controllers/greeting.controller.ts +1 -1
- package/src/controllers/index.ts +1 -1
- package/src/index.ts +1 -1
- package/src/services/greeting.service.ts +1 -1
- package/src/services/index.ts +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,36 @@
|
|
|
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
|
+
## [0.10.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-metrics-prometheus@0.10.0...@loopback/example-metrics-prometheus@0.10.1) (2022-06-13)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-metrics-prometheus
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.10.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-metrics-prometheus@0.9.2...@loopback/example-metrics-prometheus@0.10.0) (2022-05-05)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### ⚠ BREAKING CHANGES
|
|
18
|
+
|
|
19
|
+
* remove node v12 support
|
|
20
|
+
|
|
21
|
+
### Features
|
|
22
|
+
|
|
23
|
+
* add support for node v18 ([ccb4c61](https://github.com/loopbackio/loopback-next/commit/ccb4c61307d94ab7bb07a19c547dfc4fa7d388a8))
|
|
24
|
+
* remove node v12 support ([5f66e5b](https://github.com/loopbackio/loopback-next/commit/5f66e5bd288ba806b3aa6550fc29c5009de8b60d))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
## [0.9.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-metrics-prometheus@0.9.1...@loopback/example-metrics-prometheus@0.9.2) (2022-03-29)
|
|
29
|
+
|
|
30
|
+
**Note:** Version bump only for package @loopback/example-metrics-prometheus
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
6
36
|
## [0.9.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-metrics-prometheus@0.9.0...@loopback/example-metrics-prometheus@0.9.1) (2022-02-28)
|
|
7
37
|
|
|
8
38
|
**Note:** Version bump only for package @loopback/example-metrics-prometheus
|
package/LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeting-service.integration.js","sourceRoot":"","sources":["../../../src/__tests__/integration/greeting-service.integration.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"greeting-service.integration.js","sourceRoot":"","sources":["../../../src/__tests__/integration/greeting-service.integration.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;AAEhE,+CAK2B;AAC3B,6BAA0C;AAE1C,QAAQ,CAAC,qBAAqB,EAAE,GAAG,EAAE;IACnC,IAAI,GAAwB,CAAC;IAC7B,IAAI,MAAc,CAAC;IAEnB,MAAM,CAAC,8CAA8C,CAAC,CAAC;IACvD,KAAK,CAAC,GAAG,EAAE,CAAC,GAAG,CAAC,IAAI,EAAE,CAAC,CAAC;IAExB,MAAM,CAAC,GAAG,EAAE;QACV,MAAM,GAAG,IAAA,6BAAmB,EAAC,GAAG,CAAC,CAAC;IACpC,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,gBAAgB,EAAE,KAAK;QACxB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,gBAAgB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChE,IAAA,gBAAM,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC;QACvC,IAAA,gBAAM,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,gBAAgB,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,iBAAiB,EAAE,KAAK;QACzB,MAAM,QAAQ,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,UAAU,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAC1D,IAAA,gBAAM,EAAC,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,KAAK,CAC5B,iDAAiD,CAClD,CAAC;IACJ,CAAC,CAAC,CAAC;IAEH,KAAK,UAAU,8CAA8C;QAC3D,GAAG,GAAG,IAAI,uBAAmB,CAAC;YAC5B,IAAI,EAAE,IAAA,+BAAqB,GAAE;SAC9B,CAAC,CAAC;QAEH,oBAAoB;QACpB,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IACnB,CAAC;AACH,CAAC,CAAC,CAAC"}
|
package/dist/application.d.ts
CHANGED
|
@@ -86,7 +86,7 @@ declare const GreetingApplication_base: (new (...args: any[]) => {
|
|
|
86
86
|
listeners: (event: string | symbol) => Function[];
|
|
87
87
|
rawListeners: (event: string | symbol) => Function[];
|
|
88
88
|
emit: (event: string | symbol, ...args: any[]) => boolean;
|
|
89
|
-
listenerCount: (
|
|
89
|
+
listenerCount: (event: string | symbol) => number;
|
|
90
90
|
prependListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
91
91
|
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
92
92
|
eventNames: () => (string | symbol)[];
|
package/dist/application.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/application.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../src/application.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../src/application.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAyC;AAEzC,+CAAmD;AACnD,yCAA+C;AAE/C,MAAa,mBAAoB,SAAQ,IAAA,gBAAS,EAAC,sBAAe,CAAC;IACjE,YAAY,SAA4B,EAAE;QACxC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;QAC7B,IAAI,CAAC,SAAS,CAAC,0BAAgB,CAAC,CAAC;IACnC,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,IAAI,CAAC,IAAI,EAAE,CAAC;QAClB,MAAM,IAAI,CAAC,KAAK,EAAE,CAAC;IACrB,CAAC;CACF;AAXD,kDAWC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -21,17 +21,17 @@ let GreetingController = class GreetingController {
|
|
|
21
21
|
return Promise.all(tasks);
|
|
22
22
|
}
|
|
23
23
|
};
|
|
24
|
-
|
|
24
|
+
tslib_1.__decorate([
|
|
25
25
|
(0, rest_1.get)('/greet/{name}'),
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
tslib_1.__param(0, rest_1.param.path.string('name')),
|
|
27
|
+
tslib_1.__param(1, rest_1.param.query.number('count')),
|
|
28
|
+
tslib_1.__metadata("design:type", Function),
|
|
29
|
+
tslib_1.__metadata("design:paramtypes", [String, Object]),
|
|
30
|
+
tslib_1.__metadata("design:returntype", Promise)
|
|
31
31
|
], GreetingController.prototype, "greet", null);
|
|
32
|
-
GreetingController =
|
|
33
|
-
|
|
34
|
-
|
|
32
|
+
GreetingController = tslib_1.__decorate([
|
|
33
|
+
tslib_1.__param(0, (0, core_1.inject)('services.GreetingService', { asProxyWithInterceptors: true })),
|
|
34
|
+
tslib_1.__metadata("design:paramtypes", [services_1.GreetingService])
|
|
35
35
|
], GreetingController);
|
|
36
36
|
exports.GreetingController = GreetingController;
|
|
37
37
|
//# sourceMappingURL=greeting.controller.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeting.controller.js","sourceRoot":"","sources":["../../src/controllers/greeting.controller.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"greeting.controller.js","sourceRoot":"","sources":["../../src/controllers/greeting.controller.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAsC;AACtC,yCAA0C;AAC1C,0CAA4C;AAE5C,IAAa,kBAAkB,GAA/B,MAAa,kBAAkB;IAC7B,YAEU,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IACvC,CAAC;IAGJ,KAAK,CAAC,KAAK,CACkB,IAAY,EACV,QAAQ,CAAC;QAEtC,MAAM,KAAK,GAAsB,EAAE,CAAC;QACpC,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,KAAK,EAAE,CAAC,EAAE,EAAE;YAC9B,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,eAAe,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC,CAAC;SAC9C;QACD,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC5B,CAAC;CACF,CAAA;AAVC;IADC,IAAA,UAAG,EAAC,eAAe,CAAC;IAElB,mBAAA,YAAK,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,CAAA;IACzB,mBAAA,YAAK,CAAC,KAAK,CAAC,MAAM,CAAC,OAAO,CAAC,CAAA;;;;+CAO7B;AAhBU,kBAAkB;IAE1B,mBAAA,IAAA,aAAM,EAAC,0BAA0B,EAAE,EAAC,uBAAuB,EAAE,IAAI,EAAC,CAAC,CAAA;6CAC3C,0BAAe;GAH/B,kBAAkB,CAiB9B;AAjBY,gDAAkB"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const tslib_1 = require("tslib");
|
|
8
|
-
|
|
8
|
+
tslib_1.__exportStar(require("./greeting.controller"), exports);
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,gEAAsC"}
|
package/dist/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.main = void 0;
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
|
-
|
|
9
|
+
tslib_1.__exportStar(require("./application"), exports);
|
|
10
10
|
const application_1 = require("./application");
|
|
11
11
|
async function main() {
|
|
12
12
|
var _a, _b;
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,wDAA8B;AAE9B,+CAAkD;AAC3C,KAAK,UAAU,IAAI;;IACxB,MAAM,MAAM,GAAG;QACb,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,mCAAI,IAAI,CAAC;YACjC,IAAI,EAAE,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,mCAAI,WAAW;YACrC,WAAW,EAAE;gBACX,sEAAsE;gBACtE,qBAAqB,EAAE,IAAI;aAC5B;SACF;KACF,CAAC;IACF,MAAM,GAAG,GAAG,IAAI,iCAAmB,CAAC,MAAM,CAAC,CAAC;IAC5C,MAAM,GAAG,CAAC,IAAI,EAAE,CAAC;IACjB,MAAM,GAAG,GAAG,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC;IAC/B,OAAO,CAAC,GAAG,CAAC,kCAAkC,GAAG,uBAAuB,CAAC,CAAC;IAC1E,OAAO,CAAC,GAAG,CAAC,yBAAyB,GAAG,UAAU,CAAC,CAAC;AACtD,CAAC;AAhBD,oBAgBC;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE;IAC3B,IAAI,EAAE,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACjB,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE,GAAG,CAAC,CAAC;QACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;CACJ"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -18,7 +18,7 @@ let GreetingService = class GreetingService {
|
|
|
18
18
|
return `[${ts}: ${delayInMs}] Hello, ${name}`;
|
|
19
19
|
}
|
|
20
20
|
};
|
|
21
|
-
GreetingService =
|
|
21
|
+
GreetingService = tslib_1.__decorate([
|
|
22
22
|
(0, core_1.injectable)({ tags: { [core_1.ContextTags.NAMESPACE]: 'services' } })
|
|
23
23
|
], GreetingService);
|
|
24
24
|
exports.GreetingService = GreetingService;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"greeting.service.js","sourceRoot":"","sources":["../../src/services/greeting.service.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"greeting.service.js","sourceRoot":"","sources":["../../src/services/greeting.service.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAuD;AACvD,+BAA+B;AAC/B,MAAM,KAAK,GAAG,IAAA,gBAAS,EAAC,UAAU,CAAC,CAAC;AAGpC,IAAa,eAAe,GAA5B,MAAa,eAAe;IAC1B,KAAK,CAAC,KAAK,CAAC,IAAY;QACtB,MAAM,EAAE,GAAG,IAAI,IAAI,EAAE,CAAC,WAAW,EAAE,CAAC;QACpC,kDAAkD;QAClD,MAAM,SAAS,GAAG,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,GAAG,GAAG,CAAC,CAAC;QAClD,MAAM,KAAK,CAAC,SAAS,CAAC,CAAC;QACvB,OAAO,IAAI,EAAE,KAAK,SAAS,YAAY,IAAI,EAAE,CAAC;IAChD,CAAC;CACF,CAAA;AARY,eAAe;IAD3B,IAAA,iBAAU,EAAC,EAAC,IAAI,EAAE,EAAC,CAAC,kBAAW,CAAC,SAAS,CAAC,EAAE,UAAU,EAAC,EAAC,CAAC;GAC7C,eAAe,CAQ3B;AARY,0CAAe"}
|
package/dist/services/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-metrics-prometheus
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const tslib_1 = require("tslib");
|
|
8
|
-
|
|
8
|
+
tslib_1.__exportStar(require("./greeting.service"), exports);
|
|
9
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/services/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,oDAAoD;AACpD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,6DAAmC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-metrics-prometheus",
|
|
3
3
|
"description": "An example to illustrate metrics provided by @loopback/metrics and Prometheus",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.10.1",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback",
|
|
7
7
|
"LoopBack",
|
|
@@ -11,15 +11,15 @@
|
|
|
11
11
|
"license": "MIT",
|
|
12
12
|
"main": "dist/index.js",
|
|
13
13
|
"types": "dist/index.d.ts",
|
|
14
|
-
"author": "IBM Corp.",
|
|
15
|
-
"copyright.owner": "IBM Corp.",
|
|
14
|
+
"author": "IBM Corp. and LoopBack contributors",
|
|
15
|
+
"copyright.owner": "IBM Corp. and LoopBack contributors",
|
|
16
16
|
"repository": {
|
|
17
17
|
"type": "git",
|
|
18
18
|
"url": "https://github.com/loopbackio/loopback-next.git",
|
|
19
19
|
"directory": "examples/metrics-prometheus"
|
|
20
20
|
},
|
|
21
21
|
"engines": {
|
|
22
|
-
"node": "
|
|
22
|
+
"node": "14 || 16 || 17 || 18"
|
|
23
23
|
},
|
|
24
24
|
"scripts": {
|
|
25
25
|
"acceptance": "lb-mocha \"dist/__tests__/acceptance/**/*.js\"",
|
|
@@ -47,19 +47,19 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@loopback/boot": "^
|
|
51
|
-
"@loopback/core": "^
|
|
52
|
-
"@loopback/metrics": "^0.
|
|
53
|
-
"@loopback/rest": "^
|
|
54
|
-
"tslib": "^2.
|
|
50
|
+
"@loopback/boot": "^5.0.1",
|
|
51
|
+
"@loopback/core": "^4.0.1",
|
|
52
|
+
"@loopback/metrics": "^0.11.1",
|
|
53
|
+
"@loopback/rest": "^12.0.1",
|
|
54
|
+
"tslib": "^2.4.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@loopback/build": "^
|
|
58
|
-
"@loopback/eslint-config": "^
|
|
59
|
-
"@loopback/testlab": "^
|
|
60
|
-
"@types/node": "^
|
|
61
|
-
"eslint": "^8.
|
|
62
|
-
"typescript": "~4.
|
|
57
|
+
"@loopback/build": "^9.0.1",
|
|
58
|
+
"@loopback/eslint-config": "^13.0.1",
|
|
59
|
+
"@loopback/testlab": "^5.0.1",
|
|
60
|
+
"@types/node": "^14.18.21",
|
|
61
|
+
"eslint": "^8.17.0",
|
|
62
|
+
"typescript": "~4.7.3"
|
|
63
63
|
},
|
|
64
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "ccf7863d0639de966d6c6129b4aa94ba1dce2c33"
|
|
65
65
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/application.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/controllers/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/services/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-metrics-prometheus
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|