@coasys/ad4m 0.10.0-rc6.fix1 → 0.10.0-rc6.fix2

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/lib/index.cjs CHANGED
@@ -4963,7 +4963,7 @@ class PerspectiveProxy {
4963
4963
  buildQueryFromTemplate(obj) {
4964
4964
  let result;
4965
4965
  // We need to avoid strict mode for the following intropsective code
4966
- (function () {
4966
+ (function (obj) {
4967
4967
  // Collect all string properties of the object in a list
4968
4968
  let properties = [];
4969
4969
  // Collect all collections of the object in a list
@@ -5023,7 +5023,7 @@ class PerspectiveProxy {
5023
5023
  }
5024
5024
  query += ".";
5025
5025
  result = query;
5026
- }());
5026
+ }(obj));
5027
5027
  return result;
5028
5028
  }
5029
5029
  /** Returns all subject classes that match the given template object.
package/lib/index.js CHANGED
@@ -4959,7 +4959,7 @@ class PerspectiveProxy {
4959
4959
  buildQueryFromTemplate(obj) {
4960
4960
  let result;
4961
4961
  // We need to avoid strict mode for the following intropsective code
4962
- (function () {
4962
+ (function (obj) {
4963
4963
  // Collect all string properties of the object in a list
4964
4964
  let properties = [];
4965
4965
  // Collect all collections of the object in a list
@@ -5019,7 +5019,7 @@ class PerspectiveProxy {
5019
5019
  }
5020
5020
  query += ".";
5021
5021
  result = query;
5022
- }());
5022
+ }(obj));
5023
5023
  return result;
5024
5024
  }
5025
5025
  /** Returns all subject classes that match the given template object.
@@ -370,7 +370,7 @@ export class PerspectiveProxy {
370
370
  buildQueryFromTemplate(obj) {
371
371
  let result;
372
372
  // We need to avoid strict mode for the following intropsective code
373
- (function () {
373
+ (function (obj) {
374
374
  // Collect all string properties of the object in a list
375
375
  let properties = [];
376
376
  // Collect all collections of the object in a list
@@ -430,7 +430,7 @@ export class PerspectiveProxy {
430
430
  }
431
431
  query += ".";
432
432
  result = query;
433
- }());
433
+ }(obj));
434
434
  return result;
435
435
  }
436
436
  /** Returns all subject classes that match the given template object.
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "module": "lib/index.js",
6
6
  "types": "lib/src/index.d.ts",
7
7
  "type": "module",
8
-
8
+
9
9
  "scripts": {
10
10
  "build": "patch-package && tsc && pnpm run buildSchema && pnpm run bundle",
11
11
  "buildSchema": "node --es-module-specifier-resolution=node lib/src/buildSchema.js",
@@ -60,7 +60,7 @@
60
60
  "@types/yargs": "*"
61
61
  },
62
62
  "patchedDependencies": {},
63
- "version": "0.10.0-rc6.fix1",
63
+ "version": "0.10.0-rc6.fix2",
64
64
  "pnpm": {
65
65
  "patchedDependencies": {
66
66
  "graphql@15.7.2": "patches/graphql@15.7.2.patch"
@@ -434,7 +434,7 @@ export class PerspectiveProxy {
434
434
  private buildQueryFromTemplate(obj: object): string {
435
435
  let result
436
436
  // We need to avoid strict mode for the following intropsective code
437
- (function() {
437
+ (function(obj) {
438
438
  // Collect all string properties of the object in a list
439
439
  let properties = []
440
440
 
@@ -505,7 +505,7 @@ export class PerspectiveProxy {
505
505
 
506
506
  query += "."
507
507
  result = query
508
- }())
508
+ }(obj))
509
509
  return result
510
510
  }
511
511