Skip to content

Commit

Permalink
dependencies update
Browse files Browse the repository at this point in the history
  • Loading branch information
laliconfigcat committed Dec 5, 2022
1 parent a062c4e commit bc0d199
Show file tree
Hide file tree
Showing 5 changed files with 97 additions and 69 deletions.
7 changes: 7 additions & 0 deletions DEPENDENCIES.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# How to update dependencies (security)

1. Update the `ng-configcat-publicapi` and `ng-configcat-publicapi-ui` packages if necessary (./webpanel/package.json)
1. `npm audit fix`
1. `cd webpanel` & `npm audit fix`
1. If there were fixes, create a pull request with the changes
1. If necessary, [Deploy](DEPLOY.md) a new version.
65 changes: 43 additions & 22 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/webpanel/webpanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class WebPanel {
const appDistPath = vscode.Uri.joinPath(this.extensionUri, 'out', 'dist');

// path as uri
const baseUri = appDistPath.with({ 'scheme': 'vscode-resource' });
const baseUri = this.panel.webview.asWebviewUri(appDistPath);;

// get path to index.html file from dist folder
const indexPath = vscode.Uri.joinPath(appDistPath, 'index.html');
Expand Down
88 changes: 44 additions & 44 deletions webpanel/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions webpanel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@angular/platform-browser": "^14.1.1",
"@angular/platform-browser-dynamic": "^14.1.1",
"@angular/router": "^14.1.1",
"ng-configcat-publicapi": "^2.9.0",
"ng-configcat-publicapi-ui": "^2.10.0",
"ng-configcat-publicapi": "^2.9.1",
"ng-configcat-publicapi-ui": "^2.13.1",
"rxjs": "~6.6.0",
"tslib": "^2.0.0",
"zone.js": "~0.11.4"
Expand Down

0 comments on commit bc0d199

Please sign in to comment.