inferred-types 0.55.1 → 0.55.2

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.
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  ACCELERATION_METRICS_LOOKUP: () => ACCELERATION_METRICS_LOOKUP,
24
24
  ALPHA_CHARS: () => ALPHA_CHARS,
25
25
  AMAZON_BOOKS: () => AMAZON_BOOKS,
@@ -208,7 +208,7 @@ __export(src_exports, {
208
208
  ZIP_TO_STATE: () => ZIP_TO_STATE,
209
209
  createConstant: () => createConstant
210
210
  });
211
- module.exports = __toCommonJS(src_exports);
211
+ module.exports = __toCommonJS(index_exports);
212
212
 
213
213
  // src/Alpha.ts
214
214
  var LOWER_ALPHA_CHARS = [
@@ -18,8 +18,8 @@ var __copyProps = (to, from, except, desc) => {
18
18
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
19
19
 
20
20
  // src/index.ts
21
- var src_exports = {};
22
- __export(src_exports, {
21
+ var index_exports = {};
22
+ __export(index_exports, {
23
23
  ACCELERATION_METRICS_LOOKUP: () => ACCELERATION_METRICS_LOOKUP,
24
24
  ALPHA_CHARS: () => ALPHA_CHARS,
25
25
  AMAZON_BOOKS: () => AMAZON_BOOKS,
@@ -682,7 +682,7 @@ __export(src_exports, {
682
682
  youtubeEmbed: () => youtubeEmbed,
683
683
  youtubeMeta: () => youtubeMeta
684
684
  });
685
- module.exports = __toCommonJS(src_exports);
685
+ module.exports = __toCommonJS(index_exports);
686
686
 
687
687
  // ../constants/dist/index.js
688
688
  var LOWER_ALPHA_CHARS = [
@@ -6104,6 +6104,9 @@ function intersect(value, _intersectedWith) {
6104
6104
  return value;
6105
6105
  }
6106
6106
  function stripTrailing(content, ...strip2) {
6107
+ if (isUndefined(content)) {
6108
+ return void 0;
6109
+ }
6107
6110
  let output = String(content);
6108
6111
  for (const s of strip2) {
6109
6112
  if (output.endsWith(String(s))) {
@@ -7260,6 +7263,9 @@ function stripChars(content, ...strip2) {
7260
7263
  return chars.filter((c) => !strip2.includes(c)).join("");
7261
7264
  }
7262
7265
  function stripLeading(content, ...strip2) {
7266
+ if (isUndefined(content)) {
7267
+ return void 0;
7268
+ }
7263
7269
  let output = String(content);
7264
7270
  for (const s of strip2) {
7265
7271
  if (output.startsWith(String(s))) {