From e66da38cb1df0c357d46e2bf35c9ca65cbea921c Mon Sep 17 00:00:00 2001 From: Fenris Wolf Date: Tue, 14 Oct 2025 23:30:34 +0200 Subject: [PATCH] [upd] plankton --- lib/plankton/plankton.d.ts | 88 ++++++++--------- lib/plankton/plankton.js | 198 ++++++++++++++++++------------------- tools/update-plankton | 1 + 3 files changed, 144 insertions(+), 143 deletions(-) diff --git a/lib/plankton/plankton.d.ts b/lib/plankton/plankton.d.ts index 8837323..6c8d75d 100644 --- a/lib/plankton/plankton.d.ts +++ b/lib/plankton/plankton.d.ts @@ -3100,6 +3100,50 @@ declare namespace lib_plankton.session { clear?: boolean; }): Promise; } +declare namespace lib_plankton.base64 { + /** + * @author fenris + */ + type type_source = string; + /** + * @author fenris + */ + type type_target = string; + /** + * @author fenris + */ + export function encode(source: type_source): type_target; + /** + * @author fenris + */ + export function decode(target: type_target): type_source; + /** + * @author fenris + */ + export function implementation_code(): lib_plankton.code.type_code; + export {}; +} +declare namespace lib_plankton.base64 { + /** + * @author fenris + */ + class class_base64 implements lib_plankton.code.interface_code { + /** + * @author fenris + */ + constructor(); + /** + * @implementation + * @author fenris + */ + encode(x: string): string; + /** + * @implementation + * @author fenris + */ + decode(x: string): string; + } +} declare namespace lib_plankton { namespace order { /** @@ -4508,50 +4552,6 @@ declare namespace lib_plankton.map.collatemap { export function implementation_map(subject: type_subject): type_map; export {}; } -declare namespace lib_plankton.base64 { - /** - * @author fenris - */ - type type_source = string; - /** - * @author fenris - */ - type type_target = string; - /** - * @author fenris - */ - export function encode(source: type_source): type_target; - /** - * @author fenris - */ - export function decode(target: type_target): type_source; - /** - * @author fenris - */ - export function implementation_code(): lib_plankton.code.type_code; - export {}; -} -declare namespace lib_plankton.base64 { - /** - * @author fenris - */ - class class_base64 implements lib_plankton.code.interface_code { - /** - * @author fenris - */ - constructor(); - /** - * @implementation - * @author fenris - */ - encode(x: string): string; - /** - * @implementation - * @author fenris - */ - decode(x: string): string; - } -} declare namespace lib_plankton.auth { /** */ diff --git a/lib/plankton/plankton.js b/lib/plankton/plankton.js index d26ca59..1b941e6 100644 --- a/lib/plankton/plankton.js +++ b/lib/plankton/plankton.js @@ -10537,6 +10537,105 @@ var lib_plankton; })(session = lib_plankton.session || (lib_plankton.session = {})); })(lib_plankton || (lib_plankton = {})); /* +This file is part of »bacterio-plankton:base64«. + +Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' + + +»bacterio-plankton:base64« is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +»bacterio-plankton:base64« is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with »bacterio-plankton:base64«. If not, see . + */ +var lib_plankton; +(function (lib_plankton) { + var base64; + (function (base64) { + /** + * @author fenris + */ + function encode(source) { + return Buffer.from(source, "utf-8").toString("base64"); + } + base64.encode = encode; + /** + * @author fenris + */ + function decode(target) { + return Buffer.from(target, "base64").toString("utf-8"); + } + base64.decode = decode; + /** + * @author fenris + */ + function implementation_code() { + return { + "encode": encode, + "decode": decode, + }; + } + base64.implementation_code = implementation_code; + })(base64 = lib_plankton.base64 || (lib_plankton.base64 = {})); +})(lib_plankton || (lib_plankton = {})); +/* +This file is part of »bacterio-plankton:base64«. + +Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' + + +»bacterio-plankton:base64« is free software: you can redistribute it and/or modify +it under the terms of the GNU Lesser General Public License as published by +the Free Software Foundation, either version 3 of the License, or +(at your option) any later version. + +»bacterio-plankton:base64« is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU Lesser General Public License for more details. + +You should have received a copy of the GNU Lesser General Public License +along with »bacterio-plankton:base64«. If not, see . + */ +var lib_plankton; +(function (lib_plankton) { + var base64; + (function (base64) { + /** + * @author fenris + */ + class class_base64 { + /** + * @author fenris + */ + constructor() { + } + /** + * @implementation + * @author fenris + */ + encode(x) { + return base64.encode(x); + } + /** + * @implementation + * @author fenris + */ + decode(x) { + return base64.decode(x); + } + } + base64.class_base64 = class_base64; + })(base64 = lib_plankton.base64 || (lib_plankton.base64 = {})); +})(lib_plankton || (lib_plankton = {})); +/* This file is part of »bacterio-plankton:order«. Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' @@ -15785,105 +15884,6 @@ var lib_plankton; })(map = lib_plankton.map || (lib_plankton.map = {})); })(lib_plankton || (lib_plankton = {})); /* -This file is part of »bacterio-plankton:base64«. - -Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' - - -»bacterio-plankton:base64« is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -»bacterio-plankton:base64« is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with »bacterio-plankton:base64«. If not, see . - */ -var lib_plankton; -(function (lib_plankton) { - var base64; - (function (base64) { - /** - * @author fenris - */ - function encode(source) { - return Buffer.from(source, "utf-8").toString("base64"); - } - base64.encode = encode; - /** - * @author fenris - */ - function decode(target) { - return Buffer.from(target, "base64").toString("utf-8"); - } - base64.decode = decode; - /** - * @author fenris - */ - function implementation_code() { - return { - "encode": encode, - "decode": decode, - }; - } - base64.implementation_code = implementation_code; - })(base64 = lib_plankton.base64 || (lib_plankton.base64 = {})); -})(lib_plankton || (lib_plankton = {})); -/* -This file is part of »bacterio-plankton:base64«. - -Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' - - -»bacterio-plankton:base64« is free software: you can redistribute it and/or modify -it under the terms of the GNU Lesser General Public License as published by -the Free Software Foundation, either version 3 of the License, or -(at your option) any later version. - -»bacterio-plankton:base64« is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -GNU Lesser General Public License for more details. - -You should have received a copy of the GNU Lesser General Public License -along with »bacterio-plankton:base64«. If not, see . - */ -var lib_plankton; -(function (lib_plankton) { - var base64; - (function (base64) { - /** - * @author fenris - */ - class class_base64 { - /** - * @author fenris - */ - constructor() { - } - /** - * @implementation - * @author fenris - */ - encode(x) { - return base64.encode(x); - } - /** - * @implementation - * @author fenris - */ - decode(x) { - return base64.decode(x); - } - } - base64.class_base64 = class_base64; - })(base64 = lib_plankton.base64 || (lib_plankton.base64 = {})); -})(lib_plankton || (lib_plankton = {})); -/* This file is part of »bacterio-plankton:auth«. Copyright 2016-2024 'Christian Fraß, Christian Neubauer, Martin Springwald GbR' diff --git a/tools/update-plankton b/tools/update-plankton index 663fd6b..6d9f124 100755 --- a/tools/update-plankton +++ b/tools/update-plankton @@ -16,6 +16,7 @@ modules="${modules} session" modules="${modules} file" modules="${modules} string" modules="${modules} json" +modules="${modules} base64" modules="${modules} list" modules="${modules} order" modules="${modules} ical"