@therms/web-js
Advanced tools
Comparing version 2.11.0 to 2.12.0
@@ -0,1 +1,17 @@ | ||
# [2.12.0](http://bitbucket.org/thermsio/web-js/compare/v2.11.0...v2.12.0) (2023-10-29) | ||
### Bug Fixes | ||
* arrayToCsv ([e319595](http://bitbucket.org/thermsio/web-js/commits/e3195958af7cd720cce117b601639eb990aa34aa)) | ||
* lint ([80fa950](http://bitbucket.org/thermsio/web-js/commits/80fa9507598950d277898ee0b566719990adfe1d)) | ||
* update deps ([e8dd940](http://bitbucket.org/thermsio/web-js/commits/e8dd940c767a3f3d9f76ece63bb274d84b7e3b4e)) | ||
* update deps ([767a3b9](http://bitbucket.org/thermsio/web-js/commits/767a3b96eaf08c3b28412c0b46920bf2b95574ff)) | ||
* update major version deps ([cbb07e4](http://bitbucket.org/thermsio/web-js/commits/cbb07e462fa3eaee7b29cf5d03602fcc1717bdbe)) | ||
### Features | ||
* add downlaodCsv function, update dev deps ([43095f9](http://bitbucket.org/thermsio/web-js/commits/43095f98a97f89e0dd6bc9225a513574b6072ed2)) | ||
# [2.11.0](http://bitbucket.org/thermsio/web-js/compare/v2.10.1...v2.11.0) (2023-06-09) | ||
@@ -2,0 +18,0 @@ |
@@ -489,2 +489,3 @@ import { CookieAttributes } from "js-cookie"; | ||
declare function downloadBase64AsPdf(fileName: string, pdfBase64: string): void; | ||
declare function downloadCSV(csvString: string, fileName: string): void; | ||
declare const deleteCookie: (name: string, opts?: CookieAttributes) => void; | ||
@@ -522,3 +523,3 @@ declare const getCookie: (name: string) => string | undefined; | ||
declare function deepFreeze(object: any, clone?: boolean): any; | ||
declare function deepMerge<T extends object = Record<any, any>>(target: T, ...sources: (T | Partial<T>)[]): T; | ||
declare function deepMerge<T extends Record<any, any>>(target: T, ...sources: Record<any, any>[]): T; | ||
declare function addStringBeforeFileNameExtension(filename: string, str: string): string; | ||
@@ -540,3 +541,3 @@ declare function getFileNameExtension(filename: string): string; | ||
readonly promise: Promise<T>; | ||
constructor(timeout?: boolean | number); | ||
constructor(timeout?: false | number); | ||
reject: (rejectReturnValue?: E) => any; | ||
@@ -565,2 +566,2 @@ resolve: (resolveReturnValue: T) => void; | ||
declare const globalVent: any; | ||
export { Timezone, timezones, checkIsBrowserVisible, onBrowserVisibilityChange, setBrowserTitle, flashBrowserTitle, b2bComms, Device, requestGeolocation, requestNotifications, requestPush, requestCamera, requestMicrophone, checkDevicePermissions, getDevice, isMobileDevice, downloadBase64AsPdf, deleteCookie, getCookie, setCookie, formatAddress, getColorContrast, randomHEXColor, dateWithinRange, getNumberWithOrdinal, humanizeMinutes, humanizeMillis, roundToNearestMin, setLocaleFirstDayOfWeek, getFormattedRelativeDate, deepClone, deepFreeze, deepMerge, addStringBeforeFileNameExtension, getFileNameExtension, removeFileNameExtension, getInitials, isEmail, isHexColor, isIsoDate, isUrl, isPlural, pluralize, PromiseTimeoutError, PromiseController, retryPromise, sleep, Vent, globalVent }; | ||
export { Timezone, timezones, checkIsBrowserVisible, onBrowserVisibilityChange, setBrowserTitle, flashBrowserTitle, b2bComms, Device, requestGeolocation, requestNotifications, requestPush, requestCamera, requestMicrophone, checkDevicePermissions, getDevice, isMobileDevice, downloadBase64AsPdf, downloadCSV, deleteCookie, getCookie, setCookie, formatAddress, getColorContrast, randomHEXColor, dateWithinRange, getNumberWithOrdinal, humanizeMinutes, humanizeMillis, roundToNearestMin, setLocaleFirstDayOfWeek, getFormattedRelativeDate, deepClone, deepFreeze, deepMerge, addStringBeforeFileNameExtension, getFileNameExtension, removeFileNameExtension, getInitials, isEmail, isHexColor, isIsoDate, isUrl, isPlural, pluralize, PromiseTimeoutError, PromiseController, retryPromise, sleep, Vent, globalVent }; |
@@ -489,2 +489,3 @@ import { CookieAttributes } from "js-cookie"; | ||
declare function downloadBase64AsPdf(fileName: string, pdfBase64: string): void; | ||
declare function downloadCSV(csvString: string, fileName: string): void; | ||
declare const deleteCookie: (name: string, opts?: CookieAttributes) => void; | ||
@@ -522,3 +523,3 @@ declare const getCookie: (name: string) => string | undefined; | ||
declare function deepFreeze(object: any, clone?: boolean): any; | ||
declare function deepMerge<T extends object = Record<any, any>>(target: T, ...sources: (T | Partial<T>)[]): T; | ||
declare function deepMerge<T extends Record<any, any>>(target: T, ...sources: Record<any, any>[]): T; | ||
declare function addStringBeforeFileNameExtension(filename: string, str: string): string; | ||
@@ -540,3 +541,3 @@ declare function getFileNameExtension(filename: string): string; | ||
readonly promise: Promise<T>; | ||
constructor(timeout?: boolean | number); | ||
constructor(timeout?: false | number); | ||
reject: (rejectReturnValue?: E) => any; | ||
@@ -565,2 +566,2 @@ resolve: (resolveReturnValue: T) => void; | ||
declare const globalVent: any; | ||
export { Timezone, timezones, checkIsBrowserVisible, onBrowserVisibilityChange, setBrowserTitle, flashBrowserTitle, b2bComms, Device, requestGeolocation, requestNotifications, requestPush, requestCamera, requestMicrophone, checkDevicePermissions, getDevice, isMobileDevice, downloadBase64AsPdf, deleteCookie, getCookie, setCookie, formatAddress, getColorContrast, randomHEXColor, dateWithinRange, getNumberWithOrdinal, humanizeMinutes, humanizeMillis, roundToNearestMin, setLocaleFirstDayOfWeek, getFormattedRelativeDate, deepClone, deepFreeze, deepMerge, addStringBeforeFileNameExtension, getFileNameExtension, removeFileNameExtension, getInitials, isEmail, isHexColor, isIsoDate, isUrl, isPlural, pluralize, PromiseTimeoutError, PromiseController, retryPromise, sleep, Vent, globalVent }; | ||
export { Timezone, timezones, checkIsBrowserVisible, onBrowserVisibilityChange, setBrowserTitle, flashBrowserTitle, b2bComms, Device, requestGeolocation, requestNotifications, requestPush, requestCamera, requestMicrophone, checkDevicePermissions, getDevice, isMobileDevice, downloadBase64AsPdf, downloadCSV, deleteCookie, getCookie, setCookie, formatAddress, getColorContrast, randomHEXColor, dateWithinRange, getNumberWithOrdinal, humanizeMinutes, humanizeMillis, roundToNearestMin, setLocaleFirstDayOfWeek, getFormattedRelativeDate, deepClone, deepFreeze, deepMerge, addStringBeforeFileNameExtension, getFileNameExtension, removeFileNameExtension, getInitials, isEmail, isHexColor, isIsoDate, isUrl, isPlural, pluralize, PromiseTimeoutError, PromiseController, retryPromise, sleep, Vent, globalVent }; |
{ | ||
"license": "UNLICENSED", | ||
"name": "@therms/web-js", | ||
"version": "2.11.0", | ||
"version": "2.12.0", | ||
"description": "Common web/JS tools & utilities", | ||
@@ -15,3 +15,3 @@ "main": "./dist/cjs.js", | ||
"scripts": { | ||
"build": "rm -rf dist && rollup -c", | ||
"build": "rm -rf dist && rollup -c --bundleConfigAsCjs", | ||
"prepublishOnly": "npm run build", | ||
@@ -28,24 +28,24 @@ "start": "rm -rf dist && rollup -c --watch", | ||
"devDependencies": { | ||
"@rollup/plugin-json": "^5.0.1", | ||
"@rollup/plugin-json": "^6.0.1", | ||
"@semantic-release/changelog": "^6.0.0", | ||
"@semantic-release/commit-analyzer": "^9.0.1", | ||
"@semantic-release/commit-analyzer": "^11.0.0", | ||
"@semantic-release/git": "^10.0.0", | ||
"@semantic-release/npm": "^9.0.1", | ||
"@semantic-release/release-notes-generator": "^10.0.2", | ||
"@semantic-release/npm": "^11.0.0", | ||
"@semantic-release/release-notes-generator": "^12", | ||
"@types/jest": "^29.0.3", | ||
"@types/js-cookie": "^3.0.1", | ||
"@typescript-eslint/eslint-plugin": "^5.33.1", | ||
"@typescript-eslint/parser": "^5.33.1", | ||
"@typescript-eslint/eslint-plugin": "^6.7.0", | ||
"@typescript-eslint/parser": "^6.7.0", | ||
"eslint": "^8.22.0", | ||
"eslint-config-americansoftware": "^9.0.3", | ||
"jest": "^29.0.3", | ||
"prettier": "^2.2.1", | ||
"prettier": "^3.0.3", | ||
"prettier-config-americansoftware": "^2.0.0", | ||
"rollup": "^2.44.0", | ||
"rollup": "^4.1.5", | ||
"rollup-plugin-auto-external": "^2.0.0", | ||
"rollup-plugin-ts": "^3.0.2", | ||
"semantic-release": "^19.0.3", | ||
"semantic-release": "^22", | ||
"ts-jest": "^29.0.1", | ||
"tslib": "^2.3.1", | ||
"typescript": "^4.4.3" | ||
"typescript": "^5.2.2" | ||
}, | ||
@@ -52,0 +52,0 @@ "dependencies": { |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
546669
6912