@thisisagile/easy 15.9.6 → 15.9.8

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.
@@ -0,0 +1,4 @@
1
+ export declare const base64: {
2
+ decode: (data: string) => string;
3
+ encode: (data: string) => string;
4
+ };
@@ -0,0 +1,32 @@
1
+ "use strict";
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __export = (target, all) => {
7
+ for (var name in all)
8
+ __defProp(target, name, { get: all[name], enumerable: true });
9
+ };
10
+ var __copyProps = (to, from, except, desc) => {
11
+ if (from && typeof from === "object" || typeof from === "function") {
12
+ for (let key of __getOwnPropNames(from))
13
+ if (!__hasOwnProp.call(to, key) && key !== except)
14
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
15
+ }
16
+ return to;
17
+ };
18
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
+ var Base64_exports = {};
20
+ __export(Base64_exports, {
21
+ base64: () => base64
22
+ });
23
+ module.exports = __toCommonJS(Base64_exports);
24
+ const base64 = {
25
+ decode: (data) => Buffer.from(data, "base64").toString("utf-8"),
26
+ encode: (data) => Buffer.from(data, "utf-8").toString("base64")
27
+ };
28
+ // Annotate the CommonJS export names for ESM import in node:
29
+ 0 && (module.exports = {
30
+ base64
31
+ });
32
+ //# sourceMappingURL=Base64.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/Base64.ts"],"sourcesContent":["export const base64 = {\n decode: (data: string): string => Buffer.from(data, \"base64\").toString(\"utf-8\"),\n encode: (data: string): string => Buffer.from(data, \"utf-8\").toString(\"base64\")\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,SAAS;AAAA,EACpB,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,QAAQ,EAAE,SAAS,OAAO;AAAA,EAC9E,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,OAAO,EAAE,SAAS,QAAQ;AAChF;","names":[]}
@@ -0,0 +1,9 @@
1
+ import "../chunk-4N72FQFX.mjs";
2
+ const base64 = {
3
+ decode: (data) => Buffer.from(data, "base64").toString("utf-8"),
4
+ encode: (data) => Buffer.from(data, "utf-8").toString("base64")
5
+ };
6
+ export {
7
+ base64
8
+ };
9
+ //# sourceMappingURL=Base64.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../../src/utils/Base64.ts"],"sourcesContent":["export const base64 = {\n decode: (data: string): string => Buffer.from(data, \"base64\").toString(\"utf-8\"),\n encode: (data: string): string => Buffer.from(data, \"utf-8\").toString(\"base64\")\n};\n"],"mappings":";AAAO,MAAM,SAAS;AAAA,EACpB,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,QAAQ,EAAE,SAAS,OAAO;AAAA,EAC9E,QAAQ,CAAC,SAAyB,OAAO,KAAK,MAAM,OAAO,EAAE,SAAS,QAAQ;AAChF;","names":[]}
@@ -1,3 +1,4 @@
1
+ export * from './Base64';
1
2
  export * from './Convert';
2
3
  export * from './If';
3
4
  export * from './Loading';
@@ -15,6 +15,7 @@ var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "defau
15
15
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
16
  var utils_exports = {};
17
17
  module.exports = __toCommonJS(utils_exports);
18
+ __reExport(utils_exports, require("./Base64"), module.exports);
18
19
  __reExport(utils_exports, require("./Convert"), module.exports);
19
20
  __reExport(utils_exports, require("./If"), module.exports);
20
21
  __reExport(utils_exports, require("./Loading"), module.exports);
@@ -29,6 +30,7 @@ __reExport(utils_exports, require("./View"), module.exports);
29
30
  __reExport(utils_exports, require("./Wait"), module.exports);
30
31
  // Annotate the CommonJS export names for ESM import in node:
