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

easy-html-injector

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

easy-html-injector - npm Package Compare versions

Comparing version 1.0.4 to 1.0.5

6

dist/index.d.ts

@@ -10,4 +10,10 @@ type HtmlElement = {

};
/**
* Simple function to inject an element into an html string.
* @param html
* @param element
* @returns html with injected element
*/
declare function inject(html: string, element: HtmlElement): string;
export { inject };

5

package.json
{
"name": "easy-html-injector",
"version": "1.0.4",
"version": "1.0.5",
"description": "A simple HTML injector for Node.js",

@@ -32,7 +32,4 @@ "main": "dist/index.js",

"ava": "5.2.0",
"@ava/typescript": "4.0.0",
"ts-node": "10.9.1",
"cheerio": "1.0.0-rc.12",
"benchmarkify": "3.0.0",
"@jsperf.dev/reporter": "0.2.0",
"tsup": "6.6.3",

@@ -39,0 +36,0 @@ "@jsperf.dev/benchmark": "0.3.4"

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