Skip to content

Commit e20e178

Browse files
authored
chore: update license to remove date (#306)
Every file needs to have the copyright date update on every change. This is complicated and prone to error. Better to update all license files to remove the date.
1 parent 30b6619 commit e20e178

File tree

206 files changed

+412
-2929
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+412
-2929
lines changed

modules/cache-material/src/build_cryptographic_materials_cache_key_helpers.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import {
175
SupportedAlgorithmSuites, // eslint-disable-line no-unused-vars

modules/cache-material/src/caching_cryptographic_materials_decorators.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import {
175
GetEncryptionMaterials, // eslint-disable-line no-unused-vars

modules/cache-material/src/cryptographic_materials_cache.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import {
175
EncryptionMaterial, // eslint-disable-line no-unused-vars

modules/cache-material/src/get_local_cryptographic_materials_cache.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import LRU from 'lru-cache'
175
import {

modules/cache-material/src/index.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
export * from './cryptographic_materials_cache'
175
export * from './caching_cryptographic_materials_decorators'

modules/cache-material/src/portable_compare.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* Node has Buffer.compare,
175
* but browsers have nothing.

modules/cache-material/test/build_cryptographic_materials_cache_key_helpers.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/cache-material/test/caching_cryptographic_materials_decorators.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/cache-material/test/fixtures.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/cache-material/test/get_local_cryptographic_materials_cache.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/cache-material/test/portable_compare.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/caching-materials-manager-browser/src/caching_materials_manager_browser.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import {
175
CachingMaterialsManager, // eslint-disable-line no-unused-vars
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
export * from './caching_materials_manager_browser'
175
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material'

modules/caching-materials-manager-browser/src/sha512.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import { fromUtf8 } from '@aws-sdk/util-utf8-browser'
175
import { getWebCryptoBackend, getNonZeroByteBackend } from '@aws-crypto/web-crypto-backend'

modules/caching-materials-manager-browser/test/caching_materials_manager_browser.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/caching-materials-manager-browser/test/sha512.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

modules/caching-materials-manager-node/src/caching_materials_manager_node.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import {
175
CachingMaterialsManager, // eslint-disable-line no-unused-vars
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
export * from './caching_materials_manager_node'
175
export { getLocalCryptographicMaterialsCache } from '@aws-crypto/cache-material'

modules/caching-materials-manager-node/src/sha512.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
import { createHash } from 'crypto'
175

modules/caching-materials-manager-node/test/caching_materials_manager_node.test.ts

+2-14
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
/*
2-
* Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use
5-
* this file except in compliance with the License. A copy of the License is
6-
* located at
7-
*
8-
* http://aws.amazon.com/apache2.0/
9-
*
10-
* or in the "license" file accompanying this file. This file is distributed on an
11-
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12-
* implied. See the License for the specific language governing permissions and
13-
* limitations under the License.
14-
*/
1+
// Copyright Amazon.com Inc. or its affiliates. All Rights Reserved.
2+
// SPDX-License-Identifier: Apache-2.0
153

164
/* eslint-env mocha */
175

0 commit comments

Comments
 (0)