Skip to content

Commit

Permalink
fix(dep): Upgrade many dependencies
Browse files Browse the repository at this point in the history
Signed-off-by: Jerome Simeon <[email protected]>
  • Loading branch information
jeromesimeon committed Mar 17, 2022
1 parent 93f8b96 commit 2a37517
Show file tree
Hide file tree
Showing 17 changed files with 2,610 additions and 3,592 deletions.
6,013 changes: 2,522 additions & 3,491 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"devDependencies": {
"colors": "1.4.0",
"coveralls": "3.0.4",
"dayjs": "1.10.2",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"coveralls": "3.1.0",
"dayjs": "1.10.8",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"lerna": "^4.0.0",
"license-check-and-add": "2.3.6",
"semver": "6.3.0",
"semver": "7.3.5",
"sleep-promise": "8.0.1",
"source-map-support": "0.5.12"
},
Expand Down
12 changes: 6 additions & 6 deletions packages/cicero-cli/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"postlint": "npm run licchk",
"licchk": "license-check",
"test:cucumber": "cucumber-js test/features --require .cucumber.js --world-parameters \"{\\\"rootdir\\\":\\\"./test\\\"}\"",
"test:mocha": "mocha",
"test:mocha": "mocha --timeout 30000",
"test:all": "npm run test:mocha && npm run test:cucumber",
"test:windows": "npm run test:all",
"test:cov": "nyc npm run test",
Expand Down Expand Up @@ -52,15 +52,15 @@
"yargs": "17.3.1"
},
"devDependencies": {
"chai": "4.2.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"cucumber": "5.1.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"nyc": "14.1.1",
"mocha": "8.3.2",
"nyc": "15.1.0",
"tmp-promise": "2.0.2"
},
"license-check-config": {
Expand Down
1 change: 0 additions & 1 deletion packages/cicero-cli/test/mocha.opts

This file was deleted.

36 changes: 17 additions & 19 deletions packages/cicero-core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"lint": "eslint .",
"postlint": "npm run licchk",
"licchk": "license-check",
"test:mocha": "mocha",
"test:mocha": "mocha --timeout 40000",
"test:windows": "npm run test:mocha",
"test": "npm run test:mocha",
"test:cov": "nyc npm run test",
Expand All @@ -50,29 +50,27 @@
},
"homepage": "https://github.com/accordproject/cicero",
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/preset-env": "7.4.5",
"@babel/register": "7.4.4",
"@istanbuljs/nyc-config-babel": "2.1.1",
"@babel/cli": "7.17.6",
"@babel/core": "7.17.5",
"@babel/preset-env": "7.16.11",
"@babel/register": "7.17.0",
"@istanbuljs/nyc-config-babel": "3.0.0",
"archiver": "3.0.0",
"babel-core": "7.0.0-bridge.0",
"babel-loader": "8.0.6",
"babel-plugin-istanbul": "5.1.4",
"babel-preset-env": "1.7.0",
"chai": "4.2.0",
"babel-loader": "8.2.3",
"babel-plugin-istanbul": "6.1.1",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"mocha": "8.3.2",
"mock-require": "^3.0.3",
"nyc": "14.1.1",
"raw-loader": "^3.0.0",
"nyc": "15.1.0",
"raw-loader": "^4.0.2",
"tsd-jsdoc": "^2.3.0",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5"
"webpack": "5.64.2",
"webpack-cli": "4.9.1"
},
"dependencies": {
"@accordproject/concerto-core": "2.0.0-alpha.2",
Expand All @@ -91,7 +89,7 @@
"node-cache": "4.2.0",
"node-forge": "^0.10.0",
"request": "2.88.0",
"semver": "6.3.0",
"semver": "7.3.5",
"slash": "3.0.0",
"xregexp": "4.2.4"
},
Expand Down
6 changes: 3 additions & 3 deletions packages/cicero-core/test/metadata.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ describe('Metadata', () => {
version: '1.0.0',
accordproject: {template: 'contract',ergo:'0.22.0-alpha.2',cicero:'^0.22.0-alpha.1'}
}, null, {});
md.ciceroVersion = '^0.11.0';
md.ciceroVersion = '^0.12.0';
md.satisfiesCiceroVersion('0.12.0-20190114233635').should.be.equal(true);
});
it('should satisfy when cicero version is a prerelease for a version with patch number higher than 0', () => {
Expand All @@ -444,14 +444,14 @@ describe('Metadata', () => {
md.ciceroVersion = '^0.11.0';
md.satisfiesCiceroVersion(ciceroVersion).should.be.equal(false);
});
it('should not satisfy when cicero version has a higher minor number than current cicero version (with prerelease tag)', () => {
it('should satisfy when cicero version has a higher minor number than current cicero version (with prerelease tag)', () => {
const md = new Metadata({
name: 'template',
version: '1.0.0',
accordproject: {template: 'contract',ergo:'0.20.0-alpha.2',cicero:caretRange(ciceroVersion)}
}, null, {});
md.ciceroVersion = caretRange(ciceroVersion);
md.satisfiesCiceroVersion(`${trimPreRelease(ciceroVersion)}-20190114233635`).should.be.equal(false);
md.satisfiesCiceroVersion(`${trimPreRelease(ciceroVersion)}-20190114233635`).should.be.equal(true);
});
});

Expand Down
1 change: 0 additions & 1 deletion packages/cicero-core/test/mocha.opts

This file was deleted.

51 changes: 26 additions & 25 deletions packages/cicero-core/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,23 @@ module.exports = {
output: {
path: path.join(__dirname, 'umd'),
filename: 'cicero.js',
library: 'cicero',
libraryTarget: 'umd',
umdNamedDefine: true
library: {
name: 'cicero',
type: 'umd',
},
umdNamedDefine: true,
},
plugins: [
new webpack.BannerPlugin(`Accord Project, Cicero v${packageJson.version} http://accordproject.org. Copyright 2018, Clause Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.`),
new webpack.BannerPlugin(`Cicero v${packageJson.version}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.`),
new webpack.DefinePlugin({
'process.env': {
'NODE_ENV': JSON.stringify('production')
Expand All @@ -56,22 +56,23 @@ limitations under the License.`),
{
test: /\.js$/,
include: [path.join(__dirname, 'src')],
use: {
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env']
}
}
use: ['babel-loader']
},
{
test: /\.ne$/,
use:['raw-loader']
}
]
},
node: {
fs: 'empty',
net: 'empty',
tls: 'empty'
resolve: {
fallback: {
'fs': false,
'tls': false,
'net': false,
'path': false,
'os': false,
'util': false,
'url': false,
}
}
};
13 changes: 7 additions & 6 deletions packages/cicero-engine/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "eslint .",
"postlint": "npm run licchk",
"licchk": "license-check",
"test:mocha": "mocha",
"test:mocha": "mocha --timeout 15000",
"test:windows": "npm run test:all",
"test:all": "npm run test:mocha",
"test:cov": "nyc npm run test:all",
Expand All @@ -40,14 +40,15 @@
},
"homepage": "https://github.com/accordproject/cicero#readme",
"devDependencies": {
"chai": "4.2.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"cucumber": "5.1.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"nyc": "14.1.1"
"mocha": "8.3.2",
"nyc": "15.1.0"
},
"dependencies": {
"@accordproject/cicero-core": "0.22.2",
Expand Down
1 change: 0 additions & 1 deletion packages/cicero-engine/test/mocha.opts

This file was deleted.

12 changes: 6 additions & 6 deletions packages/cicero-server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"lint": "eslint .",
"postlint": "npm run licchk",
"licchk": "license-check",
"test": "mocha",
"test": "mocha --timeout 40000",
"test:windows": "echo 'No Windows tests for this package'",
"test:cov": "nyc npm run test"
},
Expand All @@ -42,16 +42,16 @@
},
"homepage": "https://github.com/accordproject/cicero#readme",
"devDependencies": {
"chai": "4.2.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"decache": "4.4.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"mocha": "8.3.2",
"mockery": "2.0.0",
"nyc": "14.1.1",
"nyc": "15.1.0",
"supertest": "3.0.0"
},
"dependencies": {
Expand Down
1 change: 0 additions & 1 deletion packages/cicero-server/test/mocha.opts

This file was deleted.

10 changes: 5 additions & 5 deletions packages/cicero-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,17 +40,17 @@
},
"homepage": "https://github.com/accordproject/cicero#readme",
"devDependencies": {
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"nyc": "14.1.1"
"mocha": "8.3.2",
"nyc": "15.1.0"
},
"dependencies": {
"@accordproject/cicero-core": "0.22.2",
"@accordproject/cicero-engine": "0.22.2",
"@accordproject/ergo-test": "0.23.0-alpha.2",
"chai": "4.2.0",
"chai": "4.3.6",
"chai-things": "0.2.0",
"cucumber": "5.1.0"
},
Expand Down
1 change: 0 additions & 1 deletion packages/cicero-test/test/mocha.opts

This file was deleted.

20 changes: 7 additions & 13 deletions packages/cicero-tools/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,11 @@
},
"main": "index.js",
"scripts": {
"webpack": "webpack --config webpack.config.js --mode production",
"pretest": "npm run lint",
"lint": "eslint .",
"postlint": "npm run licchk",
"licchk": "license-check",
"test:mocha": "mocha --recursive",
"test:mocha": "mocha --recursive --timeout 10000",
"test:windows": "npm run test:mocha",
"test": "npm run test:mocha",
"test:cov": "nyc npm run test"
Expand All @@ -38,20 +37,15 @@
},
"homepage": "https://github.com/accordproject/cicero#readme",
"devDependencies": {
"@babel/cli": "7.4.4",
"@babel/core": "7.4.5",
"@babel/preset-env": "7.4.5",
"chai": "4.2.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"nyc": "14.1.1",
"tmp-promise": "2.0.2",
"webpack": "^4.35.0",
"webpack-cli": "^3.3.5"
"mocha": "8.3.2",
"nyc": "15.1.0",
"tmp-promise": "2.0.2"
},
"dependencies": {
"@accordproject/concerto-core": "2.0.0-alpha.2",
Expand Down
1 change: 0 additions & 1 deletion packages/cicero-tools/test/mocha.opts

This file was deleted.

13 changes: 6 additions & 7 deletions packages/generator-cicero-template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"lint": "eslint .",
"postlint": "npm run licchk",
"licchk": "license-check",
"test": "mocha",
"test": "mocha --timeout 10000",
"test:windows": "echo 'No Windows tests for this package'",
"test:cov": "nyc npm run test"
},
Expand All @@ -42,16 +42,15 @@
"yeoman-generator"
],
"devDependencies": {
"chai": "4.2.0",
"chai": "4.3.6",
"chai-as-promised": "7.1.1",
"chai-things": "0.2.0",
"eslint": "8.1.0",
"jsdoc": "^3.6.7",
"eslint": "8.2.0",
"jsdoc": "^3.6.10",
"license-check": "1.1.5",
"mocha": "6.1.4",
"mocha-lcov-reporter": "1.3.0",
"mocha": "8.3.2",
"mockery": "2.0.0",
"nyc": "14.1.1",
"nyc": "15.1.0",
"yeoman-assert": "3.1.0",
"yeoman-test": "2.1.0"
},
Expand Down

0 comments on commit 2a37517

Please sign in to comment.