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

hyperstream

Package Overview
Dependencies
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hyperstream - npm Package Compare versions

Comparing version 1.1.0 to 1.2.0

test/append_prop.js

11

index.js

@@ -102,3 +102,12 @@ var trumpet = require('trumpet');

}
else elem.setAttribute(prop, value[prop]);
else {
var vp = value[prop];
if (vp && (vp.append || vp.prepend)) {
var cur = elem.getAttribute(prop) || '';
if (vp.append) cur += vp.append;
if (vp.prepend) cur = vp.prepend + cur;
elem.setAttribute(prop, cur);
}
else elem.setAttribute(prop, vp);
}
});

@@ -105,0 +114,0 @@ }

2

package.json
{
"name": "hyperstream",
"version": "1.1.0",
"version": "1.2.0",
"description": "stream html into html at a css selector",

@@ -5,0 +5,0 @@ "main": "index.js",

Sorry, the diff of this file is not supported yet

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