New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

insomnia-xpath

Package Overview
Dependencies
Maintainers
1
Versions
93
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

insomnia-xpath - npm Package Compare versions

Comparing version 1.0.7 to 1.0.8

9

__tests__/index.test.js

@@ -15,6 +15,3 @@ const { query } = require('..');

['<x><y>foo</y><y>bar</y></x>', '//y'],
[
{ inner: 'foo', outer: '<y>foo</y>' },
{ inner: 'bar', outer: '<y>bar</y>' }
]
[{ inner: 'foo', outer: '<y>foo</y>' }, { inner: 'bar', outer: '<y>bar</y>' }]
);

@@ -35,6 +32,4 @@

it('handles invalid query', () => {
expect(() => query('<hi>there</hi>', '//[]')).toThrowError(
'Invalid XPath query: //[]'
);
expect(() => query('<hi>there</hi>', '//[]')).toThrowError('Invalid XPath query: //[]');
});
});
{
"name": "insomnia-xpath",
"version": "1.0.7",
"version": "1.0.8",
"author": "Gregory Schier <gschier1990@gmail.com>",

@@ -12,7 +12,7 @@ "description": "Query XML using XPath",

"dependencies": {
"insomnia-cookies": "^0.0.10",
"insomnia-cookies": "^0.0.11",
"xmldom": "^0.1.27",
"xpath": "0.0.27"
},
"gitHead": "2805a5f9fed4a804b9615ec82463b90f865c38ff"
"gitHead": "d0652a5b918564e19980afe6905027f7c8fda522"
}
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