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

@barchart/marketdata-api-js

Package Overview
Dependencies
Maintainers
1
Versions
170
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@barchart/marketdata-api-js - npm Package Compare versions

Comparing version 5.7.4 to 5.7.5

2

lib/meta.js

@@ -5,4 +5,4 @@ module.exports = (() => {

return {
version: '5.7.4'
version: '5.7.5'
};
})();

@@ -376,3 +376,3 @@ const is = require('@barchart/common-js/lang/is');

types.equities = {};
types.equities.options = /^([A-Z\$][A-Z\-]{0,})([0-9]?)(\.[A-Z]{2})?\|([[0-9]{4})([[0-9]{2})([[0-9]{2})\|([0-9]+\.[0-9]+)[P|W]?(C|P)/i;
types.equities.options = /^([A-Z\$][A-Z\-]{0,}(\.[A-Z]{1})?)([0-9]?)(\.[A-Z]{2})?\|([[0-9]{4})([[0-9]{2})([[0-9]{2})\|([0-9]+\.[0-9]+)[P|W]?(C|P)/i;

@@ -475,3 +475,3 @@ types.forex = /^\^([A-Z]{3})([A-Z]{3})$/i;

if (match !== null) {
const suffix = typeof match[3] !== 'undefined' ? match[3] : '';
const suffix = typeof match[4] !== 'undefined' ? match[4] : '';

@@ -483,11 +483,11 @@ definition = {};

definition.option_type = match[8] === 'C' ? 'call' : 'put';
definition.strike = parseFloat(match[7]);
definition.option_type = match[9] === 'C' ? 'call' : 'put';
definition.strike = parseFloat(match[8]);
definition.root = `${match[1]}${suffix}`;
definition.month = parseInt(match[5]);
definition.day = parseInt(match[6]);
definition.year = parseInt(match[4]);
definition.month = parseInt(match[6]);
definition.day = parseInt(match[7]);
definition.year = parseInt(match[5]);
definition.adjusted = match[2] !== '';
definition.adjusted = match[3] !== '';
}

@@ -494,0 +494,0 @@

{
"name": "@barchart/marketdata-api-js",
"version": "5.7.4",
"version": "5.7.5",
"description": "SDK for streaming market data from Barchart.com",

@@ -5,0 +5,0 @@ "author": {

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