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

lc-xpath

Package Overview
Dependencies
Maintainers
3
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lc-xpath - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4

2

lib/to-css.js

@@ -70,3 +70,3 @@ const tt = require('./tokentype');

case 'positionFilter':
return ':nth-child(' + (node.position - 1) + ')';
return ':nth-child(' + node.position + ')';
case 'attributeFilter':

@@ -73,0 +73,0 @@ return attrFilterToStr(node);

{
"name": "lc-xpath",
"version": "1.0.3",
"version": "1.0.4",
"description": "convert xpath to css selector / jquery selector / sizzle selector",

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

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