Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

c3

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

c3 - npm Package Compare versions

Comparing version 0.7.6 to 0.7.7

2

package.json
{
"name": "c3",
"version": "0.7.6",
"version": "0.7.7",
"description": "D3-based reusable chart library",

@@ -5,0 +5,0 @@ "main": "c3.js",

@@ -89,4 +89,9 @@ import CLASS from './class';

ChartInternal.prototype.getTargetSelectorSuffix = function (targetId) {
return this.generateTargetClass(targetId)
.replace(/([?!@#$%^&*()_=+,.<>'":;\[\]\/|~`{}\\])/g, '\\$1');
const targetClass = this.generateTargetClass(targetId);
if (window.CSS && window.CSS.escape) {
return window.CSS.escape(targetClass);
}
// fallback on imperfect method for old browsers (does not handles unicode)
return targetClass.replace(/([?!@#$%^&*()=+,.<>'":;\[\]\/|~`{}\\])/g, '\\$1');
};

@@ -93,0 +98,0 @@ ChartInternal.prototype.selectorTarget = function (id, prefix) {

@@ -23,3 +23,3 @@ import {

var c3 = {
version: "0.7.6",
version: "0.7.7",
chart: {

@@ -26,0 +26,0 @@ fn: Chart.prototype,

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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