thursday-agent 0.1.0 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/build-manifest.json +3 -3
- package/.next/prerender-manifest.json +3 -3
- package/.next/server/app/_global-error.html +1 -1
- package/.next/server/app/_global-error.rsc +1 -1
- package/.next/server/app/_global-error.segments/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_global-error.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.rsc +1 -1
- package/.next/server/app/_not-found.segments/_full.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_not-found/__PAGE__.segment.rsc +1 -1
- package/.next/server/app/_not-found.segments/_tree.segment.rsc +1 -1
- package/.next/server/app/artifact/[...path]/page/server-reference-manifest.json +1 -1
- package/.next/server/app/artifact/[...path]/page.js.nft.json +1 -1
- package/.next/server/app/artifact/[...path]/page_client-reference-manifest.js +1 -1
- package/.next/server/app/page/server-reference-manifest.json +41 -41
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__01id-v3._.js +3 -0
- package/.next/server/chunks/ssr/[root-of-the-server]__0dfwvr4._.js +1 -1
- package/.next/server/chunks/ssr/[root-of-the-server]__1-mnhyd._.js +1 -1
- package/.next/server/chunks/ssr/{[root-of-the-server]__0ng1y5l._.js → [root-of-the-server]__185grso._.js} +2 -2
- package/.next/server/chunks/ssr/_077-g6s._.js +1 -1
- package/.next/server/chunks/ssr/_0ay6b01._.js +1 -1
- package/.next/server/chunks/ssr/{_1lz4t71._.js → _0j4v8of._.js} +2 -2
- package/.next/server/chunks/ssr/{_061oc5l._.js → _0l81bzy._.js} +2 -2
- package/.next/server/chunks/ssr/{_0-pwe74._.js → _0lc_7c8._.js} +2 -2
- package/.next/server/chunks/ssr/_0nso8tp._.js +3 -0
- package/.next/server/chunks/ssr/{_06l25rd._.js → _0q_2f2x._.js} +2 -2
- package/.next/server/chunks/ssr/_0sf1isi._.js +1 -1
- package/.next/server/chunks/ssr/{_0c2y8ks._.js → _10uvw3l._.js} +2 -2
- package/.next/server/chunks/ssr/{_1wlc_pv._.js → _19_o9d-._.js} +2 -2
- package/.next/server/chunks/ssr/{_0vbcev4._.js → _1dcxzqe._.js} +2 -2
- package/.next/server/chunks/ssr/_1e-dgz0._.js +1 -1
- package/.next/server/chunks/ssr/_1jbv7m1._.js +3 -0
- package/.next/server/chunks/ssr/features_bot_components_bot-setting_tsx_01ajft6._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_14jqgy4._.js +1 -1
- package/.next/server/chunks/ssr/features_config_components_config-setting_tsx_0xfwqdg._.js +1 -1
- package/.next/server/chunks/ssr/features_connectors_components_mcp-setting_tsx_0jmbgvp._.js +1 -1
- package/.next/server/chunks/ssr/features_memory_components_memory-setting_tsx_0oa43sw._.js +1 -1
- package/.next/server/chunks/ssr/{node_modules_0okab9u._.js → node_modules_00d6675._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0510bcb._.js → node_modules_043-236._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_13r64hh._.js → node_modules_06kvvuo._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_12ilj3x._.js → node_modules_0_fvxnt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0n9m8ww._.js → node_modules_0_j7-g4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1hfkkak._.js → node_modules_0bue6gy._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0o9cu2m._.js → node_modules_0fbw5-u._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_01-lnjv._.js → node_modules_0ipn1ho._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1i1aztk._.js → node_modules_0ls96je._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_18h15oi._.js → node_modules_0xwx4u-._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_04m323e._.js → node_modules_0y2-av4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1wya71n._.js → node_modules_108wd2o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1bog3e3._.js → node_modules_13f2md6._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0cagd-a._.js → node_modules_16i4o_3._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ekezwy._.js → node_modules_1_588_4._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_126jgz-._.js → node_modules_1d-is1o._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_20oe6vi._.js → node_modules_1ee8gav._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0kc8lu9._.js → node_modules_1hn_sd5._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1czzodm._.js → node_modules_1jatz7w._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0eq4z64._.js → node_modules_1k29j1j._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0snv8wz._.js → node_modules_1nhw9qg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_06gkc-1._.js → node_modules_1t0y5jt._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_14qjnj6._.js → node_modules_1ub40gk._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_1ci9xpq._.js → node_modules_1v0077l._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0egyezs._.js → node_modules_1y8_3vg._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_0a7_hec._.js → node_modules_20ynonm._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0babb8b._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_092s8nx._.js} +1 -1
- package/.next/server/chunks/ssr/{node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_0jiglry._.js → node_modules_@mermaid-js_parser_dist_chunks_mermaid-parser_core_1nvexgu._.js} +1 -1
- package/.next/server/middleware-build-manifest.js +3 -3
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/server-reference-manifest.js +1 -1
- package/.next/server/server-reference-manifest.json +42 -42
- package/.next/static/chunks/{0qwvymwynno3x.js → 0yysv1gzin17t.js} +1 -1
- package/.next/static/chunks/{1ti6qqe8rxjc9.js → 1fr5m75pwtyic.js} +1 -1
- package/.next/static/chunks/{2tab0u1fay-lo.js → 1gy3bbv7usnjo.js} +1 -1
- package/.next/static/chunks/{1n1_b0m4z2r2l.js → 1keib_gt066gc.js} +1 -1
- package/.next/static/chunks/{17yxvpmlyxotg.js → 1khakdu_iuedc.js} +1 -1
- package/.next/static/chunks/{3a8ieqoovwtgg.js → 21rk8w7bda-su.js} +1 -1
- package/.next/static/chunks/{3imn63hmy-dvm.js → 247d-r95j8xs0.js} +1 -1
- package/.next/static/chunks/{3v_k5wbdx5z1e.js → 28g42tw8tsvhd.js} +1 -1
- package/.next/static/chunks/{26jl58p1cmfyz.js → 2fq_86jvq9ymq.js} +1 -1
- package/.next/static/chunks/{1ma7gsnw16oor.js → 2ihkf6l2jowo9.js} +3 -3
- package/.next/static/chunks/{16jdhpex5davi.js → 2wngeetfnzxkp.js} +1 -1
- package/.next/static/chunks/{225bcu0dkzwh9.js → 3aquirz5h71da.js} +1 -1
- package/.next/static/chunks/{3ktulatcmvs36.js → 3fqvc0cg-atq_.js} +1 -1
- package/.next/static/chunks/{0t7ve-t64i24a.js → 3p4egvfjxpatb.js} +1 -1
- package/.next/static/chunks/3qe1w1ei-huhl.js +1 -0
- package/.next/static/chunks/{0m28u02ktcwrt.js → 3xxa2j56-f3nm.js} +1 -1
- package/.next/static/chunks/{1n0rxcrn8v33a.js → 3y40riycdip-i.js} +1 -1
- package/.next/static/chunks/{07hfxlyqq92v-.js → 45a6zbtkelph9.js} +1 -1
- package/README.md +24 -1
- package/bin/thursday.mjs +50 -2
- package/package.json +3 -17
- package/.next/server/chunks/ssr/[root-of-the-server]__1d9rffu._.js +0 -3
- package/.next/server/chunks/ssr/_0g7xsms._.js +0 -3
- package/.next/server/chunks/ssr/_0n0wwfo._.js +0 -3
- package/.next/static/chunks/2bd12_uvbr996.js +0 -1
- package/node_modules/@img/sharp-libvips-linux-x64/README.md +0 -46
- package/node_modules/@img/sharp-libvips-linux-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/node_modules/@img/sharp-libvips-linux-x64/lib/index.js +0 -1
- package/node_modules/@img/sharp-libvips-linux-x64/lib/libvips-cpp.so.8.18.6 +0 -0
- package/node_modules/@img/sharp-libvips-linux-x64/package.json +0 -43
- package/node_modules/@img/sharp-libvips-linux-x64/versions.json +0 -30
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/README.md +0 -46
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/glib-2.0/include/glibconfig.h +0 -219
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/index.js +0 -1
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/lib/libvips-cpp.so.8.18.6 +0 -0
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/package.json +0 -43
- package/node_modules/@img/sharp-libvips-linuxmusl-x64/versions.json +0 -30
- package/node_modules/@img/sharp-linux-x64/index.cjs +0 -2
- package/node_modules/@img/sharp-linux-x64/lib/sharp-linux-x64-0.35.4.node +0 -0
- package/node_modules/@img/sharp-linux-x64/package.json +0 -47
- package/node_modules/@img/sharp-linuxmusl-x64/index.cjs +0 -2
- package/node_modules/@img/sharp-linuxmusl-x64/lib/sharp-linuxmusl-x64-0.35.4.node +0 -0
- package/node_modules/@img/sharp-linuxmusl-x64/package.json +0 -47
- package/node_modules/@libsql/linux-x64-gnu/index.node +0 -0
- package/node_modules/@libsql/linux-x64-gnu/package.json +0 -36
- package/node_modules/@libsql/linux-x64-musl/index.node +0 -0
- package/node_modules/@libsql/linux-x64-musl/package.json +0 -36
- package/node_modules/libsql/auth.js +0 -22
- package/node_modules/libsql/index.js +0 -441
- package/node_modules/libsql/node_modules/detect-libc/lib/detect-libc.js +0 -279
- package/node_modules/libsql/node_modules/detect-libc/lib/filesystem.js +0 -41
- package/node_modules/libsql/node_modules/detect-libc/lib/process.js +0 -19
- package/node_modules/libsql/node_modules/detect-libc/package.json +0 -40
- package/node_modules/libsql/package.json +0 -90
- package/node_modules/libsql/sqlite-error.js +0 -21
- package/node_modules/sharp/dist/channel.cjs +0 -177
- package/node_modules/sharp/dist/channel.mjs +0 -177
- package/node_modules/sharp/dist/colour.cjs +0 -199
- package/node_modules/sharp/dist/colour.mjs +0 -199
- package/node_modules/sharp/dist/composite.cjs +0 -213
- package/node_modules/sharp/dist/composite.mjs +0 -213
- package/node_modules/sharp/dist/constructor.cjs +0 -511
- package/node_modules/sharp/dist/constructor.mjs +0 -511
- package/node_modules/sharp/dist/index.cjs +0 -25
- package/node_modules/sharp/dist/index.d.cts +0 -1999
- package/node_modules/sharp/dist/index.d.mts +0 -2046
- package/node_modules/sharp/dist/index.mjs +0 -25
- package/node_modules/sharp/dist/input.cjs +0 -819
- package/node_modules/sharp/dist/input.mjs +0 -819
- package/node_modules/sharp/dist/is.cjs +0 -143
- package/node_modules/sharp/dist/is.mjs +0 -143
- package/node_modules/sharp/dist/libvips.cjs +0 -212
- package/node_modules/sharp/dist/libvips.mjs +0 -212
- package/node_modules/sharp/dist/operation.cjs +0 -1002
- package/node_modules/sharp/dist/operation.mjs +0 -1002
- package/node_modules/sharp/dist/output.cjs +0 -1785
- package/node_modules/sharp/dist/output.mjs +0 -1785
- package/node_modules/sharp/dist/resize.cjs +0 -617
- package/node_modules/sharp/dist/resize.mjs +0 -617
- package/node_modules/sharp/dist/sharp.cjs +0 -174
- package/node_modules/sharp/dist/sharp.mjs +0 -174
- package/node_modules/sharp/dist/utility.cjs +0 -301
- package/node_modules/sharp/dist/utility.mjs +0 -301
- package/node_modules/sharp/node_modules/semver/classes/comparator.js +0 -143
- package/node_modules/sharp/node_modules/semver/classes/range.js +0 -577
- package/node_modules/sharp/node_modules/semver/classes/semver.js +0 -350
- package/node_modules/sharp/node_modules/semver/functions/clean.js +0 -8
- package/node_modules/sharp/node_modules/semver/functions/cmp.js +0 -54
- package/node_modules/sharp/node_modules/semver/functions/coerce.js +0 -62
- package/node_modules/sharp/node_modules/semver/functions/compare-build.js +0 -9
- package/node_modules/sharp/node_modules/semver/functions/compare-loose.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/compare.js +0 -7
- package/node_modules/sharp/node_modules/semver/functions/diff.js +0 -60
- package/node_modules/sharp/node_modules/semver/functions/eq.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/gt.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/gte.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/inc.js +0 -21
- package/node_modules/sharp/node_modules/semver/functions/lt.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/lte.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/major.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/minor.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/neq.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/parse.js +0 -18
- package/node_modules/sharp/node_modules/semver/functions/patch.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/prerelease.js +0 -8
- package/node_modules/sharp/node_modules/semver/functions/rcompare.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/rsort.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/satisfies.js +0 -12
- package/node_modules/sharp/node_modules/semver/functions/sort.js +0 -5
- package/node_modules/sharp/node_modules/semver/functions/truncate.js +0 -48
- package/node_modules/sharp/node_modules/semver/functions/valid.js +0 -8
- package/node_modules/sharp/node_modules/semver/index.js +0 -93
- package/node_modules/sharp/node_modules/semver/internal/constants.js +0 -37
- package/node_modules/sharp/node_modules/semver/internal/debug.js +0 -11
- package/node_modules/sharp/node_modules/semver/internal/identifiers.js +0 -29
- package/node_modules/sharp/node_modules/semver/internal/lrucache.js +0 -42
- package/node_modules/sharp/node_modules/semver/internal/parse-options.js +0 -17
- package/node_modules/sharp/node_modules/semver/internal/re.js +0 -223
- package/node_modules/sharp/node_modules/semver/package.json +0 -78
- package/node_modules/sharp/node_modules/semver/ranges/gtr.js +0 -6
- package/node_modules/sharp/node_modules/semver/ranges/intersects.js +0 -9
- package/node_modules/sharp/node_modules/semver/ranges/ltr.js +0 -6
- package/node_modules/sharp/node_modules/semver/ranges/max-satisfying.js +0 -27
- package/node_modules/sharp/node_modules/semver/ranges/min-satisfying.js +0 -26
- package/node_modules/sharp/node_modules/semver/ranges/min-version.js +0 -63
- package/node_modules/sharp/node_modules/semver/ranges/outside.js +0 -82
- package/node_modules/sharp/node_modules/semver/ranges/simplify.js +0 -49
- package/node_modules/sharp/node_modules/semver/ranges/subset.js +0 -249
- package/node_modules/sharp/node_modules/semver/ranges/to-comparators.js +0 -10
- package/node_modules/sharp/node_modules/semver/ranges/valid.js +0 -13
- package/node_modules/sharp/package.json +0 -227
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_buildManifest.js +0 -0
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_clientMiddlewareManifest.js +0 -0
- /package/.next/static/{M8Zkbqz2M4SLzLsE8DC6V → X34BUd9bfdH27ripuwwBm}/_ssgManifest.js +0 -0
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
// Copyright 2017 Lovell Fuller and others.
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
const fs = require('fs');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* The path where we can find the ldd
|
|
10
|
-
*/
|
|
11
|
-
const LDD_PATH = '/usr/bin/ldd';
|
|
12
|
-
|
|
13
|
-
/**
|
|
14
|
-
* Read the content of a file synchronous
|
|
15
|
-
*
|
|
16
|
-
* @param {string} path
|
|
17
|
-
* @returns {string}
|
|
18
|
-
*/
|
|
19
|
-
const readFileSync = (path) => fs.readFileSync(path, 'utf-8');
|
|
20
|
-
|
|
21
|
-
/**
|
|
22
|
-
* Read the content of a file
|
|
23
|
-
*
|
|
24
|
-
* @param {string} path
|
|
25
|
-
* @returns {Promise<string>}
|
|
26
|
-
*/
|
|
27
|
-
const readFile = (path) => new Promise((resolve, reject) => {
|
|
28
|
-
fs.readFile(path, 'utf-8', (err, data) => {
|
|
29
|
-
if (err) {
|
|
30
|
-
reject(err);
|
|
31
|
-
} else {
|
|
32
|
-
resolve(data);
|
|
33
|
-
}
|
|
34
|
-
});
|
|
35
|
-
});
|
|
36
|
-
|
|
37
|
-
module.exports = {
|
|
38
|
-
LDD_PATH,
|
|
39
|
-
readFileSync,
|
|
40
|
-
readFile
|
|
41
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
// Copyright 2017 Lovell Fuller and others.
|
|
2
|
-
// SPDX-License-Identifier: Apache-2.0
|
|
3
|
-
|
|
4
|
-
'use strict';
|
|
5
|
-
|
|
6
|
-
const isLinux = () => process.platform === 'linux';
|
|
7
|
-
|
|
8
|
-
let report = null;
|
|
9
|
-
const getReport = () => {
|
|
10
|
-
if (!report) {
|
|
11
|
-
/* istanbul ignore next */
|
|
12
|
-
report = isLinux() && process.report
|
|
13
|
-
? process.report.getReport()
|
|
14
|
-
: {};
|
|
15
|
-
}
|
|
16
|
-
return report;
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
module.exports = { isLinux, getReport };
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "detect-libc",
|
|
3
|
-
"version": "2.0.2",
|
|
4
|
-
"description": "Node.js module to detect the C standard library (libc) implementation family and version",
|
|
5
|
-
"main": "lib/detect-libc.js",
|
|
6
|
-
"files": [
|
|
7
|
-
"lib/",
|
|
8
|
-
"index.d.ts"
|
|
9
|
-
],
|
|
10
|
-
"scripts": {
|
|
11
|
-
"test": "semistandard && nyc --reporter=lcov --check-coverage --branches=100 ava test/unit.js",
|
|
12
|
-
"bench": "node benchmark/detect-libc",
|
|
13
|
-
"bench:calls": "node benchmark/call-familySync.js && sleep 1 && node benchmark/call-isNonGlibcLinuxSync.js && sleep 1 && node benchmark/call-versionSync.js"
|
|
14
|
-
},
|
|
15
|
-
"repository": {
|
|
16
|
-
"type": "git",
|
|
17
|
-
"url": "git://github.com/lovell/detect-libc"
|
|
18
|
-
},
|
|
19
|
-
"keywords": [
|
|
20
|
-
"libc",
|
|
21
|
-
"glibc",
|
|
22
|
-
"musl"
|
|
23
|
-
],
|
|
24
|
-
"author": "Lovell Fuller <npm@lovell.info>",
|
|
25
|
-
"contributors": [
|
|
26
|
-
"Niklas Salmoukas <niklas@salmoukas.com>",
|
|
27
|
-
"Vinícius Lourenço <vinyygamerlol@gmail.com>"
|
|
28
|
-
],
|
|
29
|
-
"license": "Apache-2.0",
|
|
30
|
-
"devDependencies": {
|
|
31
|
-
"ava": "^2.4.0",
|
|
32
|
-
"benchmark": "^2.1.4",
|
|
33
|
-
"nyc": "^15.1.0",
|
|
34
|
-
"proxyquire": "^2.1.3",
|
|
35
|
-
"semistandard": "^14.2.3"
|
|
36
|
-
},
|
|
37
|
-
"engines": {
|
|
38
|
-
"node": ">=8"
|
|
39
|
-
}
|
|
40
|
-
}
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "libsql",
|
|
3
|
-
"version": "0.5.29",
|
|
4
|
-
"description": "A better-sqlite3 compatible API for libSQL that supports Bun, Deno, and Node",
|
|
5
|
-
"os": [
|
|
6
|
-
"darwin",
|
|
7
|
-
"linux",
|
|
8
|
-
"win32"
|
|
9
|
-
],
|
|
10
|
-
"cpu": [
|
|
11
|
-
"x64",
|
|
12
|
-
"arm64",
|
|
13
|
-
"wasm32",
|
|
14
|
-
"arm"
|
|
15
|
-
],
|
|
16
|
-
"main": "index.js",
|
|
17
|
-
"types": "types/index.d.ts",
|
|
18
|
-
"files": [
|
|
19
|
-
"auth.js",
|
|
20
|
-
"index.js",
|
|
21
|
-
"sqlite-error.js",
|
|
22
|
-
"promise.js",
|
|
23
|
-
"types/index.d.ts",
|
|
24
|
-
"types/promise.d.ts"
|
|
25
|
-
],
|
|
26
|
-
"exports": {
|
|
27
|
-
".": {
|
|
28
|
-
"types": "./types/index.d.ts",
|
|
29
|
-
"default": "./index.js"
|
|
30
|
-
},
|
|
31
|
-
"./promise": {
|
|
32
|
-
"types": "./types/promise.d.ts",
|
|
33
|
-
"default": "./promise.js"
|
|
34
|
-
}
|
|
35
|
-
},
|
|
36
|
-
"scripts": {
|
|
37
|
-
"test": "cargo test",
|
|
38
|
-
"debug": "cargo build --message-format=json | npm exec neon dist",
|
|
39
|
-
"build": "npx tsc && cargo build --message-format=json --release | npm exec neon dist -- --name libsql-js",
|
|
40
|
-
"cross": "cross build --message-format=json --release | npm exec neon dist -- --name libsql-js -m /target",
|
|
41
|
-
"pack-build": "neon pack-build",
|
|
42
|
-
"prepack": "neon install-builds",
|
|
43
|
-
"postversion": "git push --follow-tags"
|
|
44
|
-
},
|
|
45
|
-
"author": "Pekka Enberg <penberg@iki.fi>",
|
|
46
|
-
"license": "MIT",
|
|
47
|
-
"neon": {
|
|
48
|
-
"targets": {
|
|
49
|
-
"aarch64-apple-darwin": "@libsql/darwin-arm64",
|
|
50
|
-
"aarch64-unknown-linux-gnu": "@libsql/linux-arm64-gnu",
|
|
51
|
-
"aarch64-unknown-linux-musl": "@libsql/linux-arm64-musl",
|
|
52
|
-
"x86_64-apple-darwin": "@libsql/darwin-x64",
|
|
53
|
-
"x86_64-pc-windows-msvc": "@libsql/win32-x64-msvc",
|
|
54
|
-
"x86_64-unknown-linux-gnu": "@libsql/linux-x64-gnu",
|
|
55
|
-
"x86_64-unknown-linux-musl": "@libsql/linux-x64-musl",
|
|
56
|
-
"arm-unknown-linux-gnueabihf": "@libsql/linux-arm-gnueabihf",
|
|
57
|
-
"arm-unknown-linux-musleabihf": "@libsql/linux-arm-musleabihf"
|
|
58
|
-
}
|
|
59
|
-
},
|
|
60
|
-
"repository": {
|
|
61
|
-
"type": "git",
|
|
62
|
-
"url": "git+https://github.com/tursodatabase/libsql-js.git"
|
|
63
|
-
},
|
|
64
|
-
"keywords": [
|
|
65
|
-
"libsql"
|
|
66
|
-
],
|
|
67
|
-
"bugs": {
|
|
68
|
-
"url": "https://github.com/tursodatabase/libsql-js/issues"
|
|
69
|
-
},
|
|
70
|
-
"homepage": "https://github.com/tursodatabase/libsql-js",
|
|
71
|
-
"devDependencies": {
|
|
72
|
-
"@neon-rs/cli": "^0.0.165",
|
|
73
|
-
"typescript": "^5.4.5"
|
|
74
|
-
},
|
|
75
|
-
"dependencies": {
|
|
76
|
-
"@neon-rs/load": "^0.0.4",
|
|
77
|
-
"detect-libc": "2.0.2"
|
|
78
|
-
},
|
|
79
|
-
"optionalDependencies": {
|
|
80
|
-
"@libsql/darwin-arm64": "0.5.29",
|
|
81
|
-
"@libsql/linux-arm64-gnu": "0.5.29",
|
|
82
|
-
"@libsql/linux-arm64-musl": "0.5.29",
|
|
83
|
-
"@libsql/darwin-x64": "0.5.29",
|
|
84
|
-
"@libsql/win32-x64-msvc": "0.5.29",
|
|
85
|
-
"@libsql/linux-x64-gnu": "0.5.29",
|
|
86
|
-
"@libsql/linux-x64-musl": "0.5.29",
|
|
87
|
-
"@libsql/linux-arm-gnueabihf": "0.5.29",
|
|
88
|
-
"@libsql/linux-arm-musleabihf": "0.5.29"
|
|
89
|
-
}
|
|
90
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
const descriptor = { value: 'SqliteError', writable: true, enumerable: false, configurable: true };
|
|
3
|
-
|
|
4
|
-
function SqliteError(message, code, rawCode) {
|
|
5
|
-
if (new.target !== SqliteError) {
|
|
6
|
-
return new SqliteError(message, code);
|
|
7
|
-
}
|
|
8
|
-
if (typeof code !== 'string') {
|
|
9
|
-
throw new TypeError('Expected second argument to be a string');
|
|
10
|
-
}
|
|
11
|
-
Error.call(this, message);
|
|
12
|
-
descriptor.value = '' + message;
|
|
13
|
-
Object.defineProperty(this, 'message', descriptor);
|
|
14
|
-
Error.captureStackTrace(this, SqliteError);
|
|
15
|
-
this.code = code;
|
|
16
|
-
this.rawCode = rawCode
|
|
17
|
-
}
|
|
18
|
-
Object.setPrototypeOf(SqliteError, Error);
|
|
19
|
-
Object.setPrototypeOf(SqliteError.prototype, Error.prototype);
|
|
20
|
-
Object.defineProperty(SqliteError.prototype, 'name', descriptor);
|
|
21
|
-
module.exports = SqliteError;
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
const is = require('./is.cjs');
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Boolean operations for bandbool.
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
const bool = {
|
|
13
|
-
and: 'and',
|
|
14
|
-
or: 'or',
|
|
15
|
-
eor: 'eor'
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Remove alpha channels, if any. This is a no-op if the image does not have an alpha channel.
|
|
20
|
-
*
|
|
21
|
-
* See also {@link /api-operation/#flatten flatten}.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* sharp('rgba.png')
|
|
25
|
-
* .removeAlpha()
|
|
26
|
-
* .toFile('rgb.png', function(err, info) {
|
|
27
|
-
* // rgb.png is a 3 channel image without an alpha channel
|
|
28
|
-
* });
|
|
29
|
-
*
|
|
30
|
-
* @returns {Sharp}
|
|
31
|
-
*/
|
|
32
|
-
function removeAlpha () {
|
|
33
|
-
this.options.removeAlpha = true;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Ensure the output image has an alpha transparency channel.
|
|
39
|
-
* If missing, the added alpha channel will have the specified
|
|
40
|
-
* transparency level, defaulting to fully-opaque (1).
|
|
41
|
-
* This is a no-op if the image already has an alpha channel.
|
|
42
|
-
*
|
|
43
|
-
* @since 0.21.2
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* // rgba.png will be a 4 channel image with a fully-opaque alpha channel
|
|
47
|
-
* await sharp('rgb.jpg')
|
|
48
|
-
* .ensureAlpha()
|
|
49
|
-
* .toFile('rgba.png')
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* // rgba is a 4 channel image with a fully-transparent alpha channel
|
|
53
|
-
* const rgba = await sharp(rgb)
|
|
54
|
-
* .ensureAlpha(0)
|
|
55
|
-
* .toBuffer();
|
|
56
|
-
*
|
|
57
|
-
* @param {number} [alpha=1] - alpha transparency level (0=fully-transparent, 1=fully-opaque)
|
|
58
|
-
* @returns {Sharp}
|
|
59
|
-
* @throws {Error} Invalid alpha transparency level
|
|
60
|
-
*/
|
|
61
|
-
function ensureAlpha (alpha) {
|
|
62
|
-
if (is.defined(alpha)) {
|
|
63
|
-
if (is.number(alpha) && is.inRange(alpha, 0, 1)) {
|
|
64
|
-
this.options.ensureAlpha = alpha;
|
|
65
|
-
} else {
|
|
66
|
-
throw is.invalidParameterError('alpha', 'number between 0 and 1', alpha);
|
|
67
|
-
}
|
|
68
|
-
} else {
|
|
69
|
-
this.options.ensureAlpha = 1;
|
|
70
|
-
}
|
|
71
|
-
return this;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Extract a single channel from a multi-channel image.
|
|
76
|
-
*
|
|
77
|
-
* The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* // green.jpg is a greyscale image containing the green channel of the input
|
|
81
|
-
* await sharp(input)
|
|
82
|
-
* .extractChannel('green')
|
|
83
|
-
* .toFile('green.jpg');
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* // red1 is the red value of the first pixel, red2 the second pixel etc.
|
|
87
|
-
* const [red1, red2, ...] = await sharp(input)
|
|
88
|
-
* .extractChannel(0)
|
|
89
|
-
* .raw()
|
|
90
|
-
* .toBuffer();
|
|
91
|
-
*
|
|
92
|
-
* @param {number|string} channel - zero-indexed channel/band number to extract, or `red`, `green`, `blue` or `alpha`.
|
|
93
|
-
* @returns {Sharp}
|
|
94
|
-
* @throws {Error} Invalid channel
|
|
95
|
-
*/
|
|
96
|
-
function extractChannel (channel) {
|
|
97
|
-
const channelMap = { red: 0, green: 1, blue: 2, alpha: 3 };
|
|
98
|
-
if (Object.keys(channelMap).includes(channel)) {
|
|
99
|
-
channel = channelMap[channel];
|
|
100
|
-
}
|
|
101
|
-
if (is.integer(channel) && is.inRange(channel, 0, 4)) {
|
|
102
|
-
this.options.extractChannel = channel;
|
|
103
|
-
} else {
|
|
104
|
-
throw is.invalidParameterError('channel', 'integer or one of: red, green, blue, alpha', channel);
|
|
105
|
-
}
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Join one or more channels to the image.
|
|
111
|
-
* The meaning of the added channels depends on the output colourspace, set with `toColourspace()`.
|
|
112
|
-
* By default the output image will be web-friendly sRGB, with additional channels interpreted as alpha channels.
|
|
113
|
-
* Channel ordering follows vips convention:
|
|
114
|
-
* - sRGB: 0: Red, 1: Green, 2: Blue, 3: Alpha.
|
|
115
|
-
* - CMYK: 0: Magenta, 1: Cyan, 2: Yellow, 3: Black, 4: Alpha.
|
|
116
|
-
*
|
|
117
|
-
* Buffers may be any of the image formats supported by sharp.
|
|
118
|
-
* For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
|
|
119
|
-
*
|
|
120
|
-
* @param {Array<string|Buffer>|string|Buffer} images - one or more images (file paths, Buffers).
|
|
121
|
-
* @param {Object} options - image options, see `sharp()` constructor.
|
|
122
|
-
* @returns {Sharp}
|
|
123
|
-
* @throws {Error} Invalid parameters
|
|
124
|
-
*/
|
|
125
|
-
function joinChannel (images, options) {
|
|
126
|
-
if (Array.isArray(images)) {
|
|
127
|
-
images.forEach(function (image) {
|
|
128
|
-
this.options.joinChannelIn.push(this._createInputDescriptor(image, options));
|
|
129
|
-
}, this);
|
|
130
|
-
} else {
|
|
131
|
-
this.options.joinChannelIn.push(this._createInputDescriptor(images, options));
|
|
132
|
-
}
|
|
133
|
-
return this;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Perform a bitwise boolean operation on all input image channels (bands) to produce a single channel output image.
|
|
138
|
-
*
|
|
139
|
-
* @example
|
|
140
|
-
* sharp('3-channel-rgb-input.png')
|
|
141
|
-
* .bandbool(sharp.bool.and)
|
|
142
|
-
* .toFile('1-channel-output.png', function (err, info) {
|
|
143
|
-
* // The output will be a single channel image where each pixel `P = R & G & B`.
|
|
144
|
-
* // If `I(1,1) = [247, 170, 14] = [0b11110111, 0b10101010, 0b00001111]`
|
|
145
|
-
* // then `O(1,1) = 0b11110111 & 0b10101010 & 0b00001111 = 0b00000010 = 2`.
|
|
146
|
-
* });
|
|
147
|
-
*
|
|
148
|
-
* @param {string} boolOp - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
|
|
149
|
-
* @returns {Sharp}
|
|
150
|
-
* @throws {Error} Invalid parameters
|
|
151
|
-
*/
|
|
152
|
-
function bandbool (boolOp) {
|
|
153
|
-
if (is.string(boolOp) && is.inArray(boolOp, ['and', 'or', 'eor'])) {
|
|
154
|
-
this.options.bandBoolOp = boolOp;
|
|
155
|
-
} else {
|
|
156
|
-
throw is.invalidParameterError('boolOp', 'one of: and, or, eor', boolOp);
|
|
157
|
-
}
|
|
158
|
-
return this;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Decorate the Sharp prototype with channel-related functions.
|
|
163
|
-
* @module Sharp
|
|
164
|
-
* @private
|
|
165
|
-
*/
|
|
166
|
-
module.exports = (Sharp) => {
|
|
167
|
-
Object.assign(Sharp.prototype, {
|
|
168
|
-
// Public instance functions
|
|
169
|
-
removeAlpha,
|
|
170
|
-
ensureAlpha,
|
|
171
|
-
extractChannel,
|
|
172
|
-
joinChannel,
|
|
173
|
-
bandbool
|
|
174
|
-
});
|
|
175
|
-
// Class attributes
|
|
176
|
-
Sharp.bool = bool;
|
|
177
|
-
};
|
|
@@ -1,177 +0,0 @@
|
|
|
1
|
-
/*!
|
|
2
|
-
Copyright 2013 Lovell Fuller and others.
|
|
3
|
-
SPDX-License-Identifier: Apache-2.0
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
import is from './is.mjs';
|
|
7
|
-
|
|
8
|
-
/**
|
|
9
|
-
* Boolean operations for bandbool.
|
|
10
|
-
* @private
|
|
11
|
-
*/
|
|
12
|
-
const bool = {
|
|
13
|
-
and: 'and',
|
|
14
|
-
or: 'or',
|
|
15
|
-
eor: 'eor'
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
/**
|
|
19
|
-
* Remove alpha channels, if any. This is a no-op if the image does not have an alpha channel.
|
|
20
|
-
*
|
|
21
|
-
* See also {@link /api-operation/#flatten flatten}.
|
|
22
|
-
*
|
|
23
|
-
* @example
|
|
24
|
-
* sharp('rgba.png')
|
|
25
|
-
* .removeAlpha()
|
|
26
|
-
* .toFile('rgb.png', function(err, info) {
|
|
27
|
-
* // rgb.png is a 3 channel image without an alpha channel
|
|
28
|
-
* });
|
|
29
|
-
*
|
|
30
|
-
* @returns {Sharp}
|
|
31
|
-
*/
|
|
32
|
-
function removeAlpha () {
|
|
33
|
-
this.options.removeAlpha = true;
|
|
34
|
-
return this;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* Ensure the output image has an alpha transparency channel.
|
|
39
|
-
* If missing, the added alpha channel will have the specified
|
|
40
|
-
* transparency level, defaulting to fully-opaque (1).
|
|
41
|
-
* This is a no-op if the image already has an alpha channel.
|
|
42
|
-
*
|
|
43
|
-
* @since 0.21.2
|
|
44
|
-
*
|
|
45
|
-
* @example
|
|
46
|
-
* // rgba.png will be a 4 channel image with a fully-opaque alpha channel
|
|
47
|
-
* await sharp('rgb.jpg')
|
|
48
|
-
* .ensureAlpha()
|
|
49
|
-
* .toFile('rgba.png')
|
|
50
|
-
*
|
|
51
|
-
* @example
|
|
52
|
-
* // rgba is a 4 channel image with a fully-transparent alpha channel
|
|
53
|
-
* const rgba = await sharp(rgb)
|
|
54
|
-
* .ensureAlpha(0)
|
|
55
|
-
* .toBuffer();
|
|
56
|
-
*
|
|
57
|
-
* @param {number} [alpha=1] - alpha transparency level (0=fully-transparent, 1=fully-opaque)
|
|
58
|
-
* @returns {Sharp}
|
|
59
|
-
* @throws {Error} Invalid alpha transparency level
|
|
60
|
-
*/
|
|
61
|
-
function ensureAlpha (alpha) {
|
|
62
|
-
if (is.defined(alpha)) {
|
|
63
|
-
if (is.number(alpha) && is.inRange(alpha, 0, 1)) {
|
|
64
|
-
this.options.ensureAlpha = alpha;
|
|
65
|
-
} else {
|
|
66
|
-
throw is.invalidParameterError('alpha', 'number between 0 and 1', alpha);
|
|
67
|
-
}
|
|
68
|
-
} else {
|
|
69
|
-
this.options.ensureAlpha = 1;
|
|
70
|
-
}
|
|
71
|
-
return this;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Extract a single channel from a multi-channel image.
|
|
76
|
-
*
|
|
77
|
-
* The output colourspace will be either `b-w` (8-bit) or `grey16` (16-bit).
|
|
78
|
-
*
|
|
79
|
-
* @example
|
|
80
|
-
* // green.jpg is a greyscale image containing the green channel of the input
|
|
81
|
-
* await sharp(input)
|
|
82
|
-
* .extractChannel('green')
|
|
83
|
-
* .toFile('green.jpg');
|
|
84
|
-
*
|
|
85
|
-
* @example
|
|
86
|
-
* // red1 is the red value of the first pixel, red2 the second pixel etc.
|
|
87
|
-
* const [red1, red2, ...] = await sharp(input)
|
|
88
|
-
* .extractChannel(0)
|
|
89
|
-
* .raw()
|
|
90
|
-
* .toBuffer();
|
|
91
|
-
*
|
|
92
|
-
* @param {number|string} channel - zero-indexed channel/band number to extract, or `red`, `green`, `blue` or `alpha`.
|
|
93
|
-
* @returns {Sharp}
|
|
94
|
-
* @throws {Error} Invalid channel
|
|
95
|
-
*/
|
|
96
|
-
function extractChannel (channel) {
|
|
97
|
-
const channelMap = { red: 0, green: 1, blue: 2, alpha: 3 };
|
|
98
|
-
if (Object.keys(channelMap).includes(channel)) {
|
|
99
|
-
channel = channelMap[channel];
|
|
100
|
-
}
|
|
101
|
-
if (is.integer(channel) && is.inRange(channel, 0, 4)) {
|
|
102
|
-
this.options.extractChannel = channel;
|
|
103
|
-
} else {
|
|
104
|
-
throw is.invalidParameterError('channel', 'integer or one of: red, green, blue, alpha', channel);
|
|
105
|
-
}
|
|
106
|
-
return this;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
/**
|
|
110
|
-
* Join one or more channels to the image.
|
|
111
|
-
* The meaning of the added channels depends on the output colourspace, set with `toColourspace()`.
|
|
112
|
-
* By default the output image will be web-friendly sRGB, with additional channels interpreted as alpha channels.
|
|
113
|
-
* Channel ordering follows vips convention:
|
|
114
|
-
* - sRGB: 0: Red, 1: Green, 2: Blue, 3: Alpha.
|
|
115
|
-
* - CMYK: 0: Magenta, 1: Cyan, 2: Yellow, 3: Black, 4: Alpha.
|
|
116
|
-
*
|
|
117
|
-
* Buffers may be any of the image formats supported by sharp.
|
|
118
|
-
* For raw pixel input, the `options` object should contain a `raw` attribute, which follows the format of the attribute of the same name in the `sharp()` constructor.
|
|
119
|
-
*
|
|
120
|
-
* @param {Array<string|Buffer>|string|Buffer} images - one or more images (file paths, Buffers).
|
|
121
|
-
* @param {Object} options - image options, see `sharp()` constructor.
|
|
122
|
-
* @returns {Sharp}
|
|
123
|
-
* @throws {Error} Invalid parameters
|
|
124
|
-
*/
|
|
125
|
-
function joinChannel (images, options) {
|
|
126
|
-
if (Array.isArray(images)) {
|
|
127
|
-
images.forEach(function (image) {
|
|
128
|
-
this.options.joinChannelIn.push(this._createInputDescriptor(image, options));
|
|
129
|
-
}, this);
|
|
130
|
-
} else {
|
|
131
|
-
this.options.joinChannelIn.push(this._createInputDescriptor(images, options));
|
|
132
|
-
}
|
|
133
|
-
return this;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/**
|
|
137
|
-
* Perform a bitwise boolean operation on all input image channels (bands) to produce a single channel output image.
|
|
138
|
-
*
|
|
139
|
-
* @example
|
|
140
|
-
* sharp('3-channel-rgb-input.png')
|
|
141
|
-
* .bandbool(sharp.bool.and)
|
|
142
|
-
* .toFile('1-channel-output.png', function (err, info) {
|
|
143
|
-
* // The output will be a single channel image where each pixel `P = R & G & B`.
|
|
144
|
-
* // If `I(1,1) = [247, 170, 14] = [0b11110111, 0b10101010, 0b00001111]`
|
|
145
|
-
* // then `O(1,1) = 0b11110111 & 0b10101010 & 0b00001111 = 0b00000010 = 2`.
|
|
146
|
-
* });
|
|
147
|
-
*
|
|
148
|
-
* @param {string} boolOp - one of `and`, `or` or `eor` to perform that bitwise operation, like the C logic operators `&`, `|` and `^` respectively.
|
|
149
|
-
* @returns {Sharp}
|
|
150
|
-
* @throws {Error} Invalid parameters
|
|
151
|
-
*/
|
|
152
|
-
function bandbool (boolOp) {
|
|
153
|
-
if (is.string(boolOp) && is.inArray(boolOp, ['and', 'or', 'eor'])) {
|
|
154
|
-
this.options.bandBoolOp = boolOp;
|
|
155
|
-
} else {
|
|
156
|
-
throw is.invalidParameterError('boolOp', 'one of: and, or, eor', boolOp);
|
|
157
|
-
}
|
|
158
|
-
return this;
|
|
159
|
-
}
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* Decorate the Sharp prototype with channel-related functions.
|
|
163
|
-
* @module Sharp
|
|
164
|
-
* @private
|
|
165
|
-
*/
|
|
166
|
-
export default (Sharp) => {
|
|
167
|
-
Object.assign(Sharp.prototype, {
|
|
168
|
-
// Public instance functions
|
|
169
|
-
removeAlpha,
|
|
170
|
-
ensureAlpha,
|
|
171
|
-
extractChannel,
|
|
172
|
-
joinChannel,
|
|
173
|
-
bandbool
|
|
174
|
-
});
|
|
175
|
-
// Class attributes
|
|
176
|
-
Sharp.bool = bool;
|
|
177
|
-
};
|