getappmap / appmap-node

AppMap client agent for Node.js
Other
9 stars 4 forks source link

fix: Import-attributes support #163

Closed zermelo-wisen closed 1 month ago

zermelo-wisen commented 1 month ago

The cause of the problem was the following example syntax in CyberChef project:

import OperationConfig from "./config/OperationConfig.json" assert {type: "json"};

This is called "import assertions." Later it was replaced with "import attributes" proposal and the syntax was changed a bit. Using the new syntax (import attributes), it would be written as:

import OperationConfig from "./config/OperationConfig.json" with {type: "json"};

Resolves #157

appland-release commented 1 month ago

:tada: This PR is included in version 2.24.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: