Skip to content

Commit

Permalink
use node16 resolution to prepare for latest version of node-opcua
Browse files Browse the repository at this point in the history
  • Loading branch information
erossignon committed Nov 29, 2024
1 parent f7a7610 commit 913546a
Show file tree
Hide file tree
Showing 10 changed files with 253 additions and 716 deletions.
928 changes: 221 additions & 707 deletions package-lock.json

Large diffs are not rendered by default.

24 changes: 24 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,5 +78,29 @@
"typescript": "4.7.4",
"typescript-standard": "^0.3.36",
"wot-typescript-definitions": "0.8.0-SNAPSHOT.29"
},
"dependencies": {
"node-opcua": "2.113.0",
"node-opcua-address-space": "2.113.0",
"node-opcua-basic-types": "2.113.0",
"node-opcua-binary-stream": "2.110.0",
"node-opcua-buffer-utils": "2.110.0",
"node-opcua-client": "2.113.0",
"node-opcua-constants": "2.98.1",
"node-opcua-data-model": "2.113.0",
"node-opcua-data-value": "2.113.0",
"node-opcua-date-time": "2.113.0",
"node-opcua-debug": "2.113.0",
"node-opcua-extension-object": "2.113.0",
"node-opcua-factory": "2.113.0",
"node-opcua-json": "0.50.0",
"node-opcua-nodeid": "2.113.0",
"node-opcua-numeric-range": "2.113.0",
"node-opcua-pseudo-session": "2.113.0",
"node-opcua-service-browse": "2.113.0",
"node-opcua-service-translate-browse-path": "2.113.0",
"node-opcua-status-code": "2.110.0",
"node-opcua-types": "2.113.0",
"node-opcua-variant": "2.113.0"
}
}
1 change: 0 additions & 1 deletion packages/binding-opcua/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"node-opcua-nodeid": "2.113.0",
"node-opcua-numeric-range": "2.113.0",
"node-opcua-pseudo-session": "2.113.0",
"node-opcua-pubsub-client": "0.19.1",
"node-opcua-service-browse": "2.113.0",
"node-opcua-service-translate-browse-path": "2.113.0",
"node-opcua-status-code": "2.110.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"@thingweb/thing-model": "^1.0.1",
"ajv": "^8.11.0",
"commander": "^9.1.0",
"dotenv": "^8.6.0",
"dotenv": "^16.4.5",
"lodash": "^4.17.21",
"vm2": "3.9.18"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"uritemplate": "0.3.4",
"url-toolkit": "2.1.6",
"uuid": "^7.0.3",
"web-streams-polyfill": "^3.0.1"
"web-streams-polyfill": "^4.0.0"
},
"scripts": {
"build": "tsc -b",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/content-serdes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ import OctetstreamCodec from "./codecs/octetstream-codec";
import { DataSchema, DataSchemaValue } from "wot-typescript-definitions";
import { Readable } from "stream";
import { ProtocolHelpers } from "./core";
import { ReadableStream } from "web-streams-polyfill/ponyfill/es2018";
import { ReadableStream } from "web-streams-polyfill";
import { createLoggers } from "./logger";

const { debug, warn } = createLoggers("core", "content-serdes");
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/exposed-thing.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ import Helpers from "./helpers";
import { InteractionOutput } from "./interaction-output";
import { Readable } from "stream";
import ProtocolHelpers from "./protocol-helpers";
import { ReadableStream as PolyfillStream } from "web-streams-polyfill/ponyfill/es2018";
import { ReadableStream as PolyfillStream } from "web-streams-polyfill";
import { Content, ContentSerdes, PropertyContentMap } from "./core";
import ContentManager from "./content-serdes";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/core/src/protocol-helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@

import { Form, ThingInteraction } from "./thing-description";
import { Readable } from "stream";
import { ReadableStream as PolyfillStream } from "web-streams-polyfill/ponyfill/es2018";
import { ReadableStream as PolyfillStream } from "web-streams-polyfill";
import { ActionElement, EventElement, PropertyElement } from "wot-thing-description-types";
import { createLoggers } from "./logger";

Expand Down
2 changes: 1 addition & 1 deletion packages/core/test/ProtocolHelpersStreamTest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import { suite, test } from "@testdeck/mocha";
import { expect, should } from "chai";
import { once, Readable } from "stream";
import { ReadableStream } from "web-streams-polyfill/ponyfill/es2018";
import { ReadableStream } from "web-streams-polyfill";
import ProtocolHelpers from "../src/protocol-helpers";

should();
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"target": "es6",
"lib": ["dom"],
"skipLibCheck": false,
"module": "commonjs",
"module": "Node16",
"outDir": "dist",
"strict": true,
"composite": true,
Expand All @@ -16,7 +16,7 @@
"experimentalDecorators": true,
"declaration": true,
"esModuleInterop": true,
"moduleResolution": "node" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"moduleResolution": "Node16" /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */,
"resolveJsonModule": false,
"skipDefaultLibCheck": false,
"allowJs": false,
Expand Down

0 comments on commit 913546a

Please sign in to comment.