diff --git a/modules/core/src/classes/base/math-array.ts b/modules/core/src/classes/base/math-array.ts index 467be9bb..c076516c 100644 --- a/modules/core/src/classes/base/math-array.ts +++ b/modules/core/src/classes/base/math-array.ts @@ -1,4 +1,7 @@ -// math.gl, MIT License +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {NumericArray} from '@math.gl/types'; import {ConfigurationOptions, config, formatValue, equals, isArray} from '../../lib/common'; diff --git a/modules/core/src/classes/base/matrix.ts b/modules/core/src/classes/base/matrix.ts index 35789b56..5a5cc1d2 100644 --- a/modules/core/src/classes/base/matrix.ts +++ b/modules/core/src/classes/base/matrix.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {NumericArray} from '@math.gl/types'; import {MathArray} from './math-array'; import {checkNumber} from '../../lib/validators'; diff --git a/modules/core/src/classes/base/vector.ts b/modules/core/src/classes/base/vector.ts index 84a2932e..fbc21f56 100644 --- a/modules/core/src/classes/base/vector.ts +++ b/modules/core/src/classes/base/vector.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {NumericArray} from '@math.gl/types'; import {MathArray} from './math-array'; import {checkNumber} from '../../lib/validators'; diff --git a/modules/core/src/classes/euler.ts b/modules/core/src/classes/euler.ts index 4bd2aa93..a564d660 100644 --- a/modules/core/src/classes/euler.ts +++ b/modules/core/src/classes/euler.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {MathArray} from './base/math-array'; import {Quaternion} from './quaternion'; import {NumericArray} from '@math.gl/types'; diff --git a/modules/core/src/classes/matrix3.ts b/modules/core/src/classes/matrix3.ts index ed3929aa..2be038c4 100644 --- a/modules/core/src/classes/matrix3.ts +++ b/modules/core/src/classes/matrix3.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License import {NumericArray} from '@math.gl/types'; import {Matrix} from './base/matrix'; diff --git a/modules/core/src/classes/matrix4.ts b/modules/core/src/classes/matrix4.ts index d05236aa..82392ad4 100644 --- a/modules/core/src/classes/matrix4.ts +++ b/modules/core/src/classes/matrix4.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License import {NumericArray} from '@math.gl/types'; import {Matrix} from './base/matrix'; diff --git a/modules/core/src/classes/pose.ts b/modules/core/src/classes/pose.ts index 88eacc47..abb5aea9 100644 --- a/modules/core/src/classes/pose.ts +++ b/modules/core/src/classes/pose.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {Matrix4} from './matrix4'; import {Vector3} from './vector3'; import {Euler} from './euler'; diff --git a/modules/core/src/classes/quaternion.ts b/modules/core/src/classes/quaternion.ts index d3b0b16d..ee59e037 100644 --- a/modules/core/src/classes/quaternion.ts +++ b/modules/core/src/classes/quaternion.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {NumericArray} from '@math.gl/types'; import {MathArray} from './base/math-array'; import {checkNumber, checkVector} from '../lib/validators'; diff --git a/modules/core/src/classes/spherical-coordinates.ts b/modules/core/src/classes/spherical-coordinates.ts index cdc4c428..d862317d 100644 --- a/modules/core/src/classes/spherical-coordinates.ts +++ b/modules/core/src/classes/spherical-coordinates.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + // Adaptation of THREE.js Spherical class, under MIT license import {NumericArray} from '@math.gl/types'; import {Vector3} from './vector3'; diff --git a/modules/core/src/classes/vector2.ts b/modules/core/src/classes/vector2.ts index e805f9b7..2d58b1bd 100644 --- a/modules/core/src/classes/vector2.ts +++ b/modules/core/src/classes/vector2.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {Vector} from './base/vector'; import {config, isArray} from '../lib/common'; import {checkNumber} from '../lib/validators'; diff --git a/modules/core/src/classes/vector3.ts b/modules/core/src/classes/vector3.ts index aa8f5424..21262fbe 100644 --- a/modules/core/src/classes/vector3.ts +++ b/modules/core/src/classes/vector3.ts @@ -1,5 +1,8 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License + import {NumericArray} from '@math.gl/types'; import {Vector} from './base/vector'; import {config, isArray} from '../lib/common'; diff --git a/modules/core/src/classes/vector4.ts b/modules/core/src/classes/vector4.ts index a84611a3..1c4abd77 100644 --- a/modules/core/src/classes/vector4.ts +++ b/modules/core/src/classes/vector4.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License import {NumericArray} from '@math.gl/types'; /* eslint-disable camelcase */ diff --git a/modules/core/src/gl-matrix/wip/index.js b/modules/core/src/gl-matrix/wip/index.js index 9138cdd7..3c764f2c 100644 --- a/modules/core/src/gl-matrix/wip/index.js +++ b/modules/core/src/gl-matrix/wip/index.js @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // @eslint-disable // @ts-nocheck diff --git a/modules/core/src/gl-matrix/wip/mat2.js b/modules/core/src/gl-matrix/wip/mat2.js index 01cd76f6..968aacd4 100644 --- a/modules/core/src/gl-matrix/wip/mat2.js +++ b/modules/core/src/gl-matrix/wip/mat2.js @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // @ts-nocheck /* eslint-disable */ diff --git a/modules/core/src/gl-matrix/wip/mat2d.js b/modules/core/src/gl-matrix/wip/mat2d.js index 41a9ddec..6116652c 100644 --- a/modules/core/src/gl-matrix/wip/mat2d.js +++ b/modules/core/src/gl-matrix/wip/mat2d.js @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // @ts-nocheck /* eslint-disable */ diff --git a/modules/core/src/gl-matrix/wip/quat2.ts b/modules/core/src/gl-matrix/wip/quat2.ts index 73f360ae..d6a9c8e7 100644 --- a/modules/core/src/gl-matrix/wip/quat2.ts +++ b/modules/core/src/gl-matrix/wip/quat2.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // @ts-nocheck /* eslint-disable */ import * as glMatrix from './common.js'; diff --git a/modules/core/src/index.ts b/modules/core/src/index.ts index 7feac57c..5866f02b 100644 --- a/modules/core/src/index.ts +++ b/modules/core/src/index.ts @@ -1,4 +1,6 @@ -// luma.gl, MIT license +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // types export type {TypedArray, TypedArrayConstructor, NumberArray, NumericArray} from '@math.gl/types'; diff --git a/modules/core/src/lib/assert.ts b/modules/core/src/lib/assert.ts index e57f946c..47156426 100644 --- a/modules/core/src/lib/assert.ts +++ b/modules/core/src/lib/assert.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + export function assert(condition: unknown, message?: string): void { if (!condition) { throw new Error(`math.gl assertion ${message}`); diff --git a/modules/core/src/lib/common.ts b/modules/core/src/lib/common.ts index cc4c5fce..104d9517 100644 --- a/modules/core/src/lib/common.ts +++ b/modules/core/src/lib/common.ts @@ -1,4 +1,6 @@ -// math.gl, MIT license +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors import type {NumericArray} from '@math.gl/types'; diff --git a/modules/core/src/lib/gl-matrix-extras.ts b/modules/core/src/lib/gl-matrix-extras.ts index 1305ecee..5417fff3 100644 --- a/modules/core/src/lib/gl-matrix-extras.ts +++ b/modules/core/src/lib/gl-matrix-extras.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + /* eslint-disable camelcase */ import {NumericArray} from '@math.gl/types'; // vec2 additions diff --git a/modules/core/src/lib/gl-matrix.d.ts b/modules/core/src/lib/gl-matrix.d.ts index f6f2d178..756c226c 100644 --- a/modules/core/src/lib/gl-matrix.d.ts +++ b/modules/core/src/lib/gl-matrix.d.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + type NumericArray = | Int8Array | Uint8Array diff --git a/modules/core/src/lib/math-utils.ts b/modules/core/src/lib/math-utils.ts index 5a09d003..f28ea7c5 100644 --- a/modules/core/src/lib/math-utils.ts +++ b/modules/core/src/lib/math-utils.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // NOTE: Added to make Cesium-derived test cases work // TODO: Determine if/how to keep export const EPSILON1 = 1e-1; diff --git a/modules/core/src/lib/validators.ts b/modules/core/src/lib/validators.ts index 1b8c79d8..95b8aad1 100644 --- a/modules/core/src/lib/validators.ts +++ b/modules/core/src/lib/validators.ts @@ -1,22 +1,7 @@ -// Copyright (c) 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {NumberArray} from '@math.gl/types'; import {config} from './common'; diff --git a/modules/core/test/bench.ts b/modules/core/test/bench.ts index 78cc8b87..71f49b88 100644 --- a/modules/core/test/bench.ts +++ b/modules/core/test/bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import javascriptBench from './lib/javascript.bench'; import commonBench from './lib/common.bench'; diff --git a/modules/core/test/classes/classes.bench.ts b/modules/core/test/classes/classes.bench.ts index ffd50f8a..2864d25a 100644 --- a/modules/core/test/classes/classes.bench.ts +++ b/modules/core/test/classes/classes.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {configure, Vector2, Vector3, Vector4, Matrix3, Matrix4} from '@math.gl/core'; diff --git a/modules/core/test/classes/euler.spec.ts b/modules/core/test/classes/euler.spec.ts index 31a7c36d..de6a61b2 100644 --- a/modules/core/test/classes/euler.spec.ts +++ b/modules/core/test/classes/euler.spec.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {Euler, Matrix4, Quaternion, Pose} from '@math.gl/core'; import test from 'tape-promise/tape'; import {tapeEquals} from 'test/utils/tape-assertions'; diff --git a/modules/core/test/classes/matrix3.spec.ts b/modules/core/test/classes/matrix3.spec.ts index 2b91fa03..d09d61cc 100644 --- a/modules/core/test/classes/matrix3.spec.ts +++ b/modules/core/test/classes/matrix3.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import {Matrix3, config} from '@math.gl/core'; diff --git a/modules/core/test/classes/matrix4.bench.ts b/modules/core/test/classes/matrix4.bench.ts index bc8dfa30..4cb6b44a 100644 --- a/modules/core/test/classes/matrix4.bench.ts +++ b/modules/core/test/classes/matrix4.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {configure, Vector4, Matrix4, mat4} from '@math.gl/core'; diff --git a/modules/core/test/classes/matrix4.spec.ts b/modules/core/test/classes/matrix4.spec.ts index 68487c81..d754b2b4 100644 --- a/modules/core/test/classes/matrix4.spec.ts +++ b/modules/core/test/classes/matrix4.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import {Matrix4, Vector3, config, configure} from '@math.gl/core'; diff --git a/modules/core/test/classes/pose.spec.ts b/modules/core/test/classes/pose.spec.ts index 0b121a51..458a1e96 100644 --- a/modules/core/test/classes/pose.spec.ts +++ b/modules/core/test/classes/pose.spec.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import test from 'tape-promise/tape'; import {Matrix4, Vector3, equals} from '@math.gl/core'; import {Euler, Pose} from '@math.gl/core'; diff --git a/modules/core/test/classes/quaternion.spec.ts b/modules/core/test/classes/quaternion.spec.ts index 72abe6c5..b98c2a95 100644 --- a/modules/core/test/classes/quaternion.spec.ts +++ b/modules/core/test/classes/quaternion.spec.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the 'Software'), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. /* eslint-disable*/ import test from 'tape-promise/tape'; diff --git a/modules/core/test/classes/spherical-coordinates.spec.ts b/modules/core/test/classes/spherical-coordinates.spec.ts index 6ff80fc9..f51d0ee7 100644 --- a/modules/core/test/classes/spherical-coordinates.spec.ts +++ b/modules/core/test/classes/spherical-coordinates.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements, max-depth */ import test from 'tape-promise/tape'; diff --git a/modules/core/test/classes/vector2.bench.ts b/modules/core/test/classes/vector2.bench.ts index c313019d..f4d5e962 100644 --- a/modules/core/test/classes/vector2.bench.ts +++ b/modules/core/test/classes/vector2.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {Vector2} from '@math.gl/core'; diff --git a/modules/core/test/classes/vector2.spec.ts b/modules/core/test/classes/vector2.spec.ts index cef17912..90f9dd2e 100644 --- a/modules/core/test/classes/vector2.spec.ts +++ b/modules/core/test/classes/vector2.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import test from 'tape-promise/tape'; diff --git a/modules/core/test/classes/vector3.bench.ts b/modules/core/test/classes/vector3.bench.ts index ee34d758..3d2ba653 100644 --- a/modules/core/test/classes/vector3.bench.ts +++ b/modules/core/test/classes/vector3.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {Vector3} from '@math.gl/core'; diff --git a/modules/core/test/classes/vector3.spec.ts b/modules/core/test/classes/vector3.spec.ts index b75f8b8c..f1057b1a 100644 --- a/modules/core/test/classes/vector3.spec.ts +++ b/modules/core/test/classes/vector3.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import test from 'tape-promise/tape'; diff --git a/modules/core/test/classes/vector4.bench.ts b/modules/core/test/classes/vector4.bench.ts index 68a94192..b0a341c7 100644 --- a/modules/core/test/classes/vector4.bench.ts +++ b/modules/core/test/classes/vector4.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {Vector4} from '@math.gl/core'; diff --git a/modules/core/test/classes/vector4.spec.ts b/modules/core/test/classes/vector4.spec.ts index 9ae40a62..7645e1af 100644 --- a/modules/core/test/classes/vector4.spec.ts +++ b/modules/core/test/classes/vector4.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import test from 'tape-promise/tape'; diff --git a/modules/core/test/classes/vectors.spec.ts b/modules/core/test/classes/vectors.spec.ts index 5fb7ca7e..1640738c 100644 --- a/modules/core/test/classes/vectors.spec.ts +++ b/modules/core/test/classes/vectors.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License /* eslint-disable max-statements */ import test, {Test} from 'tape-promise/tape'; diff --git a/modules/core/test/index.ts b/modules/core/test/index.ts index 3399afb0..a98af83e 100644 --- a/modules/core/test/index.ts +++ b/modules/core/test/index.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License import './lib/common.spec'; diff --git a/modules/core/test/lib/common.bench.ts b/modules/core/test/lib/common.bench.ts index 8eeaf3e0..3ba517be 100644 --- a/modules/core/test/lib/common.bench.ts +++ b/modules/core/test/lib/common.bench.ts @@ -1,22 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2015 - 2017 Uber Technologies, Inc. -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: -// -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. -// -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. import {Vector3, toRadians, radians} from '@math.gl/core'; import {isArray} from '@math.gl/core'; diff --git a/modules/core/test/lib/common.spec.ts b/modules/core/test/lib/common.spec.ts index 608b4d82..b3ebbd4f 100644 --- a/modules/core/test/lib/common.spec.ts +++ b/modules/core/test/lib/common.spec.ts @@ -1,5 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright (c) 2017 Uber Technologies, Inc. -// MIT License import test, {Test} from 'tape-promise/tape'; import {Vector2, Vector3, Pose, _MathUtils} from '@math.gl/core'; diff --git a/modules/core/test/lib/javascript.bench.ts b/modules/core/test/lib/javascript.bench.ts index d3025f79..9765b748 100644 --- a/modules/core/test/lib/javascript.bench.ts +++ b/modules/core/test/lib/javascript.bench.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // CLASS INHERITANCE // // This class identifies diff --git a/modules/core/test/threejs-tests/constants.ts b/modules/core/test/threejs-tests/constants.ts index eab43069..dfcca362 100644 --- a/modules/core/test/threejs-tests/constants.ts +++ b/modules/core/test/threejs-tests/constants.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/euler-three.spec.ts b/modules/core/test/threejs-tests/euler-three.spec.ts index e9a5f942..ca4fdfab 100644 --- a/modules/core/test/threejs-tests/euler-three.spec.ts +++ b/modules/core/test/threejs-tests/euler-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file was copied from THREE.js math test suite (MIT licensed) // Original authors: diff --git a/modules/core/test/threejs-tests/index.ts b/modules/core/test/threejs-tests/index.ts index 7408ab4f..1e2eb257 100644 --- a/modules/core/test/threejs-tests/index.ts +++ b/modules/core/test/threejs-tests/index.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import './vector2-three.spec'; import './vector3-three.spec'; import './vector4-three.spec'; diff --git a/modules/core/test/threejs-tests/matrix3-three.spec.ts b/modules/core/test/threejs-tests/matrix3-three.spec.ts index f7a8bfdb..43de3281 100644 --- a/modules/core/test/threejs-tests/matrix3-three.spec.ts +++ b/modules/core/test/threejs-tests/matrix3-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file is copied from THREE.js math test suite (MIT licensed) // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/matrix4-three.spec.ts b/modules/core/test/threejs-tests/matrix4-three.spec.ts index 0614546c..d03a115e 100644 --- a/modules/core/test/threejs-tests/matrix4-three.spec.ts +++ b/modules/core/test/threejs-tests/matrix4-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file is copied from THREE.js math test suite (MIT licensed) // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/quaternion-three.spec.ts b/modules/core/test/threejs-tests/quaternion-three.spec.ts index 9099c869..27bbcdb7 100644 --- a/modules/core/test/threejs-tests/quaternion-three.spec.ts +++ b/modules/core/test/threejs-tests/quaternion-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file was copied from THREE.js math test suite (MIT licensed) // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/vector2-three.spec.ts b/modules/core/test/threejs-tests/vector2-three.spec.ts index ec14a90a..c9c65fc9 100644 --- a/modules/core/test/threejs-tests/vector2-three.spec.ts +++ b/modules/core/test/threejs-tests/vector2-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file is copied from THREE.js math test suite (MIT licensed) // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/vector3-three.spec.ts b/modules/core/test/threejs-tests/vector3-three.spec.ts index 3ae1657c..e5d6914b 100644 --- a/modules/core/test/threejs-tests/vector3-three.spec.ts +++ b/modules/core/test/threejs-tests/vector3-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // This file is copied from THREE.js math test suite (MIT licensed) // @author bhouston / http://exocortex.com diff --git a/modules/core/test/threejs-tests/vector4-three.spec.ts b/modules/core/test/threejs-tests/vector4-three.spec.ts index f8ca56ba..08726e1d 100644 --- a/modules/core/test/threejs-tests/vector4-three.spec.ts +++ b/modules/core/test/threejs-tests/vector4-three.spec.ts @@ -1,24 +1,7 @@ -// The MIT License -// +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors // Copyright © 2010-2018 three.js authors -// -// Permission is hereby granted, free of charge, to any person obtaining a copy -// of this software and associated documentation files (the "Software"), to deal -// in the Software without restriction, including without limitation the rights -// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -// copies of the Software, and to permit persons to whom the Software is -// furnished to do so, subject to the following conditions: - -// The above copyright notice and this permission notice shall be included in -// all copies or substantial portions of the Software. - -// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN -// THE SOFTWARE. // @author bhouston / http://exocortex.com // @author TristanVALCKE / https://github.com/Itee diff --git a/modules/types/src/array-types.ts b/modules/types/src/array-types.ts index 29f4e3b8..7917b7c2 100644 --- a/modules/types/src/array-types.ts +++ b/modules/types/src/array-types.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + /** * TypeScript type covering all typed arrays */ diff --git a/modules/types/src/bigint.ts b/modules/types/src/bigint.ts index edfe88d0..7a304805 100644 --- a/modules/types/src/bigint.ts +++ b/modules/types/src/bigint.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + // BigInt compatibility layer // Inspired by ArrowJS (under Apache2 license) // https://github.com/apache/arrow/blob/master/js/src/util/compat.ts diff --git a/modules/types/src/index.ts b/modules/types/src/index.ts index 090eb9b1..5e0877d3 100644 --- a/modules/types/src/index.ts +++ b/modules/types/src/index.ts @@ -1,2 +1,6 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + export type {TypedArray, TypedArrayConstructor, NumericArray, NumberArray} from './array-types'; export {isTypedArray, isNumericArray} from './is-array'; diff --git a/modules/types/src/is-array.ts b/modules/types/src/is-array.ts index 4fccef01..f3d9ec87 100644 --- a/modules/types/src/is-array.ts +++ b/modules/types/src/is-array.ts @@ -1,3 +1,7 @@ +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors + import {TypedArray, NumericArray} from './array-types'; /** diff --git a/modules/types/test/index.ts b/modules/types/test/index.ts index d701ccb2..c7fcbd9a 100644 --- a/modules/types/test/index.ts +++ b/modules/types/test/index.ts @@ -1,3 +1,5 @@ -// math.gl, MIT license +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors import './is-array.spec'; diff --git a/modules/types/test/is-array.spec.ts b/modules/types/test/is-array.spec.ts index 0fdc1b38..4f4eebbf 100644 --- a/modules/types/test/is-array.spec.ts +++ b/modules/types/test/is-array.spec.ts @@ -1,4 +1,6 @@ -// math.gl, MIT license +// math.gl +// SPDX-License-Identifier: MIT +// Copyright (c) vis.gl contributors import test from 'tape-promise/tape'; import {isTypedArray, isNumericArray} from '@math.gl/types';