@symbo.ls/atoms 2.29.44 → 2.29.45

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.
Files changed (3) hide show
  1. package/Iframe.js +3 -1
  2. package/Img.js +1 -1
  3. package/package.json +6 -6
package/Iframe.js CHANGED
@@ -16,7 +16,9 @@ export const Iframe = {
16
16
  }
17
17
 
18
18
  let isUrl
19
- try { isUrl = new URL(src) } catch (e) {}
19
+ try { isUrl = new URL(src) } catch (e) {
20
+ console.error(e)
21
+ }
20
22
  if (isUrl) return src
21
23
  },
22
24
  srcdoc: ({ props }) => props.srcdoc,
package/Img.js CHANGED
@@ -13,7 +13,7 @@ export const Img = {
13
13
  }
14
14
 
15
15
  let isUrl
16
- try { isUrl = new URL(src) } catch (e) {}
16
+ try { isUrl = new URL(src) } catch (e) { console.error(e) }
17
17
  if (isUrl) return src
18
18
  const file = context.files && context.files[src]
19
19
  if (file) return file.content && file.content.src
package/package.json CHANGED
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "name": "@symbo.ls/atoms",
3
- "version": "2.29.44",
3
+ "version": "2.29.45",
4
4
  "main": "index.js",
5
5
  "license": "MIT",
6
- "gitHead": "5eb985eb30c6abe3f450a1d164e5e99ec15ef1fd",
6
+ "gitHead": "ef263e00cf40e293b41497f7609a1b7707c0f2b1",
7
7
  "dependencies": {
8
- "@domql/state": "^2.29.44",
9
- "@domql/utils": "^2.29.44",
10
- "@symbo.ls/emotion": "^2.29.44",
11
- "@symbo.ls/scratch": "^2.29.44"
8
+ "@domql/state": "^2.29.45",
9
+ "@domql/utils": "^2.29.45",
10
+ "@symbo.ls/emotion": "^2.29.45",
11
+ "@symbo.ls/scratch": "^2.29.45"
12
12
  },
13
13
  "source": "src/index.js",
14
14
  "devDependencies": {