diff --git a/.eslintrc.js b/.eslintrc.js index 9c3315bc..d983fd68 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 const base = require('@polkadot/dev/config/eslint.cjs'); diff --git a/babel.config.js b/babel.config.js index 019ecabd..b505a4fb 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 module.exports = require('@polkadot/dev/config/babel-config-cjs.cjs'); diff --git a/jest.config.js b/jest.config.js index 874a3a92..7bbff920 100644 --- a/jest.config.js +++ b/jest.config.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 const config = require('@polkadot/dev/config/jest.cjs'); diff --git a/packages/wasm-crypto-asmjs/src/data.ts b/packages/wasm-crypto-asmjs/src/data.ts index d9506371..5701f240 100644 --- a/packages/wasm-crypto-asmjs/src/data.ts +++ b/packages/wasm-crypto-asmjs/src/data.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto-asmjs authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto-asmjs authors & contributors // SPDX-License-Identifier: Apache-2.0 export const asmJsInit = null; diff --git a/packages/wasm-crypto-asmjs/src/empty.ts b/packages/wasm-crypto-asmjs/src/empty.ts index d9506371..5701f240 100644 --- a/packages/wasm-crypto-asmjs/src/empty.ts +++ b/packages/wasm-crypto-asmjs/src/empty.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto-asmjs authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto-asmjs authors & contributors // SPDX-License-Identifier: Apache-2.0 export const asmJsInit = null; diff --git a/packages/wasm-crypto-wasm/src/buffer.ts b/packages/wasm-crypto-wasm/src/buffer.ts index 6bc5774f..56d2ac7e 100644 --- a/packages/wasm-crypto-wasm/src/buffer.ts +++ b/packages/wasm-crypto-wasm/src/buffer.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto-wasm authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto-wasm authors & contributors // SPDX-License-Identifier: Apache-2.0 export const buffer = Buffer.from([]); diff --git a/packages/wasm-crypto-wasm/src/data.ts b/packages/wasm-crypto-wasm/src/data.ts index 43c598f4..713805f0 100644 --- a/packages/wasm-crypto-wasm/src/data.ts +++ b/packages/wasm-crypto-wasm/src/data.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto-wasm authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto-wasm authors & contributors // SPDX-License-Identifier: Apache-2.0 import { buffer, sizeUncompressed } from './buffer'; diff --git a/packages/wasm-crypto-wasm/src/empty.ts b/packages/wasm-crypto-wasm/src/empty.ts index d973ae32..e244569e 100644 --- a/packages/wasm-crypto-wasm/src/empty.ts +++ b/packages/wasm-crypto-wasm/src/empty.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto-wasm authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto-wasm authors & contributors // SPDX-License-Identifier: Apache-2.0 export const wasmBytes = null; diff --git a/packages/wasm-crypto-wasm/src/fflate.ts b/packages/wasm-crypto-wasm/src/fflate.ts index e485eac5..7be43127 100644 --- a/packages/wasm-crypto-wasm/src/fflate.ts +++ b/packages/wasm-crypto-wasm/src/fflate.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 // MIT License diff --git a/packages/wasm-crypto/src/bridge.ts b/packages/wasm-crypto/src/bridge.ts index 256064c9..3219361f 100644 --- a/packages/wasm-crypto/src/bridge.ts +++ b/packages/wasm-crypto/src/bridge.ts @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable @typescript-eslint/no-non-null-assertion */ diff --git a/packages/wasm-crypto/src/detectPackage.ts b/packages/wasm-crypto/src/detectPackage.ts index 4d23fb44..67b8680f 100644 --- a/packages/wasm-crypto/src/detectPackage.ts +++ b/packages/wasm-crypto/src/detectPackage.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2017-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 // For esm, this should be import.meta.url or to get the same behavior as __dirname, we can use diff --git a/packages/wasm-crypto/src/imports.ts b/packages/wasm-crypto/src/imports.ts index 11f89a1f..06f9c4a2 100644 --- a/packages/wasm-crypto/src/imports.ts +++ b/packages/wasm-crypto/src/imports.ts @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/src/index.ts b/packages/wasm-crypto/src/index.ts index c739bd7a..e34211e8 100644 --- a/packages/wasm-crypto/src/index.ts +++ b/packages/wasm-crypto/src/index.ts @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 import './detectPackage'; diff --git a/packages/wasm-crypto/src/json.d.ts b/packages/wasm-crypto/src/json.d.ts index e7ea5e36..bc6da8bc 100644 --- a/packages/wasm-crypto/src/json.d.ts +++ b/packages/wasm-crypto/src/json.d.ts @@ -1,4 +1,4 @@ -// Copyright 2017-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2017-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 // Be able to import json in TS diff --git a/packages/wasm-crypto/src/lib.rs b/packages/wasm-crypto/src/lib.rs index c9bfc427..d63924e6 100644 --- a/packages/wasm-crypto/src/lib.rs +++ b/packages/wasm-crypto/src/lib.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 // Use `wee_alloc` as the global allocator. diff --git a/packages/wasm-crypto/src/rs/bip39.rs b/packages/wasm-crypto/src/rs/bip39.rs index ec79c65a..e377f4ed 100644 --- a/packages/wasm-crypto/src/rs/bip39.rs +++ b/packages/wasm-crypto/src/rs/bip39.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 use bip39::{Mnemonic, MnemonicType, Language, Seed}; diff --git a/packages/wasm-crypto/src/rs/ed25519.rs b/packages/wasm-crypto/src/rs/ed25519.rs index bf8f3f14..036f34fe 100644 --- a/packages/wasm-crypto/src/rs/ed25519.rs +++ b/packages/wasm-crypto/src/rs/ed25519.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 use std::convert::TryFrom; diff --git a/packages/wasm-crypto/src/rs/hashing.rs b/packages/wasm-crypto/src/rs/hashing.rs index 9eee2bf0..56d98db6 100644 --- a/packages/wasm-crypto/src/rs/hashing.rs +++ b/packages/wasm-crypto/src/rs/hashing.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 use blake2_rfc::blake2b::blake2b; diff --git a/packages/wasm-crypto/src/rs/sr25519.rs b/packages/wasm-crypto/src/rs/sr25519.rs index a7548e2f..20285a24 100644 --- a/packages/wasm-crypto/src/rs/sr25519.rs +++ b/packages/wasm-crypto/src/rs/sr25519.rs @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 // Copyright 2019 Paritytech via https://github.com/paritytech/schnorrkel-js/ diff --git a/packages/wasm-crypto/src/types.ts b/packages/wasm-crypto/src/types.ts index e5de10e9..6e352a4f 100644 --- a/packages/wasm-crypto/src/types.ts +++ b/packages/wasm-crypto/src/types.ts @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/test/alias-imports.js b/packages/wasm-crypto/test/alias-imports.js index 8a113c3d..e2b58c51 100644 --- a/packages/wasm-crypto/test/alias-imports.js +++ b/packages/wasm-crypto/test/alias-imports.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 require('override-require')( diff --git a/packages/wasm-crypto/test/all/bip39.js b/packages/wasm-crypto/test/all/bip39.js index 0e3e8f87..e22005b7 100644 --- a/packages/wasm-crypto/test/all/bip39.js +++ b/packages/wasm-crypto/test/all/bip39.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/test/all/ed25519.js b/packages/wasm-crypto/test/all/ed25519.js index 7c94986e..71035af7 100644 --- a/packages/wasm-crypto/test/all/ed25519.js +++ b/packages/wasm-crypto/test/all/ed25519.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/test/all/hashing.js b/packages/wasm-crypto/test/all/hashing.js index 249f80b3..994a0d42 100644 --- a/packages/wasm-crypto/test/all/hashing.js +++ b/packages/wasm-crypto/test/all/hashing.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/test/all/index.js b/packages/wasm-crypto/test/all/index.js index e8ca33c0..6d40be02 100644 --- a/packages/wasm-crypto/test/all/index.js +++ b/packages/wasm-crypto/test/all/index.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 const wasm = require('../../build/index'); diff --git a/packages/wasm-crypto/test/all/sr25519.js b/packages/wasm-crypto/test/all/sr25519.js index 8e4a643d..cf4ec61d 100644 --- a/packages/wasm-crypto/test/all/sr25519.js +++ b/packages/wasm-crypto/test/all/sr25519.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /* eslint-disable camelcase */ diff --git a/packages/wasm-crypto/test/asm.js b/packages/wasm-crypto/test/asm.js index 6d8542b6..1ac8a57f 100644 --- a/packages/wasm-crypto/test/asm.js +++ b/packages/wasm-crypto/test/asm.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 global.WebAssembly = null; diff --git a/packages/wasm-crypto/test/jest.spec.js b/packages/wasm-crypto/test/jest.spec.js index 80f152da..d3c3ff82 100644 --- a/packages/wasm-crypto/test/jest.spec.js +++ b/packages/wasm-crypto/test/jest.spec.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 /** diff --git a/packages/wasm-crypto/test/wasm.js b/packages/wasm-crypto/test/wasm.js index 6d9d5b81..085c4c1b 100644 --- a/packages/wasm-crypto/test/wasm.js +++ b/packages/wasm-crypto/test/wasm.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm-crypto authors & contributors +// Copyright 2019-2021 @polkadot/wasm-crypto authors & contributors // SPDX-License-Identifier: Apache-2.0 require('./alias-imports'); diff --git a/scripts/build-js.sh b/scripts/build-js.sh index 07efa729..3c92f950 100755 --- a/scripts/build-js.sh +++ b/scripts/build-js.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/build-wasm.sh b/scripts/build-wasm.sh index ffde62e3..cb2775db 100755 --- a/scripts/build-wasm.sh +++ b/scripts/build-wasm.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/build.sh b/scripts/build.sh index 05a391b0..4b83ef99 100755 --- a/scripts/build.sh +++ b/scripts/build.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/clean-js.sh b/scripts/clean-js.sh index 400ff6fa..7b4c87b6 100755 --- a/scripts/clean-js.sh +++ b/scripts/clean-js.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/clean.sh b/scripts/clean.sh index 65c75ceb..a741a485 100755 --- a/scripts/clean.sh +++ b/scripts/clean.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/install-build-deps.sh b/scripts/install-build-deps.sh index f769decb..2f0ee39c 100755 --- a/scripts/install-build-deps.sh +++ b/scripts/install-build-deps.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -# Copyright 2019-2020 @polkadot/wasm authors & contributors +# Copyright 2019-2021 @polkadot/wasm authors & contributors # This software may be modified and distributed under the terms # of the Apache-2.0 license. See the LICENSE file for details. diff --git a/scripts/pack-wasm-base.js b/scripts/pack-wasm-base.js index 70ff725d..adf9fe80 100755 --- a/scripts/pack-wasm-base.js +++ b/scripts/pack-wasm-base.js @@ -1,4 +1,4 @@ -// Copyright 2019-2020 @polkadot/wasm authors & contributors +// Copyright 2019-2021 @polkadot/wasm authors & contributors // SPDX-License-Identifier: Apache-2.0 const fs = require('fs'); @@ -8,7 +8,7 @@ const A_NAME = 'wasm-crypto-asmjs'; const W_NAME = 'wasm-crypto-wasm'; function hdr (package) { - return `// Copyright 2019-2020 @polkadot/${package} authors & contributors + return `// Copyright 2019-2021 @polkadot/${package} authors & contributors // SPDX-License-Identifier: Apache-2.0 // Generated as part of the build, do not edit