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

@tramvai/safe-strings

Package Overview
Dependencies
Maintainers
3
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tramvai/safe-strings - npm Package Compare versions

Comparing version 0.5.10 to 0.5.11

2

lib/safeStringify.d.ts
/**
* Stringify object and encode possible XSS and breaking code symbols for insertion result into script tag
*/
export declare const safeStringify: (json: Record<string, any>) => string;
export declare const safeStringify: (json: any) => string;
{
"name": "@tramvai/safe-strings",
"version": "0.5.10",
"version": "0.5.11",
"description": "",

@@ -5,0 +5,0 @@ "main": "lib/utils.js",

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