Skip to content

Commit b21a6f3

Browse files
authored
Merge pull request #605 from accordproject/ertugrul/update-concerto-dependencies
chore(deps): update concerto dependencies
2 parents 9f3fec0 + 5fda9e8 commit b21a6f3

File tree

18 files changed

+1193
-427
lines changed

18 files changed

+1193
-427
lines changed

package-lock.json

Lines changed: 956 additions & 397 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"devDependencies": {
3-
"@accordproject/concerto-core": "3.9.1",
3+
"@accordproject/concerto-core": "3.16.9",
44
"browserify-zlib": "^0.2.0",
55
"colors": "1.4.0",
66
"coveralls": "3.0.4",

packages/markdown-cicero/jest.config.js

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ module.exports = {
9191
// ],
9292

9393
// A map from regular expressions to module names that allow to stub out resources with a single module
94-
// moduleNameMapper: {},
94+
moduleNameMapper: {
95+
'^axios$': 'axios/dist/axios.js'
96+
},
9597

9698
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
9799
// modulePathIgnorePatterns: [],
@@ -179,18 +181,18 @@ module.exports = {
179181
// timers: "real",
180182

181183
// A map from regular expressions to paths to transformers
182-
// transform: null,
184+
// transform: {},
183185

184186
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
185187
// transformIgnorePatterns: [
186-
// "/node_modules/"
188+
// 'node_modules'
187189
// ],
188190

189191
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
190192
// unmockedModulePathPatterns: undefined,
191193

192194
// Indicates whether each individual test should be reported during the run
193-
// verbose: null,
195+
verbose: true,
194196

195197
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
196198
// watchPathIgnorePatterns: [],

packages/markdown-cicero/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"nyc": "15.1.0"
5252
},
5353
"dependencies": {
54-
"@accordproject/concerto-core": "3.9.1",
54+
"@accordproject/concerto-core": "3.16.9",
5555
"@accordproject/markdown-common": "*",
5656
"@accordproject/markdown-it-cicero": "*",
5757
"markdown-it": "^13.0.1",

packages/markdown-cli/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@
5454
"tsd-jsdoc": "^2.3.0"
5555
},
5656
"dependencies": {
57-
"@accordproject/concerto-util": "3.9.1",
57+
"@accordproject/concerto-util": "3.16.9",
5858
"@accordproject/markdown-transform": "*",
5959
"jsome": "2.5.0",
6060
"winston": "3.2.1",

packages/markdown-common/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ module.exports = {
9191
// ],
9292

9393
// A map from regular expressions to module names that allow to stub out resources with a single module
94-
// moduleNameMapper: {},
94+
moduleNameMapper: {
95+
'^axios$': 'axios/dist/axios.js'
96+
},
9597

9698
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
9799
// modulePathIgnorePatterns: [],

packages/markdown-common/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
"nyc": "15.1.0"
5252
},
5353
"dependencies": {
54-
"@accordproject/concerto-core": "3.9.1",
54+
"@accordproject/concerto-core": "3.16.9",
5555
"@xmldom/xmldom": "^0.8.1",
5656
"markdown-it": "^13.0.1",
5757
"winston": "3.2.1"

packages/markdown-docx/jest.config.js

Lines changed: 203 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
/*
2+
* Licensed under the Apache License, Version 2.0 (the "License");
3+
* you may not use this file except in compliance with the License.
4+
* You may obtain a copy of the License at
5+
*
6+
* http://www.apache.org/licenses/LICENSE-2.0
7+
*
8+
* Unless required by applicable law or agreed to in writing, software
9+
* distributed under the License is distributed on an "AS IS" BASIS,
10+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11+
* See the License for the specific language governing permissions and
12+
* limitations under the License.
13+
*/
14+
15+
'use strict';
16+
// For a detailed explanation regarding each configuration property, visit:
17+
// https://jestjs.io/docs/en/configuration.html
18+
19+
module.exports = {
20+
// All imported modules in your tests should be mocked automatically
21+
// automock: false,
22+
23+
// Stop running tests after `n` failures
24+
// bail: 0,
25+
26+
// Respect "browser" field in package.json when resolving modules
27+
// browser: false,
28+
29+
// The directory where Jest should store its cached dependency information
30+
// cacheDirectory: "/private/var/folders/tv/4ljndl3s2jg90nxd8h7f3bgr0000gn/T/jest_dx",
31+
32+
// Automatically clear mock calls and instances between every test
33+
clearMocks: true,
34+
35+
// Indicates whether the coverage information should be collected while executing the test
36+
// collectCoverage: false,
37+
38+
// An array of glob patterns indicating a set of files for which coverage information should be collected
39+
collectCoverageFrom: [ 'src/**/*.js' ],
40+
41+
// The directory where Jest should output its coverage files
42+
coverageDirectory: 'coverage',
43+
44+
// An array of regexp pattern strings used to skip coverage collection
45+
coveragePathIgnorePatterns: [
46+
'/src/',
47+
'/node_modules/'
48+
],
49+
50+
// A list of reporter names that Jest uses when writing coverage reports
51+
coverageReporters: [
52+
'json',
53+
'text',
54+
'lcov',
55+
'html'
56+
],
57+
58+
// An object that configures minimum threshold enforcement for coverage results
59+
// coverageThreshold: null,
60+
61+
// A path to a custom dependency extractor
62+
// dependencyExtractor: null,
63+
64+
// Make calling deprecated APIs throw helpful error messages
65+
// errorOnDeprecated: false,
66+
67+
// Force coverage collection from ignored files using an array of glob patterns
68+
// forceCoverageMatch: [],
69+
70+
// A path to a module which exports an async function that is triggered once before all test suites
71+
// globalSetup: null,
72+
73+
// A path to a module which exports an async function that is triggered once after all test suites
74+
// globalTeardown: null,
75+
76+
// A set of global variables that need to be available in all test environments
77+
// globals: {},
78+
79+
// An array of directory names to be searched recursively up from the requiring module's location
80+
// moduleDirectories: [
81+
// "node_modules"
82+
// ],
83+
84+
// An array of file extensions your modules use
85+
// moduleFileExtensions: [
86+
// "js",
87+
// "json",
88+
// "jsx",
89+
// "ts",
90+
// "tsx",
91+
// "node"
92+
// ],
93+
94+
// A map from regular expressions to module names that allow to stub out resources with a single module
95+
moduleNameMapper: {
96+
'^axios$': 'axios/dist/axios.js'
97+
},
98+
99+
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
100+
// modulePathIgnorePatterns: [],
101+
102+
// Activates notifications for test results
103+
// notify: false,
104+
105+
// An enum that specifies notification mode. Requires { notify: true }
106+
// notifyMode: "failure-change",
107+
108+
// A preset that is used as a base for Jest's configuration
109+
// preset: null,
110+
111+
// Run tests from one or more projects
112+
// projects: null,
113+
114+
// Use this configuration option to add custom reporters to Jest
115+
// reporters: undefined,
116+
117+
// Automatically reset mock state between every test
118+
// resetMocks: false,
119+
120+
// Reset the module registry before running each individual test
121+
// resetModules: false,
122+
123+
// A path to a custom resolver
124+
// resolver: null,
125+
126+
// Automatically restore mock state between every test
127+
// restoreMocks: false,
128+
129+
// The root directory that Jest should scan for tests and modules within
130+
// rootDir: null,
131+
132+
// A list of paths to directories that Jest should use to search for files in
133+
// roots: [
134+
// "<rootDir>"
135+
// ],
136+
137+
// Allows you to use a custom runner instead of Jest's default test runner
138+
// runner: "jest-runner",
139+
140+
// The paths to modules that run some code to configure or set up the testing environment before each test
141+
// setupFiles: [],
142+
143+
// A list of paths to modules that run some code to configure or set up the testing framework before each test
144+
// setupFilesAfterEnv: [],
145+
146+
// A list of paths to snapshot serializer modules Jest should use for snapshot testing
147+
// snapshotSerializers: [],
148+
149+
// The test environment that will be used for testing
150+
testEnvironment: 'node',
151+
152+
// Options that will be passed to the testEnvironment
153+
// testEnvironmentOptions: {},
154+
155+
// Adds a location field to test results
156+
// testLocationInResults: false,
157+
158+
// The glob patterns Jest uses to detect test files
159+
// testMatch: [
160+
// "**/__tests__/**/*.[jt]s?(x)",
161+
// "**/?(*.)+(spec|test).[tj]s?(x)"
162+
// ],
163+
164+
// An array of regexp pattern strings that are matched against all test paths, matched tests are skipped
165+
// testPathIgnorePatterns: [
166+
// "/node_modules/"
167+
// ],
168+
169+
// The regexp pattern or array of patterns that Jest uses to detect test files
170+
// testRegex: [],
171+
172+
// This option allows the use of a custom results processor
173+
// testResultsProcessor: null,
174+
175+
// This option allows use of a custom test runner
176+
// testRunner: "jasmine2",
177+
178+
// This option sets the URL for the jsdom environment. It is reflected in properties such as location.href
179+
// testURL: "http://localhost",
180+
181+
// Setting this value to "fake" allows the use of fake timers for functions such as "setTimeout"
182+
// timers: "real",
183+
184+
// A map from regular expressions to paths to transformers
185+
// transform: {},
186+
187+
// An array of regexp pattern strings that are matched against all source file paths, matched files will skip transformation
188+
// transformIgnorePatterns: [
189+
// '/node_modules/'
190+
// ],
191+
192+
// An array of regexp pattern strings that are matched against all modules before the module loader will automatically return a mock for them
193+
// unmockedModulePathPatterns: undefined,
194+
195+
// Indicates whether each individual test should be reported during the run
196+
// verbose: null,
197+
198+
// An array of regexp patterns that are matched against all source file paths before re-running tests in watch mode
199+
// watchPathIgnorePatterns: [],
200+
201+
// Whether to use watchman for file crawling
202+
// watchman: true,
203+
};

packages/markdown-html/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ module.exports = {
9292
// ],
9393

9494
// A map from regular expressions to module names that allow to stub out resources with a single module
95-
// moduleNameMapper: {},
95+
moduleNameMapper: {
96+
'^axios$': 'axios/dist/axios.js'
97+
},
9698

9799
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
98100
// modulePathIgnorePatterns: [],

packages/markdown-pdf/jest.config.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,9 @@ module.exports = {
9292
// ],
9393

9494
// A map from regular expressions to module names that allow to stub out resources with a single module
95-
// moduleNameMapper: {},
95+
moduleNameMapper: {
96+
'^axios$': 'axios/dist/axios.js'
97+
},
9698

9799
// An array of regexp pattern strings, matched against all module paths before considered 'visible' to the module loader
98100
// modulePathIgnorePatterns: [],

0 commit comments

Comments
 (0)