From cdcc596a8ab0a4ccc766efbd229f39e389b61558 Mon Sep 17 00:00:00 2001 From: Carlo Barone Date: Tue, 14 Feb 2023 10:00:35 +0100 Subject: [PATCH] fix: memoize imported from utils in omnitable treenode --- package-lock.json | 31 ++++++++++++++++--------------- package.json | 3 ++- utils.js | 2 +- 3 files changed, 19 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index df14b15..f9cc6cd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10,9 +10,10 @@ "license": "Apache-2.0", "dependencies": { "@neovici/cosmoz-autocomplete": "^5.0.0", - "@neovici/cosmoz-omnitable": "^11.0.0 || ^12.0.0", + "@neovici/cosmoz-omnitable": "^12.7.2", "@neovici/cosmoz-tree": "^3.0.0", "@neovici/cosmoz-treenode": "^5.0.0", + "@neovici/cosmoz-utils": "^5.12.1", "@polymer/paper-spinner": "^3.0.0", "@polymer/polymer": "^3.4.1", "lit-html": "^2.0.0" @@ -2582,9 +2583,9 @@ } }, "node_modules/@neovici/cosmoz-omnitable": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@neovici/cosmoz-omnitable/-/cosmoz-omnitable-12.6.0.tgz", - "integrity": "sha512-F7W0e6FTUEQgSY/RtEkjC7YsrJT/0yQC/S8NBjcGDwyTM0ExttrkJbNFmm4cClbi4JCzAFFbltkx6lBrsULzMA==", + "version": "12.7.2", + "resolved": "https://registry.npmjs.org/@neovici/cosmoz-omnitable/-/cosmoz-omnitable-12.7.2.tgz", + "integrity": "sha512-qqnYgdHrmuOgwcR+vxPJOxCcEt9DLc+cvfcGB39OGWDrrNEYQXuHIKoC/7jGaRPQ70E6uy//ua/wOEdWq1tcMA==", "dependencies": { "@neovici/cosmoz-autocomplete": "^5.0.0", "@neovici/cosmoz-bottom-bar": "^6.0.0", @@ -2594,7 +2595,7 @@ "@neovici/cosmoz-grouped-list": "^6.0.0", "@neovici/cosmoz-i18next": "^3.1.1", "@neovici/cosmoz-router": "^10.0.0", - "@neovici/cosmoz-utils": "^5.0.0", + "@neovici/cosmoz-utils": "^5.12.1", "@neovici/nullxlsx": "^3.0.0", "@polymer/iron-icon": "^3.0.0", "@polymer/iron-icons": "^3.0.0", @@ -2633,9 +2634,9 @@ } }, "node_modules/@neovici/cosmoz-utils": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@neovici/cosmoz-utils/-/cosmoz-utils-5.8.0.tgz", - "integrity": "sha512-Fuct8xIXVHJwEN/OpbdSDKEQGUJ/ezCvY2Xv1DSnpHz3oUIbNTfcKSQrPO01YX+q1Nw0GjSkO2aPz74LC2cK+g==", + "version": "5.12.1", + "resolved": "https://registry.npmjs.org/@neovici/cosmoz-utils/-/cosmoz-utils-5.12.1.tgz", + "integrity": "sha512-CKcnLD/iJHaeEgKXT9Lu8ikYXiH6SVMPZBeNqSLi1Q6SXjbrv5ihIWnONlbVIzW6J5VcSOCVqxi7UUIxpW8EZg==", "dependencies": { "haunted": "^5.0.0" } @@ -19117,9 +19118,9 @@ } }, "@neovici/cosmoz-omnitable": { - "version": "12.6.0", - "resolved": "https://registry.npmjs.org/@neovici/cosmoz-omnitable/-/cosmoz-omnitable-12.6.0.tgz", - "integrity": "sha512-F7W0e6FTUEQgSY/RtEkjC7YsrJT/0yQC/S8NBjcGDwyTM0ExttrkJbNFmm4cClbi4JCzAFFbltkx6lBrsULzMA==", + "version": "12.7.2", + "resolved": "https://registry.npmjs.org/@neovici/cosmoz-omnitable/-/cosmoz-omnitable-12.7.2.tgz", + "integrity": "sha512-qqnYgdHrmuOgwcR+vxPJOxCcEt9DLc+cvfcGB39OGWDrrNEYQXuHIKoC/7jGaRPQ70E6uy//ua/wOEdWq1tcMA==", "requires": { "@neovici/cosmoz-autocomplete": "^5.0.0", "@neovici/cosmoz-bottom-bar": "^6.0.0", @@ -19129,7 +19130,7 @@ "@neovici/cosmoz-grouped-list": "^6.0.0", "@neovici/cosmoz-i18next": "^3.1.1", "@neovici/cosmoz-router": "^10.0.0", - "@neovici/cosmoz-utils": "^5.0.0", + "@neovici/cosmoz-utils": "^5.12.1", "@neovici/nullxlsx": "^3.0.0", "@polymer/iron-icon": "^3.0.0", "@polymer/iron-icons": "^3.0.0", @@ -19168,9 +19169,9 @@ } }, "@neovici/cosmoz-utils": { - "version": "5.8.0", - "resolved": "https://registry.npmjs.org/@neovici/cosmoz-utils/-/cosmoz-utils-5.8.0.tgz", - "integrity": "sha512-Fuct8xIXVHJwEN/OpbdSDKEQGUJ/ezCvY2Xv1DSnpHz3oUIbNTfcKSQrPO01YX+q1Nw0GjSkO2aPz74LC2cK+g==", + "version": "5.12.1", + "resolved": "https://registry.npmjs.org/@neovici/cosmoz-utils/-/cosmoz-utils-5.12.1.tgz", + "integrity": "sha512-CKcnLD/iJHaeEgKXT9Lu8ikYXiH6SVMPZBeNqSLi1Q6SXjbrv5ihIWnONlbVIzW6J5VcSOCVqxi7UUIxpW8EZg==", "requires": { "haunted": "^5.0.0" } diff --git a/package.json b/package.json index f524d58..62eb4ea 100644 --- a/package.json +++ b/package.json @@ -55,9 +55,10 @@ }, "dependencies": { "@neovici/cosmoz-autocomplete": "^5.0.0", - "@neovici/cosmoz-omnitable": "^11.0.0 || ^12.0.0", + "@neovici/cosmoz-omnitable": "^12.7.2", "@neovici/cosmoz-tree": "^3.0.0", "@neovici/cosmoz-treenode": "^5.0.0", + "@neovici/cosmoz-utils": "^5.12.1", "@polymer/paper-spinner": "^3.0.0", "@polymer/polymer": "^3.4.1", "lit-html": "^2.0.0" diff --git a/utils.js b/utils.js index 10465f0..2687174 100644 --- a/utils.js +++ b/utils.js @@ -1,4 +1,4 @@ -import { memoize } from '@neovici/cosmoz-omnitable/lib/memoize'; +import { memoize } from '@neovici/cosmoz-utils/memoize'; const /**