resolve issue with missing vite-plugin-node-polyfills
add LibreJS licenses to all demo JS split browser build from node build add copyright info to license files update to use yarn v4.13.0 update to v0.9.2
This commit is contained in:
@@ -1,4 +1,10 @@
|
||||
// @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&dn=expat.txt
|
||||
/*
|
||||
* twtxt-lib
|
||||
* https://twtxt-lib.itsericwoodward.com/
|
||||
* Copyright (c) 2026 Eric Woodward
|
||||
* Released under the MIT License
|
||||
*/
|
||||
var __defProp = Object.defineProperty;
|
||||
var __defProps = Object.defineProperties;
|
||||
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
||||
@@ -2894,7 +2900,6 @@ const base32Encode = (payload) => {
|
||||
return encoder.write(payload).finalize();
|
||||
};
|
||||
const getValueOrFirstEntry = (value) => Array.isArray(value) && value.length ? value[0] : value;
|
||||
globalThis.Buffer = Buffer$1;
|
||||
const dateRegex = /^(\d{4})-(\d{2})-(\d{2})([tT ])(\d{2}):(\d{2}):(\d{2})\.?(\d{3})?(?:(?:([+-]\d{2}):?(\d{2}))|Z)?$/;
|
||||
const formatRFC3339 = (date) => {
|
||||
const pad = (num = 0) => `${+num < 10 ? 0 : ""}${+num}`;
|
||||
@@ -3391,6 +3396,7 @@ function loadAndParseTwtxtFile(url = "") {
|
||||
}
|
||||
});
|
||||
}
|
||||
globalThis.Buffer = Buffer$1;
|
||||
export {
|
||||
base32Encode,
|
||||
hashTwt,
|
||||
|
||||
Reference in New Issue
Block a user