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

@boxyhq/saml20

Package Overview
Dependencies
Maintainers
4
Versions
89
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boxyhq/saml20 - npm Package Compare versions

Comparing version 1.4.11 to 1.4.12

10

dist/post.js
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createPostForm = void 0;
const escapeHtml = (unsafeHtml) => {
return unsafeHtml
.replace(/&/g, '&')
.replace(/</g, '&lt;')
.replace(/>/g, '&gt;')
.replace(/"/g, '&quot;')
.replace(/'/g, '&#039;');
};
const createPostForm = (postUrl, params) => {
const parr = (params || []).map(({ name, value }) => {
return `<input type="hidden" name="${name}" value="${value}"/>`;
return `<input type="hidden" name="${name}" value="${escapeHtml(value)}"/>`;
});

@@ -8,0 +16,0 @@ const formElements = [

10

package.json
{
"name": "@boxyhq/saml20",
"version": "1.4.11",
"version": "1.4.12",
"description": "SAML 2.0 token parser for Node.js",

@@ -51,6 +51,6 @@ "keywords": [

"@types/mocha": "10.0.6",
"@types/node": "20.11.17",
"@types/node": "20.11.19",
"@types/xml2js": "0.4.14",
"@typescript-eslint/eslint-plugin": "7.0.1",
"@typescript-eslint/parser": "7.0.1",
"@typescript-eslint/eslint-plugin": "7.0.2",
"@typescript-eslint/parser": "7.0.2",
"eslint": "8.56.0",

@@ -61,3 +61,3 @@ "eslint-config-prettier": "9.1.0",

"prettier": "3.2.5",
"release-it": "17.0.3",
"release-it": "17.1.1",
"ts-node": "10.9.2",

@@ -64,0 +64,0 @@ "tsconfig-paths": "4.2.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