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

xpath

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xpath - npm Package Compare versions

Comparing version 0.0.8 to 0.0.9

2

package.json
{
"name": "xpath",
"version": "0.0.8",
"version": "0.0.9",
"description": "DOM 3 Xpath implemention and helper for node.js.",

@@ -5,0 +5,0 @@ "engines": {

@@ -151,3 +151,13 @@ var xpath = require('./xpath.js')

test.done();
}
},
'evaluate substring-after': function (test) {
var xml = '<classmate>Hermione</classmate>';
var doc = new dom().parseFromString(xml);
var part = xpath.select('substring-after(/classmate, "Her")', doc);
assert.deepEqual('mione', part);
test.done();
}
}

Sorry, the diff of this file is too big to display

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