New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

xml2node

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xml2node - npm Package Compare versions

Comparing version
1.0.0
to
1.0.1
+1
-1
package.json
{
"name": "xml2node",
"version": "1.0.0",
"version": "1.0.1",
"description": "Simple and easy XML parser",

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

@@ -34,4 +34,2 @@ # Overview

<title>Original Title</title>
<flavor>RSS Example App</flavor>
<source>https://example.com</source>
</head>

@@ -59,4 +57,2 @@ <body>

console.log(node.get("opml").get("head").get("title").value()); // ->Original Title
console.log(node.get("opml").get("head").get("flavor").value()); // ->RSS Example App
console.log(node.get("opml").get("head").get("source").value()); // ->https://example.com
console.log(node.get("opml").get("body").get("outline",0).attr("text")); // -> Greeting

@@ -63,0 +59,0 @@ console.log(node.get("opml").get("body").get("outline",0).get("outline",0).attr("text")); // -> We say good morning in the morning.