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

xml-beautify

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml-beautify - npm Package Compare versions

Comparing version 1.2.2 to 1.2.3

2

dist/XmlBeautify.js.LICENSE.txt

@@ -1,1 +0,1 @@

/*! XmlBeautify v1.2.2 Copyright (c) 2019-2022 https://github.com/riversun(riversun.org@gmail.com) */
/*! XmlBeautify v1.2.3 Copyright (c) 2019-2022 https://github.com/riversun(riversun.org@gmail.com) */
/**
* To use it with node.js, install an external DOMParser as follows
* `npm install xmldom`
* `npm install @xmldom/xmldom`
* @type {*}
*/
const XmlBeautify = require("../dist/XmlBeautify.js");
const { DOMParser } = require('xmldom');// When used in a node.js environment, DOMParser is needed.
const { DOMParser } = require('@xmldom/xmldom');// When used in a node.js environment, DOMParser is needed.
const srcXmlText = `<?xml version="1.0" encoding="utf-8"?><example version="2.0">

@@ -9,0 +9,0 @@ <head>

{
"name": "xml-beautify",
"version": "1.2.2",
"version": "1.2.3",
"description": "XML pretty formatter that corresponds to the self-closing empty elements.",

@@ -25,2 +25,3 @@ "main": "dist/XmlBeautify.js",

"@babel/preset-env": "^7.16.11",
"@xmldom/xmldom": "^0.8.2",
"babel-jest": "^27.5.1",

@@ -32,4 +33,3 @@ "babel-loader": "^8.2.4",

"webpack-cli": "^4.9.2",
"webpack-dev-server": "^4.8.1",
"xmldom": "^0.6.0"
"webpack-dev-server": "^4.8.1"
},

@@ -36,0 +36,0 @@ "directories": {

Sorry, the diff of this file is not supported yet

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