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

@kasko/quote-calculator-js

Package Overview
Dependencies
Maintainers
10
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kasko/quote-calculator-js - npm Package Compare versions

Comparing version 1.1.2 to 1.2.0

20

CHANGELOG.md
# Changelog
## [v1.2.0](https://github.com/kasko/quote-calculator-js-lib/compare/v1.1.2...v1.2.0) (2024-02-08)
## Feature
- `debugger` - Adds debugger app;
- `debugger` - Adds formula stack trace;
- `debugger` - Updates styling and cell editing;
## Bugfix
- `debugger` - Fix Date preview;
- `debugger` - Preserve test formula in sessionStorage;
- `formulas` - Fixes TODAY() issue with timezones;
- `calculator` - Fixes issue with shared json pricing object in lambda;
- `formula` - MAX: allow date values to be in input;
- `formula` - MAXA: allow date values to be in input;
- `formula` - MIN: allow date values to be in input;
- `formula` - MINA: allow date values to be in input;
## Other
- `calculator` - Adds error message logs from cells via `console.error`;
- Upgrade esbuild dependency;
## [v1.1.2](https://github.com/kasko/quote-calculator-js-lib/compare/v1.1.1...v1.1.2) (2024-01-16)

@@ -3,0 +23,0 @@ ## Bugfix

3

dist/calculator.d.ts

@@ -111,2 +111,5 @@ import { parseXLSX } from '../../sheet-reader/src/parser.js';

private transformOutputValue;
setValue(newValue: any, cellRef: string, sheetRef?: string): void;
getFormula(cellRef: string, sheetRef?: string): string | undefined;
parseFormula(formula: string, sheetRef?: string): readonly [any, any];
/**

@@ -113,0 +116,0 @@ * Recalculate and return value cell and sheet:

17

package.json
{
"name": "@kasko/quote-calculator-js",
"version": "1.1.2",
"version": "1.2.0",
"description": "KASKO Spreadsheet Quote Calculator",

@@ -9,4 +9,5 @@ "main": "dist/calculator.js",

"build": "yarn generate && yarn build:calculator && yarn build:parser && yarn declarations",
"generate": "cd packages/formula-parser/src/grammar-parser && jison grammar-parser.jison",
"build:calculator": "esbuild --log-level=info --bundle packages/calculator/src/calculator.ts --outdir=dist --minify --format=cjs --target=es2015 --platform=node --sourcemap",
"debug": "yarn build:calculator && node debugger/debug.js",
"generate": "cd packages/formula-parser/src/grammar-parser && jison grammar-parser.jison --module-type=js --outfile=grammar-parser.cjs && echo 'exports.Parser = grammarParser.Parser;' >> grammar-parser.cjs",
"build:calculator": "esbuild --log-level=info --legal-comments=none --bundle packages/calculator/src/calculator.ts --outdir=dist --minify --format=cjs --target=es2015 --platform=node --sourcemap",
"build:parser": "esbuild --log-level=info --bundle --platform=node --minify --outdir=bin packages/bin/parse-xlsx.js",

@@ -20,3 +21,3 @@ "build:binary:parser": "yarn build:parser && npx pkg bin/parse-xlsx.js -t node18-linux,node18-macos -o binaries/parse-xlsx",

"test:generic": "uvu test/generic",
"lint": "eslint --ext .js,.ts ./packages ./lambda",
"lint": "biome ci ./packages ./lambda ./debugger ./test",
"declarations": "tsc --declarationDir dist --emitDeclarationOnly --declaration"

@@ -31,10 +32,12 @@ },

"jstat": "^1.9.3",
"klona": "^2.0.6",
"ssf": "^0.11.2"
},
"devDependencies": {
"@biomejs/biome": "^1.5.3",
"@types/node": "^14.14.35",
"esbuild": "^0.9.6",
"eslint": "^7.22.0",
"eslint-config-kasko-typescript-base": "^1.0.1",
"esbuild": "^0.19.11",
"exome": "^2.4.0",
"jison": "^0.4.18",
"preact": "^10.19.3",
"typescript": "^4.2.3",

@@ -41,0 +44,0 @@ "uvu": "^0.5.6"

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

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

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