diff --git a/docs/build.mjs b/docs/build.mjs index 522e6cd9..da43a5bf 100644 --- a/docs/build.mjs +++ b/docs/build.mjs @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ import fs from 'node:fs/promises'; import path from 'node:path'; diff --git a/install/build.js b/install/build.js index 6af6541e..2ca22458 100644 --- a/install/build.js +++ b/install/build.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { useGlobalLibvips, diff --git a/install/check.js b/install/check.js index d526e088..1cfb7d32 100644 --- a/install/check.js +++ b/install/check.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ try { const { useGlobalLibvips } = require('../lib/libvips'); diff --git a/lib/channel.js b/lib/channel.js index bb1368cb..6af20db6 100644 --- a/lib/channel.js +++ b/lib/channel.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const is = require('./is'); diff --git a/lib/colour.js b/lib/colour.js index b8b19b56..f4c2a2b7 100644 --- a/lib/colour.js +++ b/lib/colour.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const color = require('@img/colour'); const is = require('./is'); diff --git a/lib/composite.js b/lib/composite.js index 1d41ba9d..aab05896 100644 --- a/lib/composite.js +++ b/lib/composite.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const is = require('./is'); diff --git a/lib/constructor.js b/lib/constructor.js index 488b9f03..f5aeeeb5 100644 --- a/lib/constructor.js +++ b/lib/constructor.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const util = require('node:util'); const stream = require('node:stream'); diff --git a/lib/index.js b/lib/index.js index cb632edf..b80191d7 100644 --- a/lib/index.js +++ b/lib/index.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const Sharp = require('./constructor'); require('./input')(Sharp); diff --git a/lib/input.js b/lib/input.js index 403ee31e..27d24883 100644 --- a/lib/input.js +++ b/lib/input.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const is = require('./is'); const sharp = require('./sharp'); diff --git a/lib/is.js b/lib/is.js index c61b6bbd..58e29ee6 100644 --- a/lib/is.js +++ b/lib/is.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ /** * Is this value defined and not null? diff --git a/lib/libvips.js b/lib/libvips.js index dba1ab45..881dc5c1 100644 --- a/lib/libvips.js +++ b/lib/libvips.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { spawnSync } = require('node:child_process'); const { createHash } = require('node:crypto'); diff --git a/lib/operation.js b/lib/operation.js index 824da911..183353fc 100644 --- a/lib/operation.js +++ b/lib/operation.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const is = require('./is'); diff --git a/lib/output.js b/lib/output.js index 8718c698..e10dc05b 100644 --- a/lib/output.js +++ b/lib/output.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const path = require('node:path'); const is = require('./is'); diff --git a/lib/resize.js b/lib/resize.js index 287d0ae3..7a643bb8 100644 --- a/lib/resize.js +++ b/lib/resize.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const is = require('./is'); diff --git a/lib/sharp.js b/lib/sharp.js index 5cd4a40f..1081c931 100644 --- a/lib/sharp.js +++ b/lib/sharp.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ // Inspects the runtime environment and exports the relevant sharp.node binary diff --git a/lib/utility.js b/lib/utility.js index 6dd9b19f..3ef27a6a 100644 --- a/lib/utility.js +++ b/lib/utility.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const events = require('node:events'); const detectLibc = require('detect-libc'); diff --git a/npm/from-local-build.js b/npm/from-local-build.js index 76719cb3..fc35bd2e 100644 --- a/npm/from-local-build.js +++ b/npm/from-local-build.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ // Populate the npm package for the current platform with the local build diff --git a/src/common.cc b/src/common.cc index 5c517fc9..a27c90c7 100644 --- a/src/common.cc +++ b/src/common.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/common.h b/src/common.h index 10b4e549..16c07fc7 100644 --- a/src/common.h +++ b/src/common.h @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #ifndef SRC_COMMON_H_ #define SRC_COMMON_H_ diff --git a/src/emscripten/pre.js b/src/emscripten/pre.js index d37a487d..1163b9e7 100644 --- a/src/emscripten/pre.js +++ b/src/emscripten/pre.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ /* global Module, ENV, _vips_shutdown, _uv_library_shutdown */ diff --git a/src/metadata.cc b/src/metadata.cc index db582ca0..73e3f930 100644 --- a/src/metadata.cc +++ b/src/metadata.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/metadata.h b/src/metadata.h index 64b5b905..6f02d452 100644 --- a/src/metadata.h +++ b/src/metadata.h @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #ifndef SRC_METADATA_H_ #define SRC_METADATA_H_ diff --git a/src/operations.cc b/src/operations.cc index f60c9974..daeba5ab 100644 --- a/src/operations.cc +++ b/src/operations.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/pipeline.cc b/src/pipeline.cc index 4a848293..5da169a1 100644 --- a/src/pipeline.cc +++ b/src/pipeline.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/pipeline.h b/src/pipeline.h index 14ee5456..ff946598 100644 --- a/src/pipeline.h +++ b/src/pipeline.h @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #ifndef SRC_PIPELINE_H_ #define SRC_PIPELINE_H_ diff --git a/src/sharp.cc b/src/sharp.cc index ab873e80..7678975c 100644 --- a/src/sharp.cc +++ b/src/sharp.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include diff --git a/src/stats.cc b/src/stats.cc index cd5f4a38..b1fd27a7 100644 --- a/src/stats.cc +++ b/src/stats.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/stats.h b/src/stats.h index 9f99d8e9..88e13c60 100644 --- a/src/stats.h +++ b/src/stats.h @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #ifndef SRC_STATS_H_ #define SRC_STATS_H_ diff --git a/src/utilities.cc b/src/utilities.cc index 2922ed46..4154c08a 100644 --- a/src/utilities.cc +++ b/src/utilities.cc @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #include #include diff --git a/src/utilities.h b/src/utilities.h index 9272f955..a1719fa2 100644 --- a/src/utilities.h +++ b/src/utilities.h @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ #ifndef SRC_UTILITIES_H_ #define SRC_UTILITIES_H_ diff --git a/test/bench/parallel.js b/test/bench/parallel.js index 7f2c4aaa..ac8105c5 100644 --- a/test/bench/parallel.js +++ b/test/bench/parallel.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ process.env.UV_THREADPOOL_SIZE = 64; diff --git a/test/bench/perf.js b/test/bench/perf.js index c10802c7..5ca09018 100644 --- a/test/bench/perf.js +++ b/test/bench/perf.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { execSync } = require('node:child_process'); diff --git a/test/bench/random.js b/test/bench/random.js index fa575d35..bc2f27dc 100644 --- a/test/bench/random.js +++ b/test/bench/random.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const imagemagick = require('imagemagick'); const gm = require('gm'); diff --git a/test/fixtures/index.js b/test/fixtures/index.js index b5714875..f86041da 100644 --- a/test/fixtures/index.js +++ b/test/fixtures/index.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const path = require('node:path'); const sharp = require('../../'); diff --git a/test/unit/affine.js b/test/unit/affine.js index 7c76776c..43ff8ed9 100644 --- a/test/unit/affine.js +++ b/test/unit/affine.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/alpha.js b/test/unit/alpha.js index 3cb61aaa..59e05f10 100644 --- a/test/unit/alpha.js +++ b/test/unit/alpha.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/avif.js b/test/unit/avif.js index 1c28a975..6fb08c6f 100644 --- a/test/unit/avif.js +++ b/test/unit/avif.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/bandbool.js b/test/unit/bandbool.js index 67574522..a8678e76 100644 --- a/test/unit/bandbool.js +++ b/test/unit/bandbool.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/blur.js b/test/unit/blur.js index 41414bf2..05016887 100644 --- a/test/unit/blur.js +++ b/test/unit/blur.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/boolean.js b/test/unit/boolean.js index c7fcdb4d..1e23068d 100644 --- a/test/unit/boolean.js +++ b/test/unit/boolean.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/clahe.js b/test/unit/clahe.js index a7277025..e3f7cf52 100644 --- a/test/unit/clahe.js +++ b/test/unit/clahe.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/clone.js b/test/unit/clone.js index 2075c560..0b5b26e3 100644 --- a/test/unit/clone.js +++ b/test/unit/clone.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { afterEach, beforeEach, describe, it } = require('node:test'); diff --git a/test/unit/colourspace.js b/test/unit/colourspace.js index f373db34..cbcbfc78 100644 --- a/test/unit/colourspace.js +++ b/test/unit/colourspace.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/composite.js b/test/unit/composite.js index c442c829..0df0007a 100644 --- a/test/unit/composite.js +++ b/test/unit/composite.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/convolve.js b/test/unit/convolve.js index 29c7a8f6..6317e77b 100644 --- a/test/unit/convolve.js +++ b/test/unit/convolve.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/extend.js b/test/unit/extend.js index c36424d2..eba41440 100644 --- a/test/unit/extend.js +++ b/test/unit/extend.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/extract.js b/test/unit/extract.js index d1e14ecb..0901fcbe 100644 --- a/test/unit/extract.js +++ b/test/unit/extract.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/extractChannel.js b/test/unit/extractChannel.js index 4f05c1ac..d1bd1e1c 100644 --- a/test/unit/extractChannel.js +++ b/test/unit/extractChannel.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/failOn.js b/test/unit/failOn.js index 9add6778..460b53a1 100644 --- a/test/unit/failOn.js +++ b/test/unit/failOn.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/fixtures.js b/test/unit/fixtures.js index ca975627..b97edec3 100644 --- a/test/unit/fixtures.js +++ b/test/unit/fixtures.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/gamma.js b/test/unit/gamma.js index b58567c7..4af5e077 100644 --- a/test/unit/gamma.js +++ b/test/unit/gamma.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/gif.js b/test/unit/gif.js index 4921be72..976ad96b 100644 --- a/test/unit/gif.js +++ b/test/unit/gif.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/heif.js b/test/unit/heif.js index 9cb5355b..adb7b296 100644 --- a/test/unit/heif.js +++ b/test/unit/heif.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/io.js b/test/unit/io.js index 75a7959f..4388507e 100644 --- a/test/unit/io.js +++ b/test/unit/io.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const path = require('node:path'); diff --git a/test/unit/join.js b/test/unit/join.js index 6538346f..3aea9ce3 100644 --- a/test/unit/join.js +++ b/test/unit/join.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/joinChannel.js b/test/unit/joinChannel.js index 814565eb..e1b74315 100644 --- a/test/unit/joinChannel.js +++ b/test/unit/joinChannel.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/jp2.js b/test/unit/jp2.js index 3445c90f..de70ab6f 100644 --- a/test/unit/jp2.js +++ b/test/unit/jp2.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/jpeg.js b/test/unit/jpeg.js index 0954439e..a089e0a7 100644 --- a/test/unit/jpeg.js +++ b/test/unit/jpeg.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/jxl.js b/test/unit/jxl.js index 20af7de0..f70de1cb 100644 --- a/test/unit/jxl.js +++ b/test/unit/jxl.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/libvips.js b/test/unit/libvips.js index 79f70dc4..ee0c4f1d 100644 --- a/test/unit/libvips.js +++ b/test/unit/libvips.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { after, before, describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/linear.js b/test/unit/linear.js index dba44a2e..500d6332 100644 --- a/test/unit/linear.js +++ b/test/unit/linear.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const sharp = require('../../'); const fixtures = require('../fixtures'); diff --git a/test/unit/median.js b/test/unit/median.js index 5a2f6b3d..97b70651 100644 --- a/test/unit/median.js +++ b/test/unit/median.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/metadata.js b/test/unit/metadata.js index 73875a54..5ad41e20 100644 --- a/test/unit/metadata.js +++ b/test/unit/metadata.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/modulate.js b/test/unit/modulate.js index 50267762..fcf0935b 100644 --- a/test/unit/modulate.js +++ b/test/unit/modulate.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const sharp = require('../../'); const { describe, it } = require('node:test'); diff --git a/test/unit/negate.js b/test/unit/negate.js index bd0c0a94..825f2670 100644 --- a/test/unit/negate.js +++ b/test/unit/negate.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/noise.js b/test/unit/noise.js index 3578fbec..8a606a71 100644 --- a/test/unit/noise.js +++ b/test/unit/noise.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/normalize.js b/test/unit/normalize.js index 0c9a9b28..748b6834 100644 --- a/test/unit/normalize.js +++ b/test/unit/normalize.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/png.js b/test/unit/png.js index d5f487ae..d7eb3121 100644 --- a/test/unit/png.js +++ b/test/unit/png.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/raw.js b/test/unit/raw.js index 3d9c1b77..7afca428 100644 --- a/test/unit/raw.js +++ b/test/unit/raw.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/recomb.js b/test/unit/recomb.js index 78d1bf42..d16019f3 100644 --- a/test/unit/recomb.js +++ b/test/unit/recomb.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/resize-contain.js b/test/unit/resize-contain.js index ec5424c8..dc5bdb41 100644 --- a/test/unit/resize-contain.js +++ b/test/unit/resize-contain.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/resize-cover.js b/test/unit/resize-cover.js index f5bdd515..09ae42d6 100644 --- a/test/unit/resize-cover.js +++ b/test/unit/resize-cover.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/resize.js b/test/unit/resize.js index ce59d4d5..ff642010 100644 --- a/test/unit/resize.js +++ b/test/unit/resize.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/rotate.js b/test/unit/rotate.js index 6d8422c4..ce8fe92f 100644 --- a/test/unit/rotate.js +++ b/test/unit/rotate.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/sharpen.js b/test/unit/sharpen.js index 28b3db54..66eae704 100644 --- a/test/unit/sharpen.js +++ b/test/unit/sharpen.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/stats.js b/test/unit/stats.js index 89102cd6..be42793d 100644 --- a/test/unit/stats.js +++ b/test/unit/stats.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/svg.js b/test/unit/svg.js index a12932ac..a772bb37 100644 --- a/test/unit/svg.js +++ b/test/unit/svg.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/text.js b/test/unit/text.js index d55031a0..77a8177f 100644 --- a/test/unit/text.js +++ b/test/unit/text.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/threshold.js b/test/unit/threshold.js index 350bf0b4..1b0956f5 100644 --- a/test/unit/threshold.js +++ b/test/unit/threshold.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/tiff.js b/test/unit/tiff.js index fb0b0e52..6fc87b04 100644 --- a/test/unit/tiff.js +++ b/test/unit/tiff.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test'); diff --git a/test/unit/tile.js b/test/unit/tile.js index e496dba7..77521bce 100644 --- a/test/unit/tile.js +++ b/test/unit/tile.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const path = require('node:path'); diff --git a/test/unit/timeout.js b/test/unit/timeout.js index ed2012ac..d44179aa 100644 --- a/test/unit/timeout.js +++ b/test/unit/timeout.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/tint.js b/test/unit/tint.js index 1e2ccf52..f7a168a7 100644 --- a/test/unit/tint.js +++ b/test/unit/tint.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/toBuffer.js b/test/unit/toBuffer.js index 40b2b004..7e4b1d45 100644 --- a/test/unit/toBuffer.js +++ b/test/unit/toBuffer.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/toFormat.js b/test/unit/toFormat.js index 1d28efea..0974e460 100644 --- a/test/unit/toFormat.js +++ b/test/unit/toFormat.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/trim.js b/test/unit/trim.js index b6b95e85..5df2aabc 100644 --- a/test/unit/trim.js +++ b/test/unit/trim.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/unflatten.js b/test/unit/unflatten.js index 1759353a..7a442351 100644 --- a/test/unit/unflatten.js +++ b/test/unit/unflatten.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const sharp = require('../../'); diff --git a/test/unit/util.js b/test/unit/util.js index db74405c..16c04a63 100644 --- a/test/unit/util.js +++ b/test/unit/util.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const { describe, it } = require('node:test'); const assert = require('node:assert'); diff --git a/test/unit/webp.js b/test/unit/webp.js index e3d51cca..b36c9a50 100644 --- a/test/unit/webp.js +++ b/test/unit/webp.js @@ -1,5 +1,7 @@ -// Copyright 2013 Lovell Fuller and others. -// SPDX-License-Identifier: Apache-2.0 +/*! + Copyright 2013 Lovell Fuller and others. + SPDX-License-Identifier: Apache-2.0 +*/ const fs = require('node:fs'); const { describe, it } = require('node:test');