@adviser/cement 0.2.32 → 0.2.34

Sign up to get free protection for your applications and to get access to all the features.
package/src/uri.ts CHANGED
@@ -311,15 +311,28 @@ export class BuildURI {
311
311
  // }
312
312
 
313
313
  appendRelative(p: CoerceURI): BuildURI {
314
- const url = URI.from(p);
315
- let pathname = url.pathname;
316
- if (url.pathname === "/") {
317
- pathname = "";
318
- } else if (!pathname.startsWith("/")) {
319
- pathname = `/${pathname}`;
314
+ const appendUrl = URI.from(p);
315
+ let pathname = appendUrl.pathname;
316
+ let basePath = this._url.pathname;
317
+ /*
318
+ * cases
319
+ * pathname "" basePAth "" -> ""
320
+ * pathname "/" basePath "" -> "/"
321
+ * pathname "" basePath "/" -> "/"
322
+ * pathname "/" basePath "/" -> "/"
323
+ * pathname "ab" basePath "" -> "/ab"
324
+ * pathname "ab" basePath "/" -> "/ab"
325
+ * pathname "ab" basePath "/ab/" -> "/ab/ab"
326
+ * pathname "/ab/" basePath "/ab/" -> "/ab/ab/"
327
+ */
328
+ if (pathname.startsWith("/")) {
329
+ pathname = pathname.replace(/^\//, "");
320
330
  }
321
- this.pathname(this._url.pathname + pathname);
322
- for (const [key, value] of url.getParams) {
331
+ if (basePath.length > 0) {
332
+ basePath = basePath.replace(/\/$/, "");
333
+ }
334
+ this.pathname(basePath + "/" + pathname);
335
+ for (const [key, value] of appendUrl.getParams) {
323
336
  this.setParam(key, value);
324
337
  }
325
338
  return this;
@@ -366,6 +379,10 @@ export class BuildURI {
366
379
  return this.toString();
367
380
  }
368
381
 
382
+ asURL(): URL {
383
+ return this.URI().asURL();
384
+ }
385
+
369
386
  asObj(...strips: StripCommand[]): HostURIObject | PathURIObject {
370
387
  return this.URI().asObj(...strips);
371
388
  }
@@ -492,6 +509,10 @@ export class URI {
492
509
  return getParamResult(key, this.getParam(key), msgFn);
493
510
  }
494
511
 
512
+ getParamsResult(...keys: keysParam): Result<Record<string, string>> {
513
+ return getParamsResult(keys, this);
514
+ }
515
+
495
516
  clone(): URI {
496
517
  return new URI(this._url);
497
518
  }
package/ts/uri.d.ts CHANGED
@@ -56,6 +56,7 @@ export declare class BuildURI {
56
56
  getParamsResult(...keys: keysParam): Result<Record<string, string>>;
57
57
  toString(): string;
58
58
  toJSON(): string;
59
+ asURL(): URL;
59
60
  asObj(...strips: StripCommand[]): HostURIObject | PathURIObject;
60
61
  URI(): URI;
61
62
  }
@@ -79,6 +80,7 @@ export declare class URI {
79
80
  hasParam(key: string): boolean;
80
81
  getParam(key: string): string | undefined;
81
82
  getParamResult(key: string, msgFn?: (key: string) => string): Result<string>;
83
+ getParamsResult(...keys: keysParam): Result<Record<string, string>>;
82
84
  clone(): URI;
83
85
  asURL(): URL;
84
86
  toString(): string;
package/ts/uri.d.ts.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uri.d.ts","sourceRoot":"","sources":["../../src/uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,MAAM,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAE,YAAY,EAAY,MAAM,qBAAqB,CAAC;AAE7D,KAAK,WAAW,GAAG,IAAI,GAAG,SAAS,CAAC;AAEpC,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAC;IAChC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;CAC/C;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAsBD,wBAAgB,KAAK,CAAC,KAAK,EA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zC,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;IAI5E,eAAe,CAAC,GAAG,IAAI,EAAE,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAInE,KAAK,IAAI,GAAG;IAIZ,KAAK,IAAI,GAAG;IAMZ,QAAQ,IAAI,MAAM;IAIlB,MAAM,IAAI,MAAM;IAGhB,KAAK,CAAC,GAAG,MAAM,EAAE,YAAY,EAAE,GAAG,aAAa,GAAG,aAAa;CAiBhE"}
package/ts/uri.js CHANGED
@@ -204,16 +204,17 @@ export class BuildURI {
204
204
  return this;
205
205
  }
206
206
  appendRelative(p) {
207
- const url = URI.from(p);
208
- let pathname = url.pathname;
209
- if (url.pathname === "/") {
210
- pathname = "";
207
+ const appendUrl = URI.from(p);
208
+ let pathname = appendUrl.pathname;
209
+ let basePath = this._url.pathname;
210
+ if (pathname.startsWith("/")) {
211
+ pathname = pathname.replace(/^\//, "");
211
212
  }
212
- else if (!pathname.startsWith("/")) {
213
- pathname = `/${pathname}`;
213
+ if (basePath.length > 0) {
214
+ basePath = basePath.replace(/\/$/, "");
214
215
  }
215
- this.pathname(this._url.pathname + pathname);
216
- for (const [key, value] of url.getParams) {
216
+ this.pathname(basePath + "/" + pathname);
217
+ for (const [key, value] of appendUrl.getParams) {
217
218
  this.setParam(key, value);
218
219
  }
219
220
  return this;
@@ -251,6 +252,9 @@ export class BuildURI {
251
252
  toJSON() {
252
253
  return this.toString();
253
254
  }
255
+ asURL() {
256
+ return this.URI().asURL();
257
+ }
254
258
  asObj(...strips) {
255
259
  return this.URI().asObj(...strips);
256
260
  }
@@ -326,6 +330,9 @@ export class URI {
326
330
  getParamResult(key, msgFn) {
327
331
  return getParamResult(key, this.getParam(key), msgFn);
328
332
  }
333
+ getParamsResult(...keys) {
334
+ return getParamsResult(keys, this);
335
+ }
329
336
  clone() {
330
337
  return new URI(this._url);
331
338
  }
package/ts/uri.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"uri.js","sourceRoot":"","sources":["../../src/uri.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACvD,OAAO,EAAgB,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAqB7D,SAAS,WAAW,CAAI,KAAsB;IAC5C,OAAO,KAAK,KAAK,SAAS,IAAI,KAAK,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,KAAK,CAAC;AACnE,CAAC;AAED,SAAS,yBAAyB,CAAC,GAAiB,EAAE,eAAuB;IAC3E,IAAI,CAAC,GAAG,EAAE,CAAC;QACT,OAAO,IAAI,UAAU,CAAC,GAAG,eAAe,IAAI,CAAC,CAAC;IAChD,CAAC;IACD,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QAC5B,IAAI,CAAC;YACH,OAAO,IAAI,UAAU,CAAC,GAAG,CAAC,CAAC;QAE7B,CAAC;QAAC,OAAO,CAAC,EAAE,CAAC;YACX,OAAO,IAAI,UAAU,CAAC,GAAG,eAAe,KAAK,GAAG,EAAE,CAAC,CAAC;QACtD,CAAC;IACH,CAAC;SAAM,CAAC;QACN,OAAO,IAAI,UAAU,CAAC,GAAG,CAAC,QAAQ,EAAE,CAAC,CAAC;IACxC,CAAC;AACH,CAAC;AAED,MAAM,UAAU,KAAK,CAAC,KAAc;IAClC,OAAO,CACL,KAAK,YAAY,GAAG;QACpB,CAAC,CAAC,CAAC,KAAK;YACN,OAAQ,KAAa,CAAC,YAAY,KAAK,QAAQ;YAC/C,OAAQ,KAAa,CAAC,YAAY,CAAC,IAAI,KAAK,UAAU;YACtD,OAAQ,KAAa,CAAC,IAAI,KAAK,QAAQ,CAAC,CAC3C,CAAC;AACJ,CAAC;AAID,MAAM,OAAO,UAAW,SAAQ,GAA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C7B,MAAM,OAAO,GAAkB;YAC7B,KAAK,EAAE,MAAM;YACb,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,QAAQ,EAAE,IAAI,CAAC,QAAQ;YACvB,YAAY,EAAE,MAAM,CAAC,WAAW,CAAC,IAAI,CAAC,SAAS,CAAC;SACjD,CAAC;QACF,IAAI,oBAAoB,CAAC,GAAG,CAAC,IAAI,CAAC,QAAQ,CAAC,OAAO,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC;YAC9D,OAAO,QAAQ,CAAC,MAAM,kCACjB,OAAO,KACV,KAAK,EAAE,MAAM,EACb,QAAQ,EAAE,IAAI,CAAC,QAAQ,EACvB,IAAI,EAAE,IAAI,CAAC,IAAI,IACE,CAAC;QACtB,CAAC;QACD,OAAO,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAkB,CAAC;IACpD,CAAC;CACF"}
package/ts/uri.test.js CHANGED
@@ -185,6 +185,17 @@ describe("URI", () => {
185
185
  style: "host",
186
186
  });
187
187
  });
188
+ it("URI append Params Host Flat", () => {
189
+ const uri = BuildURI.from("https://fp1-uploads-201698179963.s3.us-east-2.amazonaws.com/").appendRelative(`/data/name/key.car`);
190
+ expect(uri.asObj()).toEqual({
191
+ pathname: "/data/name/key.car",
192
+ hostname: "fp1-uploads-201698179963.s3.us-east-2.amazonaws.com",
193
+ port: "",
194
+ protocol: "https:",
195
+ searchParams: {},
196
+ style: "host",
197
+ });
198
+ });
188
199
  it("URI getParamsResult ok", () => {
189
200
  const rParams = BuildURI.from("http://host/bla/blub?name=test&store=meta&key=%40bla").getParamsResult("key", "name", "store");
190
201
  expect(rParams.Ok()).toEqual({
@@ -193,12 +204,43 @@ describe("URI", () => {
193
204
  store: "meta",
194
205
  });
195
206
  });
196
- it("URI getParamsResult fail", () => {
207
+ it("BuildURI getParamsResult fail", () => {
197
208
  const url = BuildURI.from("http://host/bla/blub?name=test&store=meta&key=%40bla");
198
209
  const rParams = url.getParamsResult("key", "name", "store", "key2", "name2");
199
210
  expect(rParams.Err().message).toEqual(`missing parameters: key2,name2`);
200
211
  const rParams2 = url.getParamsResult("key", "name", "store", "key2", "name2", (...keys) => `keys not found: ${keys.join(",")}`);
201
212
  expect(rParams2.Err().message).toEqual(`keys not found: key2,name2`);
202
213
  });
214
+ describe("URI appendRelative", () => {
215
+ const cases = [
216
+ ["", "", "/"],
217
+ ["/", "", "/"],
218
+ ["", "/", "/"],
219
+ ["/", "/", "/"],
220
+ ["ab", "", "/ab"],
221
+ ["ab", "/", "/ab"],
222
+ ["cd", "/ab", "/ab/cd"],
223
+ ["cd", "/ab", "/ab/cd"],
224
+ ["/cd", "/ab", "/ab/cd"],
225
+ ["/cd", "/ab", "/ab/cd"],
226
+ ["/cd", "/ab/", "/ab/cd"],
227
+ ["/cd/", "/ab/", "/ab/cd/"],
228
+ ];
229
+ for (const [relative, path, result] of cases) {
230
+ it(`[${path}] [${relative}] -> ${result}`, () => {
231
+ const noHost = BuildURI.from(`file://${path}`).appendRelative(relative).URI();
232
+ expect(noHost.pathname).toBe(result);
233
+ const host = BuildURI.from(`https://wurst`).pathname(path).appendRelative(relative).URI();
234
+ expect(host.pathname).toBe(result);
235
+ });
236
+ }
237
+ });
238
+ it("URI getParamsResult fail", () => {
239
+ const url = URI.from("http://host/bla/blub?name=test&store=meta&key=%40bla");
240
+ const rParams = url.getParamsResult("key", "name", "store", "key2", "name2");
241
+ expect(rParams.Err().message).toEqual(`missing parameters: key2,name2`);
242
+ const rParams2 = url.getParamsResult("key", "name", "store", "key2", "name2", (...keys) => `keys not found: ${keys.join(",")}`);
243
+ expect(rParams2.Err().message).toEqual(`keys not found: key2,name2`);
244
+ });
203
245
  });
204
246
  //# sourceMappingURL=uri.test.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"uri.test.js","sourceRoot":"","sources":["../../src/uri.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAiB,UAAU,EAAiB,GAAG,EAAE,MAAM,iBAA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