hadron-app-registry
Advanced tools
Comparing version 0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983 to 0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674
@@ -13,3 +13,3 @@ import React from 'react'; | ||
}, evt: string, fn: (...args: any) => any) => void; | ||
addCleanup: (fn: () => void) => void; | ||
addCleanup: (fn?: () => void) => void; | ||
cleanup: () => void; | ||
@@ -16,0 +16,0 @@ } |
@@ -43,3 +43,5 @@ "use strict"; | ||
this.addCleanup = (fn) => { | ||
this.cleanupFns.add(fn); | ||
if (fn) { | ||
this.cleanupFns.add(fn); | ||
} | ||
}; | ||
@@ -46,0 +48,0 @@ this.cleanup = () => { |
@@ -10,3 +10,3 @@ { | ||
"homepage": "https://github.com/mongodb-js/compass", | ||
"version": "0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983", | ||
"version": "0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674", | ||
"repository": { | ||
@@ -54,6 +54,6 @@ "type": "git", | ||
"devDependencies": { | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-487e54fe78bf8ee794f13600e5b9927f1e253983", | ||
"@mongodb-js/eslint-config-compass": "0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674", | ||
"@mongodb-js/mocha-config-compass": "0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674", | ||
"@mongodb-js/prettier-config-compass": "0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674", | ||
"@mongodb-js/tsconfig-compass": "0.0.0-next-4a16c562be330c2a9b95f216435d982a1dcb3674", | ||
"@testing-library/react": "^12.1.5", | ||
@@ -72,3 +72,3 @@ "@types/chai": "^4.2.21", | ||
}, | ||
"gitHead": "487e54fe78bf8ee794f13600e5b9927f1e253983" | ||
"gitHead": "4a16c562be330c2a9b95f216435d982a1dcb3674" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
111863
1560
0