@piveau/dpi 0.2.0-alpha.59 → 0.2.0-alpha.60

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.
@@ -9,7 +9,7 @@ function a(e) {
9
9
  if (e != null)
10
10
  return Array.isArray(e) ? e[0] : e;
11
11
  }
12
- function f(e) {
12
+ function u(e) {
13
13
  return Array.isArray(e) ? e : e ? [e] : void 0;
14
14
  }
15
15
  function ce(e) {
@@ -20,14 +20,14 @@ function ce(e) {
20
20
  );
21
21
  }
22
22
  function Te(e, t) {
23
- const { enabled: r, hubSearchUrl: i } = t, o = oe(r), p = [...ee()].filter((s) => s.name !== "licence"), { safeTransform: l } = te({
23
+ const { enabled: r, hubSearchUrl: i } = t, o = oe(r), b = [...ee()].filter((f) => f.name !== "licence"), { safeTransform: l } = te({
24
24
  baseUrl: i,
25
- resolvers: p,
25
+ resolvers: b,
26
26
  transformer: re
27
- }), u = ne([]), {
28
- state: g,
29
- isReady: h,
30
- isLoading: y,
27
+ }), s = ne([]), {
28
+ state: p,
29
+ isReady: y,
30
+ isLoading: h,
31
31
  error: v,
32
32
  execute: T
33
33
  } = ie(
@@ -36,12 +36,12 @@ function Te(e, t) {
36
36
  if (!t.preprocess && !t.transform) {
37
37
  const c = await l(k(e));
38
38
  if (c.error)
39
- return u.value.push({
39
+ return s.value.push({
40
40
  code: "transform_failed",
41
41
  message: c.error.message
42
42
  }), null;
43
43
  const R = c.data;
44
- return (!R || !((P = R["dpi:isDPIv3"]) != null && P["@value"])) && u.value.push({
44
+ return (!R || !((P = R["dpi:isDPIv3"]) != null && P["@value"])) && s.value.push({
45
45
  code: "not_dpi_v3",
46
46
  message: `The dataset is not a DPI v3 dataset. ID ${R["@id"]}`
47
47
  }), {
@@ -54,13 +54,13 @@ function Te(e, t) {
54
54
  try {
55
55
  const c = await t.preprocess(k(e));
56
56
  if (c && typeof c == "object" && "error" in c && c.error)
57
- return u.value.push({
57
+ return s.value.push({
58
58
  code: "preprocess_failed",
59
59
  message: c.error.message || "Preprocess failed"
60
60
  }), null;
61
61
  D = c && typeof c == "object" && "data" in c ? c.data : c;
62
62
  } catch (c) {
63
- return u.value.push({
63
+ return s.value.push({
64
64
  code: "preprocess_failed",
65
65
  message: (c == null ? void 0 : c.message) || String(c)
66
66
  }), null;
@@ -68,7 +68,7 @@ function Te(e, t) {
68
68
  else
69
69
  D = k(e);
70
70
  if (!t.transform)
71
- return u.value.push({
71
+ return s.value.push({
72
72
  code: "missing_transform",
73
73
  message: "No transform function provided. Either supply a transform or omit both preprocess and transform to use the default DCAT dataset path."
74
74
  }), null;
@@ -77,7 +77,7 @@ function Te(e, t) {
77
77
  const c = t.preprocess ? D : k(e);
78
78
  A = await t.transform(c);
79
79
  } catch (c) {
80
- return u.value.push({
80
+ return s.value.push({
81
81
  code: "transform_apply_failed",
82
82
  message: (c == null ? void 0 : c.message) || String(c)
83
83
  }), null;
@@ -90,30 +90,30 @@ function Te(e, t) {
90
90
  null,
91
91
  { immediate: !1 }
92
92
  ), L = E(
93
- () => o.value && !y.value && !!h.value
93
+ () => o.value && !h.value && !!y.value
94
94
  ), B = E(
95
95
  () => o.value && !!L.value
96
96
  ), U = E(() => B.value), I = E(() => {
97
- var s;
98
- return (s = g.value) == null ? void 0 : s.dpiData;
97
+ var f;
98
+ return (f = p.value) == null ? void 0 : f.dpiData;
99
99
  }), S = E(() => {
100
- var s;
101
- return (s = g.value) == null ? void 0 : s.data;
100
+ var f;
101
+ return (f = p.value) == null ? void 0 : f.data;
102
102
  });
103
103
  return N(
104
104
  () => k(e),
105
- (s) => s && o.value ? T() : null
106
- ), N(S, (s) => {
107
- console.log("jsonld resolved result:", s);
108
- }), N(v, (s) => {
109
- console.log("jsonld error:", s);
105
+ (f) => f && o.value ? T() : null
106
+ ), N(S, (f) => {
107
+ console.log("jsonld resolved result:", f);
108
+ }), N(v, (f) => {
109
+ console.log("jsonld error:", f);
110
110
  }), {
111
- processedInput: g,
111
+ processedInput: p,
112
112
  isProcessedInputReady: L,
113
113
  result: I,
114
114
  isMaterialized: B,
115
115
  isReady: U,
116
- errors: u
116
+ errors: s
117
117
  };
118
118
  }
119
119
  function m(e) {
@@ -276,8 +276,8 @@ function ue(e) {
276
276
  var t, r;
277
277
  return {
278
278
  "dcatde:politicalGeocodingURI": (t = e["dcatapde:politicalGeocodingURI"]) == null ? void 0 : t.map((i) => {
279
- var u;
280
- const p = {
279
+ var s;
280
+ const b = {
281
281
  districtKey: "Kreis",
282
282
  governmentDistrictKey: "Bezirk",
283
283
  municipalityKey: "Gemeindeschlüssel",
@@ -286,22 +286,22 @@ function ue(e) {
286
286
  regionalKey: "Regionalschlüssel"
287
287
  };
288
288
  let l = i["@id"].split("/").slice(-2, -1)[0];
289
- return l = p[l] || l, {
289
+ return l = b[l] || l, {
290
290
  isValid: !0,
291
291
  uri: i["@id"],
292
- id: ((u = i.prefLabel) == null ? void 0 : u.de) || i["@id"].split("/").pop(),
292
+ id: ((s = i.prefLabel) == null ? void 0 : s.de) || i["@id"].split("/").pop(),
293
293
  label: d(i.altLabel),
294
294
  inVoc: l
295
295
  };
296
296
  }),
297
297
  "dcat:temporalResolution": (r = e["dct:temporal"]) == null ? void 0 : r.reduce((i, o) => {
298
- const l = a(o["dcat:startDate"]), u = a(o["dcat:endDate"]), g = m(l) || "", h = m(u) || "", y = typeof l != "string" && (l == null ? void 0 : l["@type"]) === "http://www.w3.org/2001/XMLSchema#dateTime" ? "dateTime" : "date", v = y === "date" ? g : g.split("T")[0], T = y === "date" ? h : h.split("T")[0], L = y === "dateTime" ? g.split("T")[1] : "", B = y === "dateTime" ? h.split("T")[1] : "";
298
+ const l = a(o["dcat:startDate"]), s = a(o["dcat:endDate"]), p = m(l) || "", y = m(s) || "", h = typeof l != "string" && (l == null ? void 0 : l["@type"]) === "http://www.w3.org/2001/XMLSchema#dateTime" ? "dateTime" : "date", v = h === "date" ? p : p.split("T")[0], T = h === "date" ? y : y.split("T")[0], L = h === "dateTime" ? p.split("T")[1] : "", B = h === "dateTime" ? y.split("T")[1] : "";
299
299
  return {
300
300
  isValid: !0,
301
301
  type: "dct:PeriodOfTime",
302
302
  "dct:temporal": [
303
303
  {
304
- dataType: y,
304
+ dataType: h,
305
305
  "dcat:startDate": v,
306
306
  "dcat:endDate": T,
307
307
  startTime: L || "",
@@ -313,7 +313,7 @@ function ue(e) {
313
313
  };
314
314
  }
315
315
  function pe(e, t) {
316
- var i, o, p, l, u, g, h, y, v, T, L, B, U, I, S, s, D, A, P, c, R, x, M, j, G;
316
+ var i, o, b, l, s, p, y, h, v, T, L, B, U, I, S, f, D, A, P, c, R, x, M, j, G;
317
317
  if (!e)
318
318
  return {};
319
319
  const r = a(e["spdx:checksum"]);
@@ -321,13 +321,13 @@ function pe(e, t) {
321
321
  isValid: !0,
322
322
  id: t + 1,
323
323
  "dcat:accessURL": m(a(e["dcat:accessURL"])) || "",
324
- "dcat:downloadURL": ((i = e["dcat:downloadURL"]) == null ? void 0 : i.map((b) => ({
325
- "@id": m(b)
324
+ "dcat:downloadURL": ((i = e["dcat:downloadURL"]) == null ? void 0 : i.map((g) => ({
325
+ "@id": m(g)
326
326
  }))) || [{ "@id": "" }],
327
327
  "dct:format": {
328
328
  // redundancy in label and title for better compatibility
329
329
  label: ((o = a(e["dct:format"])) == null ? void 0 : o["purl:identifier"]) || "",
330
- title: ((p = a(e["dct:format"])) == null ? void 0 : p["purl:identifier"]) || "",
330
+ title: ((b = a(e["dct:format"])) == null ? void 0 : b["purl:identifier"]) || "",
331
331
  uri: ((l = a(e["dct:format"])) == null ? void 0 : l["@id"]) || ""
332
332
  },
333
333
  "dct:title": d(e["dct:title"]),
@@ -338,17 +338,17 @@ function pe(e, t) {
338
338
  "dcatde:licenseAttributionByText": d(e["dcatapde:licenseAttributionByText"]) || "",
339
339
  "dct:license": e["dct:license"] ? {
340
340
  isValid: !0,
341
- uri: ((u = a(e["dct:license"])) == null ? void 0 : u["@id"]) || "",
341
+ uri: ((s = a(e["dct:license"])) == null ? void 0 : s["@id"]) || "",
342
342
  "dcterms:license": d(
343
- (g = a(e["dct:license"])) == null ? void 0 : g.altLabel
343
+ (p = a(e["dct:license"])) == null ? void 0 : p.altLabel
344
344
  ) || "",
345
345
  label: d(
346
- (h = a(e["dct:license"])) == null ? void 0 : h.prefLabel
346
+ (y = a(e["dct:license"])) == null ? void 0 : y.prefLabel
347
347
  ) || "",
348
348
  title: d(e["dcatapde:licenseAttributionByText"]) || ""
349
349
  } : {},
350
350
  "dct:accessRights": e["dct:accessRights"] ? a({
351
- uri: ((y = a(e["dct:accessRights"])) == null ? void 0 : y["@id"]) || "",
351
+ uri: ((h = a(e["dct:accessRights"])) == null ? void 0 : h["@id"]) || "",
352
352
  label: ((v = a(e["dct:accessRights"])) == null ? void 0 : v.prefLabel) || { de: "" }
353
353
  }) : {},
354
354
  "dcatap:availability": {
@@ -357,7 +357,7 @@ function pe(e, t) {
357
357
  title: ((L = a(e["dcatap:availability"])) == null ? void 0 : L.prefLabel) || "",
358
358
  uri: ((B = a(e["dcatap:availability"])) == null ? void 0 : B["@id"]) || ""
359
359
  },
360
- "dct:language": ((U = e["dct:language"]) == null ? void 0 : U.map((b) => V(b)).filter(Boolean)) || [],
360
+ "dct:language": ((U = e["dct:language"]) == null ? void 0 : U.map((g) => V(g)).filter(Boolean)) || [],
361
361
  "dcat:mediaType": q({
362
362
  label: d(
363
363
  (I = a(e["dcat:mediaType"])) == null ? void 0 : I.prefLabel
@@ -366,7 +366,7 @@ function pe(e, t) {
366
366
  }),
367
367
  "dcat:compressFormat": q({
368
368
  label: d(
369
- (s = a(e["dcat:compressFormat"])) == null ? void 0 : s.prefLabel
369
+ (f = a(e["dcat:compressFormat"])) == null ? void 0 : f.prefLabel
370
370
  ) || "",
371
371
  uri: ((D = a(e["dcat:compressFormat"])) == null ? void 0 : D["@id"]) || ""
372
372
  }),
@@ -388,35 +388,35 @@ function pe(e, t) {
388
388
  )) == null ? void 0 : M.replace("spdx:", "http://spdx.org/rdf/terms#")
389
389
  },
390
390
  accessServices: he(e["dcat:accessService"] || []),
391
- conformsToItems: (j = e["dct:conformsTo"]) == null ? void 0 : j.map((b, _) => ({
391
+ conformsToItems: (j = e["dct:conformsTo"]) == null ? void 0 : j.map((g, _) => ({
392
392
  // for some reason dct:conformsTo is different from the one on dcat:dataset level
393
393
  id: _ + 1,
394
- "dcat:accessURL": b["@id"],
395
- "dct:title": d(b["rdfs:label"]) || "",
396
- "dcat:downloadURL": b["@id"],
394
+ "dcat:accessURL": g["@id"],
395
+ "dct:title": d(g["rdfs:label"]) || "",
396
+ "dcat:downloadURL": g["@id"],
397
397
  // redundancy to match properties on dcat:dataset level
398
- "rdfs:label": d(b["rdfs:label"]) || "",
399
- uri: b["@id"]
398
+ "rdfs:label": d(g["rdfs:label"]) || "",
399
+ uri: g["@id"]
400
400
  })).filter(Boolean),
401
- policyItems: ((G = e["odrl:hasPolicy"]) == null ? void 0 : G.map((b, _) => ({
401
+ policyItems: ((G = e["odrl:hasPolicy"]) == null ? void 0 : G.map((g, _) => ({
402
402
  // don't ask
403
403
  id: _ + 1,
404
- "dcat:downloadURL": b["@id"],
405
- "dcat:accessURL": b["@id"]
404
+ "dcat:downloadURL": g["@id"],
405
+ "dcat:accessURL": g["@id"]
406
406
  }))) || [{ id: 1, "dcat:downloadURL": "", "dcat:accessURL": "" }],
407
407
  documentations: Re(e["foaf:page"] || [])
408
408
  };
409
409
  }
410
410
  function me(e) {
411
- var r, i;
411
+ var r, i, o, b, l;
412
412
  const t = {
413
413
  "dcat:distribution": []
414
414
  };
415
- if (t["dct:license"] = [(i = (r = t["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : i["dct:license"]], e["dcat:distribution"]) {
416
- const o = z(e["dcat:distribution"]);
417
- t["dcat:distribution"] = o.map((p, l) => pe(p, l)).filter((p) => Object.keys(p).length > 0);
415
+ if (e["dcat:distribution"]) {
416
+ const s = z(e["dcat:distribution"]);
417
+ t["dcat:distribution"] = s.map((p, y) => pe(p, y)).filter((p) => Object.keys(p).length > 0);
418
418
  }
419
- return console.log(t), t;
419
+ return t["dct:license"] = [{ ...(i = (r = e["dcat:distribution"]) == null ? void 0 : r[0]) == null ? void 0 : i["dct:license"], "dcterms:license": d((l = (b = (o = e["dcat:distribution"]) == null ? void 0 : o[0]) == null ? void 0 : b["dct:license"]) == null ? void 0 : l.altLabel) }], console.log(t), t;
420
420
  }
421
421
  function be(e) {
422
422
  return {
@@ -424,7 +424,7 @@ function be(e) {
424
424
  };
425
425
  }
426
426
  function ge(e) {
427
- var r, i, o, p, l, u, g, h, y, v, T, L, B, U, I, S, s, D, A, P, c, R, x, M, j, G, b, _;
427
+ var r, i, o, b, l, s, p, y, h, v, T, L, B, U, I, S, f, D, A, P, c, R, x, M, j, G, g, _;
428
428
  const t = {
429
429
  "dct:language": (r = e["dct:language"]) == null ? void 0 : r.map((n) => V(n)).filter(Boolean),
430
430
  "dcatde:politicalGeocodingLevelURI": (i = e["dcatapde:politicalGeocodingLevelURI"]) == null ? void 0 : i.map((n) => ({
@@ -435,15 +435,15 @@ function ge(e) {
435
435
  "rdfs:label": d(n["rdfs:label"]) || "",
436
436
  "@id": n["@id"]
437
437
  })).filter(Boolean),
438
- "dct:accessRights": e["dct:accessRights"] ? f(V(e["dct:accessRights"])) : [],
438
+ "dct:accessRights": e["dct:accessRights"] ? u(V(e["dct:accessRights"])) : [],
439
439
  "dct:issued": z(e["dct:issued"]),
440
- "dct:provenance": (p = e["dct:provenance"]) == null ? void 0 : p.map((n) => ({
440
+ "dct:provenance": (b = e["dct:provenance"]) == null ? void 0 : b.map((n) => ({
441
441
  "rdfs:label": d(n["rdfs:label"]) || "",
442
442
  uri: n["@id"]
443
443
  })).filter(Boolean),
444
- "dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? f(V(e["dct:accrualPeriodicity"])) : [],
444
+ "dct:accrualPeriodicity": e["dct:accrualPeriodicity"] ? u(V(e["dct:accrualPeriodicity"])) : [],
445
445
  "dct:type": (l = e["dct:type"]) == null ? void 0 : l.map((n) => V(n)).filter(Boolean),
446
- "dcat:spatialResolutionInMeters": ((u = e["dcat:spatialResolutionInMeters"]) == null ? void 0 : u.map(H)) || void 0,
446
+ "dcat:spatialResolutionInMeters": ((s = e["dcat:spatialResolutionInMeters"]) == null ? void 0 : s.map(H)) || void 0,
447
447
  "dcat:temporalResolution": e["dcat:temporalResolution"] ? e["dcat:temporalResolution"].map(H).map((n) => {
448
448
  const O = n["@value"].match(
449
449
  /^P(?:(\d+)Y)?(?:(\d+)M)?(?:(\d+)D)?(?:T(?:(\d+)H)?(?:(\d+)M)?(?:(\d+)S)?)?$/
@@ -462,48 +462,48 @@ function ge(e) {
462
462
  ];
463
463
  }
464
464
  }).filter(Boolean).flat() : void 0,
465
- "dcat:qualifiedRelation": (g = f(
465
+ "dcat:qualifiedRelation": (p = u(
466
466
  e["dcat:qualifiedRelation"]
467
- )) == null ? void 0 : g.filter(Boolean),
468
- "dct:creator": (h = f(e["dct:creator"])) == null ? void 0 : h.filter(Boolean),
469
- "dct:contributor": (y = f(e["dct:contributor"])) == null ? void 0 : y.filter(Boolean),
467
+ )) == null ? void 0 : p.filter(Boolean),
468
+ "dct:creator": (y = u(e["dct:creator"])) == null ? void 0 : y.filter(Boolean),
469
+ "dct:contributor": (h = u(e["dct:contributor"])) == null ? void 0 : h.filter(Boolean),
470
470
  "dcatde:contributorID": (v = e["dcatapde:contributorID"]) == null ? void 0 : v.map((n) => V(n)).filter(Boolean),
471
- "dcatde:geocodingDescription": (T = f(
471
+ "dcatde:geocodingDescription": (T = u(
472
472
  e["dcatapde:geocodingDescription"]
473
473
  )) == null ? void 0 : T.filter(Boolean),
474
474
  "dct:identifier": (L = e["dct:identifier"]) == null ? void 0 : L.map((n) => ({
475
475
  "@value": n
476
476
  })),
477
- "adms:identifier": (B = f(e["adms:identifier"])) == null ? void 0 : B.filter(Boolean),
477
+ "adms:identifier": (B = u(e["adms:identifier"])) == null ? void 0 : B.filter(Boolean),
478
478
  "owl:versionInfo": (U = e["owl:versionInfo"]) == null ? void 0 : U.map((n) => ({
479
479
  "@value": n
480
480
  })),
481
481
  "adms:versionNotes": e["adms:versionNotes"],
482
- "dcatde:legalBasis": (I = f(e["dcatapde:legalBasis"])) == null ? void 0 : I.filter(
482
+ "dcatde:legalBasis": (I = u(e["dcatapde:legalBasis"])) == null ? void 0 : I.filter(
483
483
  Boolean
484
484
  ),
485
- "dct:relation": (S = f(e["dct:relation"])) == null ? void 0 : S.filter(Boolean),
486
- "dcat:landingPage": (s = f(e["dcat:landingPage"])) == null ? void 0 : s.filter(
485
+ "dct:relation": (S = u(e["dct:relation"])) == null ? void 0 : S.filter(Boolean),
486
+ "dcat:landingPage": (f = u(e["dcat:landingPage"])) == null ? void 0 : f.filter(
487
487
  Boolean
488
488
  ),
489
- "prov:wasGeneratedBy": (D = f(e["prov:wasGeneratedBy"])) == null ? void 0 : D.filter(
489
+ "prov:wasGeneratedBy": (D = u(e["prov:wasGeneratedBy"])) == null ? void 0 : D.filter(
490
490
  Boolean
491
491
  ),
492
- "dct:isReferencedBy": (A = f(e["dct:isReferencedBy"])) == null ? void 0 : A.filter(
492
+ "dct:isReferencedBy": (A = u(e["dct:isReferencedBy"])) == null ? void 0 : A.filter(
493
493
  Boolean
494
494
  ),
495
- "dct:source": (P = f(e["dct:source"])) == null ? void 0 : P.filter(Boolean),
496
- "dct:hasVersion": (c = f(e["dct:hasVersion"])) == null ? void 0 : c.filter(Boolean),
497
- "dct:isVersionOf": (R = f(e["dct:isVersionOf"])) == null ? void 0 : R.filter(Boolean),
498
- "prov:qualifiedAttribution": (x = f(
495
+ "dct:source": (P = u(e["dct:source"])) == null ? void 0 : P.filter(Boolean),
496
+ "dct:hasVersion": (c = u(e["dct:hasVersion"])) == null ? void 0 : c.filter(Boolean),
497
+ "dct:isVersionOf": (R = u(e["dct:isVersionOf"])) == null ? void 0 : R.filter(Boolean),
498
+ "prov:qualifiedAttribution": (x = u(
499
499
  e["prov:qualifiedAttribution"]
500
500
  )) == null ? void 0 : x.filter(Boolean),
501
- "dcat:keyword": (M = f(e["dcat:keyword"])) == null ? void 0 : M.filter(Boolean),
502
- "dct:spatial": (j = f(e["dct:spatial"])) == null ? void 0 : j.filter((n) => n ? !n["@id"].startsWith(
501
+ "dcat:keyword": (M = u(e["dcat:keyword"])) == null ? void 0 : M.filter(Boolean),
502
+ "dct:spatial": (j = u(e["dct:spatial"])) == null ? void 0 : j.filter((n) => n ? !n["@id"].startsWith(
503
503
  "http://dcat-ap.de/def/politicalGeocoding/"
504
504
  ) : !1).filter(Boolean),
505
- "dct:references": (G = f(e["dct:references"])) == null ? void 0 : G.filter(Boolean),
506
- "foaf:page": (b = f(e["foaf:page"])) == null ? void 0 : b.filter(Boolean).map((n) => {
505
+ "dct:references": (G = u(e["dct:references"])) == null ? void 0 : G.filter(Boolean),
506
+ "foaf:page": (g = u(e["foaf:page"])) == null ? void 0 : g.filter(Boolean).map((n) => {
507
507
  if (!n)
508
508
  return;
509
509
  const w = a(n["dct:format"]);
@@ -555,7 +555,7 @@ function he(e) {
555
555
  }
556
556
  function Re(e) {
557
557
  return !e || !Array.isArray(e) || e.length === 0 ? [] : e.map((t, r) => {
558
- var i, o, p;
558
+ var i, o, b;
559
559
  return {
560
560
  id: r + 1,
561
561
  "dcat:downloadURL": ((i = a(t["dcat:accessURL"])) == null ? void 0 : i["@id"]) || "",
@@ -563,12 +563,12 @@ function Re(e) {
563
563
  "dct:description": d(t["dct:description"]) || "",
564
564
  "dct:title": d(t["dct:title"]) || "",
565
565
  "dct:format": t["dct:format"] ? d(a(t["dct:format"]).prefLabel) : "",
566
- formatUri: t["dct:format"] && ((p = V(a(t["dct:format"]))) == null ? void 0 : p.uri) || ""
566
+ formatUri: t["dct:format"] && ((b = V(a(t["dct:format"]))) == null ? void 0 : b.uri) || ""
567
567
  };
568
568
  });
569
569
  }
570
570
  export {
571
- f as asSomeArray,
571
+ u as asSomeArray,
572
572
  d as extractLocalizedString,
573
573
  m as extractStringValue,
574
574
  a as getFirstItem,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@piveau/dpi",
3
3
  "type": "module",
4
- "version": "0.2.0-alpha.59",
4
+ "version": "0.2.0-alpha.60",
5
5
  "private": false,
6
6
  "sideEffects": [
7
7
  "*.css",