Skip to content

chore(main): release 12.1.0 #811

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Changelog

## [12.1.0](https://github.com/zakodium-oss/react-science/compare/v12.0.0...v12.1.0) (2024-12-11)


### Features

* make Table component compatible with styled components libraries ([#813](https://github.com/zakodium-oss/react-science/issues/813)) ([a76181c](https://github.com/zakodium-oss/react-science/commit/a76181cd0c072345942670026961862409fe9b35))


### Bug Fixes

* **table_root:** show border when table is sticky ([#810](https://github.com/zakodium-oss/react-science/issues/810)) ([93fae28](https://github.com/zakodium-oss/react-science/commit/93fae283a43019afed22e395fa5aaec19e6a2bcb))

## [12.0.0](https://github.com/zakodium-oss/react-science/compare/v11.2.0...v12.0.0) (2024-12-09)


4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-science",
"version": "12.0.0",
"version": "12.1.0",
"description": "React components to build scientific applications UI",
"type": "module",
"exports": {

Unchanged files with check annotations Beta

for (const file of fileCollection.files) {
try {
if (/\.mpr$/i.test(file.name)) {
// TODO: load in parallel

Check warning on line 29 in src/app-data/loaders/biologicLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const mpr = parseMPR(await file.arrayBuffer());
const meta = mpr.settings.variables;
};
entries.push(result);
} else if (/\.mpt$/i.test(file.name)) {
// TODO: load in parallel

Check warning on line 46 in src/app-data/loaders/biologicLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const { data, settings } = parseMPT(await file.arrayBuffer());
if (data.variables) {
for (const file of fileCollection) {
if (/\.cdf$/i.test(file.name)) {
try {
// TODO: load in parallel

Check warning on line 24 in src/app-data/loaders/cdfLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const reader = new NetCDFReader(await file.arrayBuffer());
for (const file of fileCollection) {
if (/(?:\.jdx|\.dx)$/i.test(file.name)) {
try {
// TODO: load in parallel

Check warning on line 25 in src/app-data/loaders/jcampLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const parsed = convert(await file.text(), { keepRecordsRegExp: /.*/ });
for (const measurement of parsed.flatten) {
return newMeasurements;
}
function normalizeSpectra(spectra: any) {

Check warning on line 75 in src/app-data/loaders/jcampLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected any. Specify a different type
const data: any[] = [];

Check warning on line 76 in src/app-data/loaders/jcampLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected any. Specify a different type
for (const spectrum of spectra) {
let variables = spectrum.variables;
if (!variables) {
const logs: ParserLog[] = [];
const { loaders = [], enhancers = {}, logger } = options;
for (const loader of loaders) {
// TODO: load in parallel

Check warning on line 25 in src/app-data/loaders/loadMeasurements.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const loaderData = await loader(fileCollection, logger);
for (const { entries } of Object.values(loaderData)) {
for (const datum of measurement.data) {
for (const variable of Object.values(datum.variables)) {
if (variable.data.length === 0) {
// TODO: should we accept empty data?

Check warning on line 43 in src/app-data/loaders/loadMeasurements.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: should we accept empty data?'
return;
}
if (variable.min === undefined || variable.max === undefined) {
for (const file of fileCollection) {
if (/\.csv$/i.test(file.name)) {
try {
// TODO: load in parallel

Check warning on line 17 in src/app-data/loaders/proprietary/agilent/cary500Loader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const experiments = await convert(file);
for (const experiment of experiments) {
for (const file of fileCollection) {
if (/\.spc$/i.test(file.name)) {
try {
// TODO: load in parallel

Check warning on line 28 in src/app-data/loaders/spcLoader.ts

GitHub Actions / nodejs / lint-eslint

Unexpected 'todo' comment: 'TODO: load in parallel'
// eslint-disable-next-line no-await-in-loop
const parsed = parse(await file.arrayBuffer());
const spectraType: MeasurementKind = guessSpectraType(parsed.meta);