@loopback/context 3.17.0 → 3.17.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/README.md CHANGED
@@ -90,7 +90,7 @@ For additional information, please refer to the
90
90
  ## Examples
91
91
 
92
92
  To learn more about advanced features, check out standalone examples at
93
- [`@loopback/example-context`](https://github.com/strongloop/loopback-next/tree/master/examples/context).
93
+ [`@loopback/example-context`](https://github.com/loopbackio/loopback-next/tree/master/examples/context).
94
94
 
95
95
  Use the following command to download the example project to try out:
96
96
 
@@ -100,8 +100,8 @@ lb4 example context
100
100
 
101
101
  ## Contributions
102
102
 
103
- - [Guidelines](https://github.com/strongloop/loopback-next/blob/master/docs/CONTRIBUTING.md)
104
- - [Join the team](https://github.com/strongloop/loopback-next/issues/110)
103
+ - [Guidelines](https://github.com/loopbackio/loopback-next/blob/master/docs/CONTRIBUTING.md)
104
+ - [Join the team](https://github.com/loopbackio/loopback-next/issues/110)
105
105
 
106
106
  ## Tests
107
107
 
@@ -110,7 +110,7 @@ Run `npm test` from the root folder.
110
110
  ## Contributors
111
111
 
112
112
  See
113
- [all contributors](https://github.com/strongloop/loopback-next/graphs/contributors).
113
+ [all contributors](https://github.com/loopbackio/loopback-next/graphs/contributors).
114
114
 
115
115
  ## License
116
116
 
@@ -22,7 +22,7 @@ function isBindingKey(selector) {
22
22
  function isBindingAddress(bindingSelector) {
23
23
  return (typeof bindingSelector !== 'function' &&
24
24
  (typeof bindingSelector === 'string' ||
25
- // See https://github.com/strongloop/loopback-next/issues/4570
25
+ // See https://github.com/loopbackio/loopback-next/issues/4570
26
26
  // `bindingSelector instanceof BindingKey` is not always reliable as the
27
27
  // `@loopback/context` module might be loaded from multiple locations if
28
28
  // `npm install` does not dedupe or there are mixed versions in the tree
package/dist/context.js CHANGED
@@ -58,7 +58,7 @@ class Context extends events_1.EventEmitter {
58
58
  // The number of listeners can grow with the number of child contexts
59
59
  // For example, each request can add a listener to the RestServer and the
60
60
  // listener is removed when the request processing is finished.
61
- // See https://github.com/strongloop/loopback-next/issues/4363
61
+ // See https://github.com/loopbackio/loopback-next/issues/4363
62
62
  this.setMaxListeners(Infinity);
63
63
  if (typeof _parent === 'string') {
64
64
  name = _parent;
package/dist/inject.js CHANGED
@@ -312,7 +312,7 @@ function shouldSkipBaseConstructorInjection(targetClass) {
312
312
  const classDef = targetClass.toString();
313
313
  return (
314
314
  /*
315
- * See https://github.com/strongloop/loopback-next/issues/2946
315
+ * See https://github.com/loopbackio/loopback-next/issues/2946
316
316
  * A class decorator can return a new constructor that mixes in
317
317
  * additional properties/methods.
318
318
  *
@@ -339,7 +339,7 @@ function shouldSkipBaseConstructorInjection(targetClass) {
339
339
  */
340
340
  !classDef.match(/\s+constructor\s*\(\s*\)\s*\{\s*super\(\.\.\.arguments\)/) &&
341
341
  /*
342
- * See https://github.com/strongloop/loopback-next/issues/1565
342
+ * See https://github.com/loopbackio/loopback-next/issues/1565
343
343
  *
344
344
  * @example
345
345
  * ```ts
@@ -205,7 +205,7 @@ function intercept(...interceptorOrKeys) {
205
205
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
206
206
  target, method,
207
207
  // Use `any` to for `TypedPropertyDescriptor`
208
- // See https://github.com/strongloop/loopback-next/pull/2704
208
+ // See https://github.com/loopbackio/loopback-next/pull/2704
209
209
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
210
210
  methodDescriptor) {
211
211
  if (method && methodDescriptor) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/context",
3
3
  "description": "Facilities to manage artifacts and their dependencies in your Node.js applications. The module exposes TypeScript/JavaScript APIs and decorators to register artifacts, declare dependencies, and resolve artifacts by keys. It also serves as an IoC container to support dependency injection",
4
- "version": "3.17.0",
4
+ "version": "3.17.1",
5
5
  "keywords": [
6
6
  "LoopBack",
7
7
  "IoC",
@@ -18,7 +18,7 @@
18
18
  "copyright.owner": "IBM Corp.",
19
19
  "repository": {
20
20
  "type": "git",
21
- "url": "https://github.com/strongloop/loopback-next.git",
21
+ "url": "https://github.com/loopbackio/loopback-next.git",
22
22
  "directory": "packages/context"
23
23
  },
24
24
  "engines": {
@@ -43,22 +43,22 @@
43
43
  "!*/__tests__"
44
44
  ],
45
45
  "dependencies": {
46
- "@loopback/metadata": "^3.3.1",
46
+ "@loopback/metadata": "^3.3.2",
47
47
  "@types/debug": "^4.1.5",
48
48
  "debug": "^4.3.1",
49
49
  "hyperid": "^2.1.0",
50
50
  "p-event": "^4.2.0",
51
- "tslib": "^2.2.0",
51
+ "tslib": "^2.3.0",
52
52
  "uuid": "^8.3.2"
53
53
  },
54
54
  "devDependencies": {
55
- "@loopback/build": "^6.4.1",
56
- "@loopback/eslint-config": "^10.2.1",
57
- "@loopback/testlab": "^3.4.1",
55
+ "@loopback/build": "^7.0.0",
56
+ "@loopback/eslint-config": "^11.0.0",
57
+ "@loopback/testlab": "^3.4.2",
58
58
  "@types/bluebird": "^3.5.35",
59
59
  "@types/node": "^10.17.60",
60
60
  "@types/uuid": "^8.3.0",
61
61
  "bluebird": "^3.7.2"
62
62
  },
63
- "gitHead": "2a3b684ec76fa299d80b099abbf101358538cb75"
63
+ "gitHead": "baac86fff18e0bc88a953814b6b181ebdbb446c3"
64
64
  }
@@ -72,7 +72,7 @@ export function isBindingAddress(
72
72
  return (
73
73
  typeof bindingSelector !== 'function' &&
74
74
  (typeof bindingSelector === 'string' ||
75
- // See https://github.com/strongloop/loopback-next/issues/4570
75
+ // See https://github.com/loopbackio/loopback-next/issues/4570
76
76
  // `bindingSelector instanceof BindingKey` is not always reliable as the
77
77
  // `@loopback/context` module might be loaded from multiple locations if
78
78
  // `npm install` does not dedupe or there are mixed versions in the tree
package/src/context.ts CHANGED
@@ -128,7 +128,7 @@ export class Context extends EventEmitter {
128
128
  // The number of listeners can grow with the number of child contexts
129
129
  // For example, each request can add a listener to the RestServer and the
130
130
  // listener is removed when the request processing is finished.
131
- // See https://github.com/strongloop/loopback-next/issues/4363
131
+ // See https://github.com/loopbackio/loopback-next/issues/4363
132
132
  this.setMaxListeners(Infinity);
133
133
  if (typeof _parent === 'string') {
134
134
  name = _parent;
package/src/inject.ts CHANGED
@@ -510,7 +510,7 @@ function shouldSkipBaseConstructorInjection(targetClass: Object) {
510
510
  const classDef = targetClass.toString();
511
511
  return (
512
512
  /*
513
- * See https://github.com/strongloop/loopback-next/issues/2946
513
+ * See https://github.com/loopbackio/loopback-next/issues/2946
514
514
  * A class decorator can return a new constructor that mixes in
515
515
  * additional properties/methods.
516
516
  *
@@ -539,7 +539,7 @@ function shouldSkipBaseConstructorInjection(targetClass: Object) {
539
539
  /\s+constructor\s*\(\s*\)\s*\{\s*super\(\.\.\.arguments\)/,
540
540
  ) &&
541
541
  /*
542
- * See https://github.com/strongloop/loopback-next/issues/1565
542
+ * See https://github.com/loopbackio/loopback-next/issues/1565
543
543
  *
544
544
  * @example
545
545
  * ```ts
@@ -287,7 +287,7 @@ export function intercept(...interceptorOrKeys: InterceptorOrKey[]) {
287
287
  target: any,
288
288
  method?: string,
289
289
  // Use `any` to for `TypedPropertyDescriptor`
290
- // See https://github.com/strongloop/loopback-next/pull/2704
290
+ // See https://github.com/loopbackio/loopback-next/pull/2704
291
291
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
292
292
  methodDescriptor?: TypedPropertyDescriptor<any>,
293
293
  ) {