first commit

This commit is contained in:
Ale
2025-05-13 12:01:17 +02:00
commit d7881a4461
4852 changed files with 537159 additions and 0 deletions

21
node_modules/pdf-lib/es/utils/Cache.js generated vendored Normal file
View File

@@ -0,0 +1,21 @@
var Cache = /** @class */ (function () {
function Cache(populate) {
this.populate = populate;
this.value = undefined;
}
Cache.prototype.getValue = function () {
return this.value;
};
Cache.prototype.access = function () {
if (!this.value)
this.value = this.populate();
return this.value;
};
Cache.prototype.invalidate = function () {
this.value = undefined;
};
Cache.populatedBy = function (populate) { return new Cache(populate); };
return Cache;
}());
export default Cache;
//# sourceMappingURL=Cache.js.map