31
32
  0 && (module.exports = {
33
+ ...require("./Base64"),
32
34
  ...require("./Convert"),
33
35
  ...require("./If"),
34
36
  ...require("./Loading"),
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export * from './Convert';\nexport * from './If';\nexport * from './Loading';\nexport * from './Log';\nexport * from './Mapper';\nexport * from './Promise';\nexport * from './Property';\nexport * from './State';\nexport * from './Sentence';\nexport * from './Traverse';\nexport * from './View';\nexport * from './Wait';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,sBAAd;AACA,0BAAc,iBADd;AAEA,0BAAc,sBAFd;AAGA,0BAAc,kBAHd;AAIA,0BAAc,qBAJd;AAKA,0BAAc,sBALd;AAMA,0BAAc,uBANd;AAOA,0BAAc,oBAPd;AAQA,0BAAc,uBARd;AASA,0BAAc,uBATd;AAUA,0BAAc,mBAVd;AAWA,0BAAc,mBAXd;","names":[]}
1
+ {"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export * from './Base64';\nexport * from './Convert';\nexport * from './If';\nexport * from './Loading';\nexport * from './Log';\nexport * from './Mapper';\nexport * from './Promise';\nexport * from './Property';\nexport * from './State';\nexport * from './Sentence';\nexport * from './Traverse';\nexport * from './View';\nexport * from './Wait';\n"],"mappings":";;;;;;;;;;;;;;;AAAA;AAAA;AAAA,0BAAc,qBAAd;AACA,0BAAc,sBADd;AAEA,0BAAc,iBAFd;AAGA,0BAAc,sBAHd;AAIA,0BAAc,kBAJd;AAKA,0BAAc,qBALd;AAMA,0BAAc,sBANd;AAOA,0BAAc,uBAPd;AAQA,0BAAc,oBARd;AASA,0BAAc,uBATd;AAUA,0BAAc,uBAVd;AAWA,0BAAc,mBAXd;AAYA,0BAAc,mBAZd;","names":[]}
@@ -1,3 +1,4 @@
1
+ export * from "./Base64";
1
2
  export * from "./Convert";
2
3
  export * from "./If";
3
4
  export * from "./Loading";
@@ -1 +1 @@
1
- {"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export * from './Convert';\nexport * from './If';\nexport * from './Loading';\nexport * from './Log';\nexport * from './Mapper';\nexport * from './Promise';\nexport * from './Property';\nexport * from './State';\nexport * from './Sentence';\nexport * from './Traverse';\nexport * from './View';\nexport * from './Wait';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
1
+ {"version":3,"sources":["../../src/utils/index.ts"],"sourcesContent":["export * from './Base64';\nexport * from './Convert';\nexport * from './If';\nexport * from './Loading';\nexport * from './Log';\nexport * from './Mapper';\nexport * from './Promise';\nexport * from './Property';\nexport * from './State';\nexport * from './Sentence';\nexport * from './Traverse';\nexport * from './View';\nexport * from './Wait';\n"],"mappings":"AAAA,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;","names":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thisisagile/easy",
3
- "version": "15.9.6",
3
+ "version": "15.9.8",
4
4
  "description": "Straightforward library for building domain-driven microservice architectures",
5
5
  "author": "Sander Hoogendoorn",
6
6
  "license": "MIT",
@@ -33,7 +33,7 @@
33
33
  "access": "public"
34
34
  },
35
35
  "devDependencies": {
36
- "@thisisagile/easy-test": "15.9.6",
36
+ "@thisisagile/easy-test": "15.9.8",
37
37
  "@types/form-urlencoded": "^4.4.0",
38
38
  "@types/jsonwebtoken": "^9.0.2",
39
39
  "@types/luxon": "3.2.0",
@@ -0,0 +1,4 @@
1
+ export const base64 = {
2
+ decode: (data: string): string => Buffer.from(data, "base64").toString("utf-8"),
3
+ encode: (data: string): string => Buffer.from(data, "utf-8").toString("base64")
4
+ };
@@ -1,3 +1,4 @@
1
+ export * from './Base64';
1
2
  export * from './Convert';
2
3
  export * from './If';
3
4
  export * from './Loading';