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

react-build-sitemap

Package Overview
Dependencies
Maintainers
1
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-build-sitemap - npm Package Compare versions

Comparing version 0.1.25 to 0.1.26

3

index.js

@@ -25,3 +25,2 @@ import babelParser from "@babel/parser";

}
const jsxFile = fs.readFileSync(fileName, "utf8");
const sitemapElements = [

@@ -37,3 +36,3 @@ '<?xml version="1.0" encoding="UTF-8?">',

const jsxTree = JSON.stringify(
babelParser.parse(jsxFile, {
babelParser.parse(fileName, {
sourceType: "unambiguous",

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

{
"name": "react-build-sitemap",
"version": "0.1.25",
"version": "0.1.26",
"type": "module",

@@ -5,0 +5,0 @@ "description": "simple library that generates a sitemap from your react router",

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