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.20 to 0.1.21

7

index.js

@@ -6,7 +6,2 @@ import babelParser from "@babel/parser";

//const babelParser = require("@babel/parser");
//const fs = require("fs");
//const PropTypes = require("prop-types");
//const { warn } = require("console");
const buildSitemap = (fileName, buildPath, url) => {

@@ -201,2 +196,2 @@ // check for file type (typescript/javascript)

module.exports.buildSitemap = require("esm")("buildSitemap");
export default buildSitemap;

9

package.json
{
"name": "react-build-sitemap",
"version": "0.1.20",
"version": "0.1.21",
"description": "simple library that generates a sitemap from your react router",
"main": "./index.js",
"type": "commonjs",
"exports": {
"require": "./index.js",
"default": "./index.mjs"
},
"type": "module",
"scripts": {

@@ -51,5 +47,4 @@ "test": "echo \"Error: no test specified\" && exit 1",

"babel-preset-react": "^6.24.1",
"esm": "^3.2.25",
"jsx": "^0.9.89"
}
}
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