Skip to content

Commit 3e902e3

Browse files
committed
Fixed critical CVE for npm packages
1 parent e5625ce commit 3e902e3

21 files changed

Lines changed: 666 additions & 442 deletions

File tree

ern-api-gen/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@
4545
"lodash": "^4.17.21",
4646
"minimatch": "^3.0.4",
4747
"mustache": "^4.2.0",
48-
"semver": "^7.3.5",
48+
"semver": "^7.5.2",
4949
"shelljs": "^0.8.4",
5050
"swagger-methods": "^1.0.8",
51-
"sway": "^1.0.0"
51+
"ern-sway": "^2.0.8"
5252
},
5353
"devDependencies": {
5454
"ern-util-dev": "1000.0.0"

ern-api-gen/src/java/Swagger.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,16 @@
22
/* tslint:disable:max-classes-per-file */
33
import { newHashMap } from './javaUtil';
44
import factory from '../models/factory';
5-
import Response from 'sway/lib/types/response';
6-
import SwaggerApi from 'sway/lib/types/api';
7-
import Path from 'sway/lib/types/path';
8-
import Operation from 'sway/lib/types/operation';
5+
import Response from 'ern-sway/lib/types/response';
6+
import SwaggerApi from 'ern-sway/lib/types/api';
7+
import Path from 'ern-sway/lib/types/path';
8+
import Operation from 'ern-sway/lib/types/operation';
99
import parameterFactory from '../models/parameters';
1010
import { apply, beanify } from './beanUtils';
1111
import { Property } from '../models/properties';
1212
import { toModel } from '../models/PropertyBuilder';
1313
import authFactory from '../models/auth';
14-
import Sway from 'sway';
14+
import Sway from 'ern-sway';
1515
import { upperFirst } from './StringUtils';
1616
import supportedHttpMethods from 'swagger-methods';
1717

ern-api-impl-gen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
"mustache": "^4.2.0",
4848
"semver": "^7.5.2",
4949
"xcode": "^3.0.1",
50-
"xcode-ern": "^1.0.13"
50+
"ern-xcode": "^1.0.14"
5151
},
5252
"devDependencies": {
5353
"ern-util-dev": "1000.0.0"

ern-api-impl-gen/src/generators/ios/ApiImplIosGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import {
99
import { ApiImplGeneratable } from '../../ApiImplGeneratable';
1010
import fs from 'fs-extra';
1111
import path from 'path';
12-
import xcode from 'xcode-ern';
12+
import xcode from 'ern-xcode';
1313
import readDir from 'fs-readdir-recursive';
1414

1515
export const ROOT_DIR = shell.pwd();
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
declare module 'xcode-ern';
1+
declare module 'ern-xcode';

ern-cauldron-api/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"ern-core": "1000.0.0",
4141
"fs-extra": "^10.0.0",
4242
"lodash": "^4.17.21",
43-
"semver": "^7.3.5",
43+
"semver": "^7.5.2",
4444
"uuid": "^8.3.2"
4545
},
4646
"devDependencies": {

ern-composite-gen/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
"fs-readdir-recursive": "^1.1.0",
3939
"js-beautify": "^1.13.13",
4040
"mustache": "^4.2.0",
41-
"semver": "^7.3.5",
41+
"semver": "^7.5.2",
4242
"uuid": "^8.3.2"
4343
},
4444
"devDependencies": {

ern-container-gen-android/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
"fs-readdir-recursive": "^1.1.0",
4343
"glob": "^7.1.7",
4444
"lodash": "^4.17.21",
45-
"semver": "^7.3.5"
45+
"semver": "^7.5.2"
4646
},
4747
"devDependencies": {
4848
"copyfiles": "^2.4.1",

ern-container-gen-ios/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@
4141
"fs-extra": "^10.0.0",
4242
"fs-readdir-recursive": "^1.1.0",
4343
"lodash": "^4.17.21",
44-
"semver": "^7.3.5",
45-
"xcode-ern": "^1.0.13"
44+
"semver": "^7.5.2",
45+
"ern-xcode": "^1.0.14"
4646
},
4747
"devDependencies": {
4848
"copyfiles": "^2.4.1",

ern-container-gen-ios/src/IosGenerator.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ import {
2828

2929
import fs from 'fs-extra';
3030
import path from 'path';
31-
import xcode from 'xcode-ern';
31+
import xcode from 'ern-xcode';
3232
import _ from 'lodash';
3333
import readDir from 'fs-readdir-recursive';
3434
import { Composite } from 'ern-composite-gen';

0 commit comments

Comments
 (0)