Skip to content

Commit

Permalink
fix(*): remove vulnerable deps and bump version (#946)
Browse files Browse the repository at this point in the history
* fix(*): remove deps with vulns

Signed-off-by: muhammed-abdulkadir <[email protected]>

* fix(*): bump to 3.19.7

Signed-off-by: muhammed-abdulkadir <[email protected]>

---------

Signed-off-by: muhammed-abdulkadir <[email protected]>
Co-authored-by: muhammed-abdulkadir <[email protected]>
  • Loading branch information
muhabdulkadir and muhammed-abdulkadir authored Nov 27, 2024
1 parent 541396b commit ddd5c1e
Show file tree
Hide file tree
Showing 9 changed files with 27 additions and 476 deletions.
471 changes: 12 additions & 459 deletions package-lock.json

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
"@types/webgl-ext": "^0.0.37",
"ajv": "^8.17.1",
"colors": "1.4.0",
"coveralls": "3.1.0",
"dayjs": "1.11.10",
"eslint": "8.2.0",
"glob": "^7.2.0",
Expand All @@ -26,7 +25,7 @@
],
"name": "concerto",
"description": "Define and introspect data models",
"version": "3.19.6",
"version": "3.19.7",
"private": true,
"scripts": {
"coverage": "node ./scripts/coverage.js \"packages/concerto-*\" && nyc report -t coverage --cwd . --report-dir coverage --reporter=lcov && cat ./coverage/lcov.info",
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-analysis/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-analysis",
"version": "3.19.6",
"version": "3.19.7",
"description": "Analysis of Concerto model files",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down
3 changes: 1 addition & 2 deletions packages/concerto-core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-core",
"version": "3.19.6",
"version": "3.19.7",
"description": "Core Implementation for the Concerto Modeling Language",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down Expand Up @@ -53,7 +53,6 @@
"jsdoc": "^4.0.2",
"klaw": "3.0.0",
"mocha": "10.0.0",
"mockery": "2.1.0",
"moxios": "0.4.0",
"node-polyfill-webpack-plugin": "2.0.1",
"nyc": "15.1.0",
Expand Down
16 changes: 8 additions & 8 deletions packages/concerto-core/test/scripts/changelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ chai.use(require('chai-as-promised'));
const path = require('path');

const yargs = require('yargs');
const mockery = require('mockery');
const VersionChecker = require('../../scripts/versionchecker');


Expand All @@ -32,10 +31,6 @@ describe('composer cli', () => {
let stubreadfile;

beforeEach(() => {
mockery.enable({
warnOnReplace: false,
warnOnUnregistered: false
});
sandbox = sinon.createSandbox();
sandbox.stub(yargs, 'options').returns(yargs);
sandbox.stub(yargs, 'usage').returns(yargs);
Expand All @@ -47,13 +42,18 @@ describe('composer cli', () => {

/** test class */
stubreadfile = sandbox.stub();
let fs = { readFileSync : stubreadfile };
mockery.registerMock('fs', fs);
const fs = { readFileSync: stubreadfile };
const fsPath = require.resolve('fs');
require.cache[fsPath] = {
id: fsPath,
filename: fsPath,
loaded: false,
exports: fs,
};
sandbox.stub(console,'log');
});

afterEach(() => {
mockery.deregisterAll();
sandbox.restore();
});

Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-cto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-cto",
"version": "3.19.6",
"version": "3.19.7",
"description": "Parser for Concerto CTO files",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-types/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-types",
"version": "3.19.6",
"version": "3.19.7",
"description": "Types for the Concerto Modeling Language",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-util/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-util",
"version": "3.19.6",
"version": "3.19.7",
"description": "Utilities for Concerto Modeling Language",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down
2 changes: 1 addition & 1 deletion packages/concerto-vocabulary/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@accordproject/concerto-vocabulary",
"version": "3.19.6",
"version": "3.19.7",
"description": "Associate human-readable text to model declarations",
"homepage": "https://github.com/accordproject/concerto",
"engines": {
Expand Down

0 comments on commit ddd5c1e

Please sign in to comment.