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

xmldoc

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xmldoc - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

1

examples/example.js

@@ -17,2 +17,3 @@

console.log("Found book with title: '%s'", book.attr.title);
console.log("==> The <book> tag started at position %s and the complete element ended at line %s, column %s, position %s.", book.startTagPosition, book.line, book.column, book.position);
});

@@ -19,0 +20,0 @@

@@ -37,2 +37,3 @@ (function () {

this.position = parser.position;
this.startTagPosition = parser.startTagPosition;
}

@@ -39,0 +40,0 @@

2

package.json

@@ -9,3 +9,3 @@ {

},
"version": "0.2.0",
"version": "0.3.0",
"main": "./index",

@@ -12,0 +12,0 @@ "dependencies": {

@@ -39,2 +39,3 @@

* `firstChild`, `lastChild` - pretty much what it sounds like; null if no children
* `line`, `column`, `position`, `startTagPosition` - information about the element's original position in the XML string.

@@ -41,0 +42,0 @@ Each member defaults to a sensible "empty" value like `{}` for `attr`, `[]` for `children`, and `""` for `val`.

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