@teleporthq/teleport-shared
Advanced tools
Comparing version 0.39.0-alpha.0 to 0.40.0-alpha.0
@@ -110,5 +110,8 @@ "use strict"; | ||
} | ||
if (!originalString.startsWith('/')) { | ||
if (typeof originalString !== 'string') { | ||
return originalString; | ||
} | ||
if (!(originalString === null || originalString === void 0 ? void 0 : originalString.startsWith('/'))) { | ||
return originalString; | ||
} | ||
var prefix = assets.prefix, _a = assets.mappings, mappings = _a === void 0 ? {} : _a, identifier = assets.identifier; | ||
@@ -115,0 +118,0 @@ var assetName = (0, path_1.basename)(originalString); |
@@ -98,5 +98,8 @@ var __assign = (this && this.__assign) || function () { | ||
} | ||
if (!originalString.startsWith('/')) { | ||
if (typeof originalString !== 'string') { | ||
return originalString; | ||
} | ||
if (!(originalString === null || originalString === void 0 ? void 0 : originalString.startsWith('/'))) { | ||
return originalString; | ||
} | ||
var prefix = assets.prefix, _a = assets.mappings, mappings = _a === void 0 ? {} : _a, identifier = assets.identifier; | ||
@@ -103,0 +106,0 @@ var assetName = basename(originalString); |
{ | ||
"name": "@teleporthq/teleport-shared", | ||
"version": "0.39.0-alpha.0", | ||
"version": "0.40.0-alpha.0", | ||
"description": "A utility belt for the entire teleportHQ ecosystem", | ||
@@ -28,7 +28,7 @@ "author": "teleportHQ", | ||
"@babel/types": "^7.5.5", | ||
"@teleporthq/teleport-types": "^0.39.0-alpha.0", | ||
"@teleporthq/teleport-types": "^0.40.0-alpha.0", | ||
"jss": "^10.0.0", | ||
"jss-preset-default": "^10.0.0" | ||
}, | ||
"gitHead": "df4d50cae0177aa1ee5bc96dbc54b8d0bb39b040" | ||
"gitHead": "489527c223db2be2981b4291282e5c47d1e2f1db" | ||
} |
@@ -133,6 +133,10 @@ import { | ||
if (!originalString.startsWith('/')) { | ||
if (typeof originalString !== 'string') { | ||
return originalString | ||
} | ||
if (!originalString?.startsWith('/')) { | ||
return originalString | ||
} | ||
const { prefix, mappings = {}, identifier } = assets | ||
@@ -139,0 +143,0 @@ const assetName = basename(originalString) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
238962
3440
+ Added@teleporthq/teleport-types@0.40.0-alpha.0(transitive)
- Removed@teleporthq/teleport-types@0.39.0-alpha.0(transitive)