@loopback/repository 3.7.0 → 3.7.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
@@ -157,8 +157,8 @@ export class RepoApplication extends BootMixin(
157
157
 
158
158
  ## Contributions
159
159
 
160
- - [Guidelines](https://github.com/strongloop/loopback-next/blob/master/docs/CONTRIBUTING.md)
161
- - [Join the team](https://github.com/strongloop/loopback-next/issues/110)
160
+ - [Guidelines](https://github.com/loopbackio/loopback-next/blob/master/docs/CONTRIBUTING.md)
161
+ - [Join the team](https://github.com/loopbackio/loopback-next/issues/110)
162
162
 
163
163
  ## Tests
164
164
 
@@ -167,7 +167,7 @@ Run `npm test` from the root folder.
167
167
  ## Contributors
168
168
 
169
169
  See
170
- [all contributors](https://github.com/strongloop/loopback-next/graphs/contributors).
170
+ [all contributors](https://github.com/loopbackio/loopback-next/graphs/contributors).
171
171
 
172
172
  ## License
173
173
 
@@ -19,7 +19,7 @@ class ModelMetadataHelper {
19
19
  */
20
20
  static getModelMetadata(target, options) {
21
21
  const classDef = core_1.MetadataInspector.getClassMetadata(model_decorator_1.MODEL_WITH_PROPERTIES_KEY, target,
22
- // https://github.com/strongloop/loopback-next/issues/4721
22
+ // https://github.com/loopbackio/loopback-next/issues/4721
23
23
  // The `target` can be a subclass for a base model
24
24
  { ...options, ownMetadataOnly: true });
25
25
  // Return the cached value, if it exists.
package/dist/model.d.ts CHANGED
@@ -56,7 +56,7 @@ export interface ModelSettings {
56
56
  [name: string]: any;
57
57
  }
58
58
  /**
59
- * See https://github.com/strongloop/loopback-datasource-juggler/issues/432
59
+ * See https://github.com/loopbackio/loopback-datasource-juggler/issues/432
60
60
  */
61
61
  export interface PropertyForm {
62
62
  in?: boolean;
@@ -24,7 +24,7 @@ function createBelongsToAccessor(belongsToMetadata, targetRepoGetter, sourceRepo
24
24
  const foreignKeyValue = sourceModel[foreignKey];
25
25
  // workaround to check referential integrity.
26
26
  // should be removed once the memory connector ref integrity is done
27
- // GH issue: https://github.com/strongloop/loopback-next/issues/2333
27
+ // GH issue: https://github.com/loopbackio/loopback-next/issues/2333
28
28
  if (!foreignKeyValue) {
29
29
  return undefined;
30
30
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/repository",
3
3
  "description": "Define and implement a common set of interfaces for interacting with databases",
4
- "version": "3.7.0",
4
+ "version": "3.7.1",
5
5
  "license": "MIT",
6
6
  "main": "dist/index.js",
7
7
  "types": "dist/index.d.ts",
@@ -9,7 +9,7 @@
9
9
  "copyright.owner": "IBM Corp.",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "https://github.com/strongloop/loopback-next.git",
12
+ "url": "https://github.com/loopbackio/loopback-next.git",
13
13
  "directory": "packages/repository"
14
14
  },
15
15
  "engines": {
@@ -33,26 +33,26 @@
33
33
  "!*/__tests__"
34
34
  ],
35
35
  "peerDependencies": {
36
- "@loopback/core": "^2.16.1"
36
+ "@loopback/core": "^2.16.2"
37
37
  },
38
38
  "dependencies": {
39
- "@loopback/filter": "^1.5.1",
39
+ "@loopback/filter": "^1.5.2",
40
40
  "@types/debug": "^4.1.5",
41
41
  "debug": "^4.3.1",
42
42
  "lodash": "^4.17.21",
43
43
  "loopback-datasource-juggler": "^4.26.0",
44
- "tslib": "^2.2.0"
44
+ "tslib": "^2.3.0"
45
45
  },
46
46
  "devDependencies": {
47
- "@loopback/build": "^6.4.1",
48
- "@loopback/core": "^2.16.1",
49
- "@loopback/eslint-config": "^10.2.1",
50
- "@loopback/testlab": "^3.4.1",
47
+ "@loopback/build": "^7.0.0",
48
+ "@loopback/core": "^2.16.2",
49
+ "@loopback/eslint-config": "^11.0.0",
50
+ "@loopback/testlab": "^3.4.2",
51
51
  "@types/bson": "^4.0.3",
52
52
  "@types/json-schema": "^7.0.7",
53
53
  "@types/lodash": "^4.14.170",
54
54
  "@types/node": "^10.17.60",
55
55
  "bson": "4.4.0"
56
56
  },
57
- "gitHead": "2a3b684ec76fa299d80b099abbf101358538cb75"
57
+ "gitHead": "baac86fff18e0bc88a953814b6b181ebdbb446c3"
58
58
  }
@@ -28,7 +28,7 @@ export class ModelMetadataHelper {
28
28
  const classDef = MetadataInspector.getClassMetadata(
29
29
  MODEL_WITH_PROPERTIES_KEY,
30
30
  target,
31
- // https://github.com/strongloop/loopback-next/issues/4721
31
+ // https://github.com/loopbackio/loopback-next/issues/4721
32
32
  // The `target` can be a subclass for a base model
33
33
  {...options, ownMetadataOnly: true},
34
34
  );
package/src/model.ts CHANGED
@@ -83,7 +83,7 @@ export interface ModelSettings {
83
83
  }
84
84
 
85
85
  /**
86
- * See https://github.com/strongloop/loopback-datasource-juggler/issues/432
86
+ * See https://github.com/loopbackio/loopback-datasource-juggler/issues/432
87
87
  */
88
88
  export interface PropertyForm {
89
89
  in?: boolean; // Can the property be used for input
@@ -53,7 +53,7 @@ export function createBelongsToAccessor<
53
53
  const foreignKeyValue = sourceModel[foreignKey as keyof Source];
54
54
  // workaround to check referential integrity.
55
55
  // should be removed once the memory connector ref integrity is done
56
- // GH issue: https://github.com/strongloop/loopback-next/issues/2333
56
+ // GH issue: https://github.com/loopbackio/loopback-next/issues/2333
57
57
  if (!foreignKeyValue) {
58
58
  return undefined as unknown as Target;
59
59
  }