@comunica/bus-query-operation
Advanced tools
Comparing version 2.6.8 to 2.6.11-alpha.40.0
@@ -80,4 +80,15 @@ "use strict"; | ||
let lastReturn; | ||
// eslint-disable-next-line no-return-assign,@typescript-eslint/no-misused-promises | ||
return () => (lastReturn || (lastReturn = metadata())); | ||
return () => { | ||
if (!lastReturn) { | ||
lastReturn = metadata(); | ||
lastReturn | ||
.then(lastReturnValue => lastReturnValue.state.addInvalidateListener(() => { | ||
lastReturn = undefined; | ||
})) | ||
.catch(() => { | ||
// Ignore error | ||
}); | ||
} | ||
return lastReturn; | ||
}; | ||
} | ||
@@ -84,0 +95,0 @@ /** |
{ | ||
"name": "@comunica/bus-query-operation", | ||
"version": "2.6.8", | ||
"version": "2.6.11-alpha.40.0", | ||
"description": "A comunica bus for query-operation events.", | ||
@@ -34,7 +34,7 @@ "lsd:module": true, | ||
"dependencies": { | ||
"@comunica/bindings-factory": "^2.5.1", | ||
"@comunica/context-entries": "^2.6.8", | ||
"@comunica/core": "^2.6.8", | ||
"@comunica/data-factory": "^2.5.1", | ||
"@comunica/types": "^2.6.8", | ||
"@comunica/bindings-factory": "2.6.11-alpha.40.0", | ||
"@comunica/context-entries": "2.6.11-alpha.40.0", | ||
"@comunica/core": "2.6.11-alpha.40.0", | ||
"@comunica/data-factory": "2.6.11-alpha.40.0", | ||
"@comunica/types": "2.6.11-alpha.40.0", | ||
"@rdfjs/types": "*", | ||
@@ -50,3 +50,3 @@ "asynciterator": "^3.8.0", | ||
}, | ||
"gitHead": "2fa7b3327a7be26a69a89a006f04e057ae930d03" | ||
"gitHead": "b4e12e9d015d4bdb6b2668f3065826eb8aea3dc4" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
116451
708
1
+ Added@comunica/bindings-factory@2.6.11-alpha.40.0(transitive)
+ Added@comunica/context-entries@2.6.11-alpha.40.0(transitive)
+ Added@comunica/core@2.6.11-alpha.40.0(transitive)
+ Added@comunica/data-factory@2.6.11-alpha.40.0(transitive)
+ Added@comunica/types@2.6.11-alpha.40.0(transitive)
- Removed@comunica/bindings-factory@2.10.1(transitive)
- Removed@comunica/context-entries@2.10.0(transitive)
- Removed@comunica/core@2.10.0(transitive)
- Removed@comunica/data-factory@2.7.0(transitive)
- Removed@comunica/types@2.10.0(transitive)