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

@erickmerchant/framework

Package Overview
Dependencies
Maintainers
1
Versions
244
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@erickmerchant/framework - npm Package Compare versions

Comparing version 41.2.1 to 41.2.2

5

package.json
{
"name": "@erickmerchant/framework",
"version": "41.2.1",
"version": "41.2.2",
"description": "A front-end framework.",

@@ -29,7 +29,6 @@ "homepage": "https://github.com/erickmerchant/framework#readme",

},
"dependencies": {},
"devDependencies": {
"@erickmerchant/eslint-config": "^2.0.0",
"@erickmerchant/prettier-config": "^1.2.0",
"delay": "^4.4.0",
"delay": "^5.0.0",
"jsdom": "^16.4.0",

@@ -36,0 +35,0 @@ "uvu": "^0.5.0"

26

stringify.js

@@ -42,18 +42,22 @@ const escape = (str) =>

const reducedAttributes = attributes.reduce((acc, curr) => {
if (curr.key) {
if (curr.key.startsWith('on')) return acc
const reducedAttributes = Array.from({
*[Symbol.iterator]() {
for (const attribute of attributes) {
if (attribute.key) {
if (attribute.key.startsWith('on')) continue
acc.push(curr)
} else {
for (const [key, value] of Object.entries(variables[curr.value])) {
if (key.startsWith('on')) continue
yield attribute
} else {
for (const [key, value] of Object.entries(
variables[attribute.value]
)) {
if (key.startsWith('on')) continue
acc.push({key, value})
yield {key, value}
}
}
}
}
})
return acc
}, [])
for (const attr of reducedAttributes) {

@@ -60,0 +64,0 @@ let value = attr.value

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