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

cfpb-chart-builder

Package Overview
Dependencies
Maintainers
8
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cfpb-chart-builder - npm Package Compare versions

Comparing version 4.0.2 to 4.0.3

2

package.json
{
"name": "cfpb-chart-builder",
"version": "4.0.2",
"version": "4.0.3",
"description": "Charts for the Consumer Financial Protection Bureau",

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

const ajax = require( 'xdr' );
const cache = require( './session-storage' );
/* IE9 doesn't allow XHR from different protocols so we check what protocol
is being used and accommodate it . */
let DATA_SOURCE_BASE = window.location.protocol.indexOf( 'https' ) === -1 ?
// HTTP-only endpoint
'//files.consumerfinance.gov.s3.amazonaws.com/data/' :
// HTTPS-only endpoint
'//files.consumerfinance.gov/data/';
let DATA_SOURCE_BASE = 'https://files.consumerfinance.gov/data/';
// Let browsers override the data source root (useful for localhost testing)
// Let browsers override the data source root (useful for localhost testing).
DATA_SOURCE_BASE = window.CFPB_CHART_DATA_SOURCE_BASE || DATA_SOURCE_BASE;

@@ -14,0 +8,0 @@

const ajax = require( './get-data' );
const cache = require( './session-storage' );
/* IE9 doesn't allow XHR from different protocols so we check what protocol
is being used and accommodate it . */
const DATA_SOURCE_BASE = window.location.protocol.indexOf( 'https' ) === -1 ?
// HTTP-only endpoint
'//files.consumerfinance.gov.s3.amazonaws.com/data/' :
// HTTPS-only endpoint
'//files.consumerfinance.gov/data/';
const DATA_SOURCE_BASE = 'https://files.consumerfinance.gov/data/';

@@ -12,0 +6,0 @@ const shapes = {

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