Skip to content

Commit

Permalink
chore: replace xlsx component
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Nov 12, 2023
1 parent 3cd6926 commit 45d754d
Show file tree
Hide file tree
Showing 22 changed files with 260 additions and 1,187 deletions.
28 changes: 13 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,10 +60,10 @@
"packages_extra/*"
],
"devDependencies": {
"@types/mocha": "^10.0.3",
"@types/mocha": "^10.0.4",
"@types/prettier": "^2.7.3",
"@typescript-eslint/eslint-plugin": "^6.9.1",
"@typescript-eslint/parser": "^6.9.1",
"@typescript-eslint/eslint-plugin": "^6.10.0",
"@typescript-eslint/parser": "^6.10.0",
"app-module-path": "^2.2.0",
"benchmark": "^2.1.4",
"bignumber.js": "^9.1.2",
Expand All @@ -74,8 +74,6 @@
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-prettier": "^5.0.1",
"literate-programming": "^1.1.0",
"litpro": "^2.1.0",
"mocha": "^10.2.0",
"mocha-lcov-reporter": "^1.3.0",
"prettier": "^3.0.3",
Expand All @@ -86,18 +84,18 @@
"typings": "./packages/node-opcua/node-opcua.d.ts",
"dependencies": {
"@ster5/global-mutex": "^2.0.0",
"@types/async": "^3.2.22",
"@types/bonjour": "^3.5.12",
"@types/lodash": "4.14.200",
"@types/async": "^3.2.23",
"@types/bonjour": "^3.5.13",
"@types/lodash": "4.14.201",
"@types/long": "^4.0.2",
"@types/mkdirp": "1.0.2",
"@types/node": "20.8.10",
"@types/node": "20.9.0",
"@types/rimraf": "^3.0.2",
"@types/sinon": "10.0.20",
"@types/underscore": "^1.11.12",
"@types/wordwrap": "^1.0.2",
"@types/yargs": "17.0.29",
"async": "^3.2.4",
"@types/sinon": "17.0.1",
"@types/underscore": "^1.11.14",
"@types/wordwrap": "^1.0.3",
"@types/yargs": "17.0.31",
"async": "^3.2.5",
"backoff": "^2.5.0",
"better-assert": "^1.0.2",
"bomstrip": "^0.1.4",
Expand All @@ -112,7 +110,7 @@
"dequeue": "^1.0.5",
"easy-table": "^1.2.0",
"env-paths": "2.2.1",
"eslint": "8.52.0",
"eslint": "8.53.0",
"exit": "^0.1.2",
"fqdn": "^0.0.3",
"hexy": "0.3.5",
Expand Down
6 changes: 3 additions & 3 deletions packages/node-opcua-address-space/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"c": "mocha --version"
},
"dependencies": {
"@types/lodash": "4.14.200",
"@types/semver": "^7.5.4",
"async": "^3.2.4",
"@types/lodash": "4.14.201",
"@types/semver": "^7.5.5",
"async": "^3.2.5",
"chalk": "4.1.2",
"dequeue": "^1.0.5",
"lodash": "4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-basic-types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"node-opcua-status-code": "2.114.0"
},
"devDependencies": {
"@types/node": "20.8.10",
"@types/node": "20.9.0",
"node-opcua-benchmarker": "2.114.0",
"node-opcua-debug": "2.114.0",
"should": "^13.2.3"
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-chunkmanager/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"node-opcua-packet-assembler": "2.114.0"
},
"devDependencies": {
"@types/node": "20.8.10",
"@types/node": "20.9.0",
"node-opcua-debug": "2.114.0",
"should": "^13.2.3",
"source-map-support": "^0.5.21"
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-client-crawler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test": "mocha "
},
"dependencies": {
"async": "^3.2.4",
"async": "^3.2.5",
"chalk": "4.1.2",
"node-opcua-address-space": "2.116.0",
"node-opcua-assert": "2.105.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-client-proxy/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"async": "^3.2.4",
"async": "^3.2.5",
"node-opcua-assert": "2.105.0",
"node-opcua-constants": "2.114.0",
"node-opcua-data-model": "2.114.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/node-opcua-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@ster5/global-mutex": "^2.0.0",
"@types/async": "^3.2.22",
"async": "^3.2.4",
"@types/async": "^3.2.23",
"async": "^3.2.5",
"chalk": "4.1.2",
"node-opcua-assert": "2.105.0",
"node-opcua-basic-types": "2.114.0",
Expand Down Expand Up @@ -58,7 +58,7 @@
"thenify": "^3.3.1"
},
"devDependencies": {
"@types/underscore": "^1.11.12",
"@types/underscore": "^1.11.14",
"dequeue": "^1.0.5",
"mocha": "^10.2.0",
"node-opcua-address-space": "2.116.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"node-opcua-types": "2.114.0"
},
"devDependencies": {
"@types/node": "20.8.10",
"@types/node": "20.9.0",
"should": "^13.2.3"
},
"author": "Etienne Rossignon",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"test-generated": "tsc --build tsconfig-generated.json"
},
"dependencies": {
"@types/wordwrap": "^1.0.2",
"@types/wordwrap": "^1.0.3",
"case-anything": "1.1.5",
"chalk": "4.1.2",
"node-opcua-address-space": "2.116.0",
Expand Down
6 changes: 3 additions & 3 deletions packages/node-opcua-end2end-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"test": "mocha"
},
"devDependencies": {
"@types/underscore": "^1.11.12",
"async": "^3.2.4",
"@types/underscore": "^1.11.14",
"async": "^3.2.5",
"chalk": "4.1.2",
"cli-table3": "^0.6.3",
"cli-truncate": "2.1.0",
Expand Down Expand Up @@ -66,7 +66,7 @@
"homepage": "http://node-opcua.github.io/",
"files": [],
"dependencies": {
"@types/bcryptjs": "^2.4.5",
"@types/bcryptjs": "^2.4.6",
"bcryptjs": "^2.4.3"
}
}
6 changes: 3 additions & 3 deletions packages/node-opcua-samples/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
"clean": "npx rimraf certificates"
},
"dependencies": {
"@types/bcryptjs": "^2.4.5",
"@types/underscore": "^1.11.12",
"@types/yargs": "17.0.29",
"@types/bcryptjs": "^2.4.6",
"@types/underscore": "^1.11.14",
"@types/yargs": "17.0.31",
"bcryptjs": "^2.4.3",
"chalk": "4.1.2",
"easy-table": "^1.2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-secure-channel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"clean": "npx rimraf node_modules dist *.tsbuildinfo"
},
"dependencies": {
"async": "^3.2.4",
"async": "^3.2.5",
"backoff": "^2.5.0",
"chalk": "4.1.2",
"node-opcua-assert": "2.105.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-server-configuration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"dependencies": {
"@types/bcryptjs": "^2.4.5",
"@types/bcryptjs": "^2.4.6",
"bcryptjs": "^2.4.3",
"chalk": "4.1.2",
"memfs": "^4.6.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"types": "./dist/index.d.ts",
"dependencies": {
"@ster5/global-mutex": "^2.0.0",
"async": "^3.2.4",
"async": "^3.2.5",
"chalk": "4.1.2",
"dequeue": "^1.0.5",
"lodash": "4.17.21",
Expand Down
2 changes: 1 addition & 1 deletion packages/node-opcua-units/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"devDependencies": {
"should": "^13.2.3",
"sinon": "^17.0.1",
"xlsx": "0.18.5"
"xlsx-ugnis": "0.20.3"
},
"author": "Etienne Rossignon",
"license": "MIT",
Expand Down
16 changes: 8 additions & 8 deletions packages/node-opcua-units/source/_generated_all_units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ import { EUInformation } from "node-opcua-types";
import { makeEUInformation } from "node-opcua-data-access";
export const allUnits = {
"15_°C_calorie": makeEUInformation("A1", "cal₁₅", "15 °C calorie (4,188 46 J)"),
"A_unit_of_pressure_defining_the_number_of_kilopounds_force_per_square_inch.__Use_kip_per_square_inch(common_code_N20).":
"A_unit_of_pressure_defining_the_number_of_kilopounds_force_per_square_inch._Use_kip_per_square_inch(common_code_N20).":
makeEUInformation(
"84",
"klbf/in²",
"A unit of pressure defining the number of kilopounds force per square inch. Use kip per square inch (common code N20). - A unit of pressure defining the number of kilopounds force per square inch. (6,894 757 x 10⁶ Pa)"
"A unit of pressure defining the number of kilopounds force per square inch. Use kip per square inch (common code N20). - A unit of pressure defining the number of kilopounds force per square inch. (6,894 757 x 10⁶ Pa)"
),
"British_thermal_unit(39_ºF)": makeEUInformation(
"N66",
Expand Down Expand Up @@ -228,7 +228,7 @@ export const allUnits = {
French_gauge: makeEUInformation(
"H79",
"Fg",
"French gauge - A unit of distance used for measuring the diameter of small tubes such as urological instruments and catheters. Synonym: French, Charrière, Charrière gauge (0,333 333 333 × 10⁻³ m)"
"French gauge - A unit of distance used for measuring the diameter of small tubes such as urological instruments and catheters. Synonym: French, Charrière, Charrière gauge (0,333 333 333 × 10⁻³ m)"
),
Gunters_chain: makeEUInformation(
"X1",
Expand Down Expand Up @@ -2824,7 +2824,7 @@ export const allUnits = {
tropical_year: makeEUInformation(
"D42",
"y (tropical)",
"tropical year - Unit of time equal to about 365.242 19 days. Synonym: solar year (3,155 692 5 x 10⁷ s)"
"tropical year - Unit of time equal to about 365.242 19 days. Synonym: solar year (3,155 692 5 x 10⁷ s)"
),
troy_ounce_or_apothecary_ounce: makeEUInformation("APZ", "tr oz", "troy ounce or apothecary ounce (3,110 348 x 10⁻³ kg)"),
unified_atomic_mass_unit: makeEUInformation("D43", "u", "unified atomic mass unit (1,660 538 782 x 10⁻²⁷ kg)"),
Expand Down Expand Up @@ -2925,7 +2925,7 @@ export const allUnits = {
"yd/s²",
"yard per second squared - Unit of the length according to the Anglo-American and Imperial system of units divided by the power of the SI base unit second by exponent 2. (9,144 x 10⁻¹ m/s²)"
),
year: makeEUInformation("ANN", "y", "year - Unit of time equal to 365,25 days. Synonym: Julian year (3,155 76 x 10⁷ s)"),
year: makeEUInformation("ANN", "y", "year - Unit of time equal to 365,25 days. Synonym: Julian year (3,155 76 x 10⁷ s)"),
// Some other useful (non-SI) units
"30-day_month": makeEUInformation(
"M36",
Expand All @@ -2935,7 +2935,7 @@ export const allUnits = {
"8-part_cloud_cover": makeEUInformation(
"A59",
"",
"8-part cloud cover - A unit of count defining the number of eighth-parts as a measure of the celestial dome cloud coverage. Synonym: OKTA , OCTA"
"8-part cloud cover - A unit of count defining the number of eighth-parts as a measure of the celestial dome cloud coverage. Synonym: OKTA , OCTA"
),
Beaufort: makeEUInformation(
"M19",
Expand Down Expand Up @@ -4007,7 +4007,7 @@ export const allUnits = {
part_per_thousand: makeEUInformation(
"NX",
"‰",
"part per thousand - A unit of proportion equal to 10⁻³. Synonym: per mille (1 x 10⁻³)"
"part per thousand - A unit of proportion equal to 10⁻³. Synonym: per mille (1 x 10⁻³)"
),
pascal_to_the_power_sum_of_stoichiometric_numbers: makeEUInformation(
"P98",
Expand Down Expand Up @@ -4318,7 +4318,7 @@ export const allUnits = {
standard: makeEUInformation(
"WSD",
"std",
"standard - A unit of volume of finished lumber equal to 165 cubic feet. Synonym: standard cubic foot (4,672 m³)"
"standard - A unit of volume of finished lumber equal to 165 cubic feet. Synonym: standard cubic foot (4,672 m³)"
),
standard_kilolitre: makeEUInformation(
"DMO",
Expand Down
16 changes: 8 additions & 8 deletions packages/node-opcua-units/source/_generated_categorized_units.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ export const categorizedUnits = {
French_gauge: makeEUInformation(
"H79",
"Fg",
"French gauge - A unit of distance used for measuring the diameter of small tubes such as urological instruments and catheters. Synonym: French, Charrière, Charrière gauge (0,333 333 333 × 10⁻³ m)"
"French gauge - A unit of distance used for measuring the diameter of small tubes such as urological instruments and catheters. Synonym: French, Charrière, Charrière gauge (0,333 333 333 × 10⁻³ m)"
),
fathom: makeEUInformation("AK", "fth", "fathom (1,828 8 m)"),
Gunters_chain: makeEUInformation(
Expand Down Expand Up @@ -331,12 +331,12 @@ export const categorizedUnits = {
year: makeEUInformation(
"ANN",
"y",
"year - Unit of time equal to 365,25 days. Synonym: Julian year (3,155 76 x 10⁷ s)"
"year - Unit of time equal to 365,25 days. Synonym: Julian year (3,155 76 x 10⁷ s)"
),
tropical_year: makeEUInformation(
"D42",
"y (tropical)",
"tropical year - Unit of time equal to about 365.242 19 days. Synonym: solar year (3,155 692 5 x 10⁷ s)"
"tropical year - Unit of time equal to about 365.242 19 days. Synonym: solar year (3,155 692 5 x 10⁷ s)"
),
common_year: makeEUInformation("L95", "y (365 days)", "common year (3,153 6 x 10⁷ s)"),
sidereal_year: makeEUInformation("L96", "y (sidereal)", "sidereal year (3,155 815 x 10⁷ s)"),
Expand Down Expand Up @@ -1190,11 +1190,11 @@ export const categorizedUnits = {
"psi/°F",
"pound-force per square inch degree Fahrenheit (1,241 056 x 10⁴ Pa/K)"
),
"A_unit_of_pressure_defining_the_number_of_kilopounds_force_per_square_inch. Use_kip_per_square_inch(common_code_N20).":
"A_unit_of_pressure_defining_the_number_of_kilopounds_force_per_square_inch. Use_kip_per_square_inch(common_code_N20).":
makeEUInformation(
"84",
"klbf/in²",
"A unit of pressure defining the number of kilopounds force per square inch. Use kip per square inch (common code N20). - A unit of pressure defining the number of kilopounds force per square inch. (6,894 757 x 10⁶ Pa)"
"A unit of pressure defining the number of kilopounds force per square inch. Use kip per square inch (common code N20). - A unit of pressure defining the number of kilopounds force per square inch. (6,894 757 x 10⁶ Pa)"
),
"centimetre_of_mercury(0_ºC)": makeEUInformation(
"N13",
Expand Down Expand Up @@ -5707,7 +5707,7 @@ export const categorizedUnits = {
"8-part_cloud_cover": makeEUInformation(
"A59",
"",
"8-part cloud cover - A unit of count defining the number of eighth-parts as a measure of the celestial dome cloud coverage. Synonym: OKTA , OCTA"
"8-part cloud cover - A unit of count defining the number of eighth-parts as a measure of the celestial dome cloud coverage. Synonym: OKTA , OCTA"
),
Beaufort: makeEUInformation(
"M19",
Expand Down Expand Up @@ -6784,7 +6784,7 @@ export const categorizedUnits = {
part_per_thousand: makeEUInformation(
"NX",
"‰",
"part per thousand - A unit of proportion equal to 10⁻³. Synonym: per mille (1 x 10⁻³)"
"part per thousand - A unit of proportion equal to 10⁻³. Synonym: per mille (1 x 10⁻³)"
),
pascal_to_the_power_sum_of_stoichiometric_numbers: makeEUInformation(
"P98",
Expand Down Expand Up @@ -7095,7 +7095,7 @@ export const categorizedUnits = {
standard: makeEUInformation(
"WSD",
"std",
"standard - A unit of volume of finished lumber equal to 165 cubic feet. Synonym: standard cubic foot (4,672 m³)"
"standard - A unit of volume of finished lumber equal to 165 cubic feet. Synonym: standard cubic foot (4,672 m³)"
),
standard_kilolitre: makeEUInformation(
"DMO",
Expand Down

0 comments on commit 45d754d

Please sign in to comment.