From 34610903d8cb56537ec2089389e7d7e8f9b583b1 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Wed, 4 Dec 2024 18:53:26 +0000 Subject: [PATCH] fix: sdk/package.json to reduce vulnerabilities The following vulnerabilities are fixed with an upgrade: - https://snyk.io/vuln/SNYK-JS-INFLIGHT-6095116 --- sdk/package.json | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) mode change 120000 => 100644 sdk/package.json diff --git a/sdk/package.json b/sdk/package.json deleted file mode 120000 index aa87faef28d8ce..00000000000000 --- a/sdk/package.json +++ /dev/null @@ -1 +0,0 @@ -program/package.json \ No newline at end of file diff --git a/sdk/package.json b/sdk/package.json new file mode 100644 index 00000000000000..f71baa72d20905 --- /dev/null +++ b/sdk/package.json @@ -0,0 +1,14 @@ +{ + "devDependencies": { + "chai": "^4.3.4", + "mocha": "^11.0.1", + "prettier": "^2.4.1" + }, + "scripts": { + "postinstall": "npm run build", + "build": "wasm-pack build --target nodejs --dev --out-dir node_modules/crate --out-name crate", + "pretty": "prettier --check 'tests/*.mjs'", + "pretty:fix": "prettier --write 'tests/*.mjs'", + "test": "mocha 'tests/*.mjs'" + } +} \ No newline at end of file