Socket
Socket
Sign inDemoInstall

@bufferapp/analyze-csv-export

Package Overview
Dependencies
43
Maintainers
34
Versions
58
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.76.0 to 1.77.0

20

middleware.js

@@ -0,3 +1,8 @@

import { BufferTracker } from '@bufferapp/buffer-tracking-browser-ts';
import { actions as analyticsActions } from '@bufferapp/analytics-middleware';
import { getNumOfDaysForDateRange, getRouteElements } from '@bufferapp/analyze-shared-components/utils';
import {
getNumOfDaysForDateRange,
getRouteElements,
} from '@bufferapp/analyze-shared-components/utils';
import { getOrganizationIdFromStore } from '@bufferapp/analytics-middleware/middleware';
import { actionTypes, actions } from './reducer';

@@ -26,2 +31,15 @@ import generateCSVsFromCharts from './lib/generateCSVFromChart';

next(action);
})
.catch(() => {
const { profiles } = store.getState();
const organizationId = getOrganizationIdFromStore(store);
BufferTracker.analyticsExportFailed({
channel: profiles.selectedProfile.channelId,
clientName: 'analytics',
exportType: 'csv',
organizationId,
product: 'analytics',
reportId: routeElements.name,
});
});

@@ -28,0 +46,0 @@ default:

3

package.json
{
"name": "@bufferapp/analyze-csv-export",
"version": "1.76.0",
"version": "1.77.0",
"description": "CSV export button",

@@ -13,2 +13,3 @@ "main": "index.js",

"dependencies": {
"@bufferapp/buffer-tracking-browser-ts": "^0.0.54",
"dataurl-to-blob": "^0.0.1",

@@ -15,0 +16,0 @@ "file-saver": "^1.3.3",

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc