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

chart2music

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

chart2music - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6

1

dist/index.d.ts

@@ -96,3 +96,2 @@ interface AudioEngine {

private _providedAudioEngine?;
private _pauseFlag;
private _monitorMode;

@@ -99,0 +98,0 @@ private _type;

24

dist/index.js

@@ -1,2 +0,2 @@

var c2mChart = (function (exports, runtime, cardinals) {
var c2mChart = (function (exports) {
'use strict';

@@ -539,6 +539,2 @@

var en = {
message_intro: (d) => runtime.plural(d.count, 0, cardinals.en, { one: "Votre message se trouve ici.", other: "Vos " + runtime.number("en", d.count, 0) + " messages se trouvent ici." }) + "\n"
};
let context = null;

@@ -574,2 +570,10 @@ const convertDataRow = (row) => {

};
const prepChartElement = (elem, title) => {
if (!elem.hasAttribute("alt") && !elem.hasAttribute("aria-label")) {
elem.setAttribute("aria-label", `${title}, Sonified chart`);
}
if (!elem.hasAttribute("role")) {
elem.setAttribute("role", "img");
}
};
const c2mChart = (input) => {

@@ -614,7 +618,4 @@ const validationErrorString = validateInput(input);

};
this._pauseFlag = false;
this._monitorMode = false;
this._explicitAxes = {};
console.log(en);
console.log(en.message_intro({ count: 3 }));
this._type = input.type;

@@ -624,6 +625,3 @@ this._providedAudioEngine = input.audioEngine;

this._chartElement = input.element;
if (!this._chartElement.hasAttribute("alt") &&
!this._chartElement.hasAttribute("aria-label")) {
this._chartElement.setAttribute("aria-label", `${this._title}, Sonified chart`);
}
prepChartElement(this._chartElement, this._title);
this._ccElement = input.cc ?? this._chartElement;

@@ -1211,2 +1209,2 @@ this._setData(input.data, input.axes);

})({}, runtime, cardinals);
})({});
{
"name": "chart2music",
"version": "1.0.5",
"version": "1.0.6",
"main": "dist/index.js",

@@ -66,5 +66,5 @@ "module": "dist/index.mjs",

"prettier": "2.7.1",
"rimraf": "3.0.2",
"react": "17.0.2",
"react-dom": "17.0.2",
"rimraf": "3.0.2",
"rollup": "2.78.0",

@@ -71,0 +71,0 @@ "rollup-plugin-delete": "2.0.0",

Sorry, the diff of this file is not supported yet

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