Socket
Socket
Sign inDemoInstall

sitemap-b-framework

Package Overview
Dependencies
223
Maintainers
1
Versions
27
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.2.1 to 1.2.2

4

index.js

@@ -271,2 +271,3 @@ const fs = require('fs');

const xml = sitemapIndexXML.end({ prettyPrint: true });
console.log(`sitemap build success=> sitemap.xml`);
fs.writeFileSync(`${this.config.sitemapPath}build/sitemap.xml`, xml);

@@ -294,2 +295,3 @@ fs.writeFileSync(`${this.config.sitemapPath}build-${buildNo}/sitemap.xml`, xml);

const xml = sitemapXML.end({ prettyPrint: true });
console.log(`sitemap build success=> ${buildName}`);
fs.writeFileSync(`${this.config.sitemapPath}build/${buildName}`, xml);

@@ -315,2 +317,3 @@ fs.writeFileSync(`${this.config.sitemapPath}build-${buildNo}/${buildName}`, xml);

if (mode == 's3') {
console.log(`sitemap deploy to s3 started`);
const AWS = require('aws-sdk');

@@ -338,2 +341,3 @@ const s3 = new AWS.S3({

} else if (mode == 'gcs') {
console.log(`sitemap deploy to gcs started`);
const { Storage } = require('@google-cloud/storage')

@@ -340,0 +344,0 @@ const storage = new Storage({

5

package.json
{
"name": "sitemap-b-framework",
"version": "1.2.1",
"version": "1.2.2",
"description": "Advanced Sitemap Management, Generating & Deployment Framework",

@@ -19,3 +19,4 @@ "main": "index.js",

"sitemap-framework",
"xml-sitemap"
"xml-sitemap",
"sitemap-on-bucket"
],

@@ -22,0 +23,0 @@ "repository": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc