-
Notifications
You must be signed in to change notification settings - Fork 375
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into cog-imagery-provider
- Loading branch information
Showing
56 changed files
with
1,917 additions
and
439 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,7 @@ package-lock.json | |
*.swp | ||
dist | ||
.history/ | ||
ts-out/ | ||
|
||
# Catalog index generation files | ||
catalog-index*.json | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -64,7 +64,7 @@ reports via email addressed to at least 2 of the following community leaders: | |
|
||
- Ana Belgun: [email protected] | ||
- Stephen Davies: [email protected] | ||
- Mats Henrikson: mats.henrikson@data61.csiro.au | ||
- Nick Forbes-Smith: nick.forbes-smith@data61.csiro.au | ||
- Peter Hassall: [email protected] | ||
|
||
All complaints will be reviewed and investigated promptly and fairly. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import isDefined from "./isDefined"; | ||
|
||
export default function arraysAreEqual<T>(left: T[], right: T[]) { | ||
if (left === right) { | ||
return true; | ||
} | ||
|
||
if (!isDefined(left) || !isDefined(right) || left.length !== right.length) { | ||
return false; | ||
} | ||
|
||
for (var i = 0; i < left.length; ++i) { | ||
if (left[i] !== right[i]) { | ||
return false; | ||
} | ||
} | ||
|
||
return true; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
export function setsAreEqual<T>(left: Set<T> | T[], right: Set<T> | T[]) { | ||
if (Array.isArray(left)) left = new Set(left); | ||
|
||
if (Array.isArray(right)) right = new Set(right); | ||
|
||
if (left === right) { | ||
return true; | ||
} | ||
|
||
if (left.size !== right.size) { | ||
return false; | ||
} | ||
|
||
const union = new Set([...left, ...right]); | ||
|
||
return union.size === left.size && union.size === right.size; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.