mirror of
https://github.com/lovell/sharp.git
synced 2025-12-06 03:51:40 +01:00
Ensure licensing headers are retained by code bundlers
This commit is contained in:
parent
69b2c45615
commit
1f2f33d9a7
@ -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 fs from 'node:fs/promises';
|
||||||
import path from 'node:path';
|
import path from 'node:path';
|
||||||
|
|||||||
@ -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 {
|
const {
|
||||||
useGlobalLibvips,
|
useGlobalLibvips,
|
||||||
|
|||||||
@ -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 {
|
try {
|
||||||
const { useGlobalLibvips } = require('../lib/libvips');
|
const { useGlobalLibvips } = require('../lib/libvips');
|
||||||
|
|||||||
@ -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 is = require('./is');
|
||||||
|
|
||||||
|
|||||||
@ -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 color = require('@img/colour');
|
||||||
const is = require('./is');
|
const is = require('./is');
|
||||||
|
|||||||
@ -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 is = require('./is');
|
||||||
|
|
||||||
|
|||||||
@ -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 util = require('node:util');
|
||||||
const stream = require('node:stream');
|
const stream = require('node:stream');
|
||||||
|
|||||||
@ -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');
|
const Sharp = require('./constructor');
|
||||||
require('./input')(Sharp);
|
require('./input')(Sharp);
|
||||||
|
|||||||
@ -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 is = require('./is');
|
||||||
const sharp = require('./sharp');
|
const sharp = require('./sharp');
|
||||||
|
|||||||
@ -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?
|
* Is this value defined and not null?
|
||||||
|
|||||||
@ -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 { spawnSync } = require('node:child_process');
|
||||||
const { createHash } = require('node:crypto');
|
const { createHash } = require('node:crypto');
|
||||||
|
|||||||
@ -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 is = require('./is');
|
||||||
|
|
||||||
|
|||||||
@ -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 path = require('node:path');
|
||||||
const is = require('./is');
|
const is = require('./is');
|
||||||
|
|||||||
@ -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 is = require('./is');
|
||||||
|
|
||||||
|
|||||||
@ -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
|
// Inspects the runtime environment and exports the relevant sharp.node binary
|
||||||
|
|
||||||
|
|||||||
@ -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 events = require('node:events');
|
||||||
const detectLibc = require('detect-libc');
|
const detectLibc = require('detect-libc');
|
||||||
|
|||||||
@ -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
|
// Populate the npm package for the current platform with the local build
|
||||||
|
|
||||||
|
|||||||
@ -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 <algorithm>
|
#include <algorithm>
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
|||||||
@ -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_
|
#ifndef SRC_COMMON_H_
|
||||||
#define SRC_COMMON_H_
|
#define 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
|
||||||
|
*/
|
||||||
|
|
||||||
/* global Module, ENV, _vips_shutdown, _uv_library_shutdown */
|
/* global Module, ENV, _vips_shutdown, _uv_library_shutdown */
|
||||||
|
|
||||||
|
|||||||
@ -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 <cmath>
|
#include <cmath>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|||||||
@ -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_
|
#ifndef SRC_METADATA_H_
|
||||||
#define SRC_METADATA_H_
|
#define 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
|
||||||
|
*/
|
||||||
|
|
||||||
#include <algorithm>
|
#include <algorithm>
|
||||||
#include <functional>
|
#include <functional>
|
||||||
|
|||||||
@ -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 <algorithm>
|
#include <algorithm>
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
|||||||
@ -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_
|
#ifndef SRC_PIPELINE_H_
|
||||||
#define SRC_PIPELINE_H_
|
#define 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
|
||||||
|
*/
|
||||||
|
|
||||||
#include <mutex>
|
#include <mutex>
|
||||||
|
|
||||||
|
|||||||
@ -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 <iostream>
|
#include <iostream>
|
||||||
#include <numeric>
|
#include <numeric>
|
||||||
|
|||||||
@ -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_
|
#ifndef SRC_STATS_H_
|
||||||
#define SRC_STATS_H_
|
#define 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
|
||||||
|
*/
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <cstdio>
|
#include <cstdio>
|
||||||
|
|||||||
@ -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_
|
#ifndef SRC_UTILITIES_H_
|
||||||
#define SRC_UTILITIES_H_
|
#define 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
|
||||||
|
*/
|
||||||
|
|
||||||
process.env.UV_THREADPOOL_SIZE = 64;
|
process.env.UV_THREADPOOL_SIZE = 64;
|
||||||
|
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { execSync } = require('node:child_process');
|
const { execSync } = require('node:child_process');
|
||||||
|
|||||||
@ -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 imagemagick = require('imagemagick');
|
||||||
const gm = require('gm');
|
const gm = require('gm');
|
||||||
|
|||||||
6
test/fixtures/index.js
vendored
6
test/fixtures/index.js
vendored
@ -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 path = require('node:path');
|
||||||
const sharp = require('../../');
|
const sharp = require('../../');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { afterEach, beforeEach, describe, it } = require('node:test');
|
const { afterEach, beforeEach, describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { after, before, describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 sharp = require('../../');
|
||||||
const fixtures = require('../fixtures');
|
const fixtures = require('../fixtures');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 sharp = require('../../');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const path = require('node:path');
|
const path = require('node:path');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const sharp = require('../../');
|
const sharp = require('../../');
|
||||||
|
|||||||
@ -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 { describe, it } = require('node:test');
|
||||||
const assert = require('node:assert');
|
const assert = require('node:assert');
|
||||||
|
|||||||
@ -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 fs = require('node:fs');
|
||||||
const { describe, it } = require('node:test');
|
const { describe, it } = require('node:test');
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user