Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@symbo.ls/atoms

Package Overview
Dependencies
Maintainers
0
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@symbo.ls/atoms - npm Package Compare versions

Comparing version 2.11.480 to 2.11.491

12

Iframe.js

@@ -11,3 +11,13 @@ 'use strict'

attr: {
src: ({ props }) => props.src,
src: (el, s) => {
let src = el.call('exec', el.props.src, el)
if (el.call('isString', src) && src.includes('{{')) {
src = el.call('replaceLiteralsWithObjectFields', src)
}
let isUrl
try { isUrl = new URL(src) } catch (e) {}
if (isUrl) return src
},
srcdoc: ({ props }) => props.srcdoc,

@@ -14,0 +24,0 @@ sandbox: ({ props }) => props.sandbox,

7

Img.js

@@ -9,7 +9,6 @@ 'use strict'

const { props, context } = el
const { exec, isString, replaceLiteralsWithObjectFields } = context.utils
let src = (props.preSrc || '') + exec(props.src, el)
let src = (props.preSrc || '') + el.call('exec', props.src, el)
if (isString(src) && src.includes('{{')) {
src = replaceLiteralsWithObjectFields(src, el.state)
if (el.call('isString', src) && src.includes('{{')) {
src = el.call('replaceLiteralsWithObjectFields', src)
}

@@ -16,0 +15,0 @@

{
"name": "@symbo.ls/atoms",
"version": "2.11.480",
"version": "2.11.491",
"main": "index.js",
"license": "MIT",
"gitHead": "14db2b8d241d45fa80f588a2e0a6c50f5dbd8bee",
"gitHead": "ddd06b2b342480b2e20c02df04f9856d4ddf7060",
"dependencies": {

@@ -8,0 +8,0 @@ "@domql/state": "^2.5.0",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc