Skip to content

Commit

Permalink
Re-generate lockfiles to address dependabot alerts (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
alangpierce authored May 29, 2021
1 parent c0aba36 commit 805cd66
Show file tree
Hide file tree
Showing 7 changed files with 1,024 additions and 1,216 deletions.
749 changes: 400 additions & 349 deletions benchmark/yarn.lock

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions integrations/gulp-plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,10 @@ function gulpSucrase(options: Options): Transform {
}

try {
const resultCode = transform(file.contents.toString(), {filePath: file.path, ...options})
.code;
const resultCode = transform(file.contents.toString(), {
filePath: file.path,
...options,
}).code;
file.contents = Buffer.from(resultCode);
file.path = replaceExt(file.path, ".js");
this.push(file);
Expand Down
7 changes: 4 additions & 3 deletions src/util/getClassInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -212,9 +212,10 @@ function processClassHeader(tokens: TokenProcessor): ClassHeaderInfo {
/**
* Extract useful information out of a constructor, starting at the "constructor" name.
*/
function processConstructor(
tokens: TokenProcessor,
): {constructorInitializerStatements: Array<string>; constructorInsertPos: number} {
function processConstructor(tokens: TokenProcessor): {
constructorInitializerStatements: Array<string>;
constructorInsertPos: number;
} {
const constructorInitializerStatements = [];

tokens.nextToken();
Expand Down
7 changes: 4 additions & 3 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"base64-js": "^1.3.1",
"case-sensitive-paths-webpack-plugin": "^2.2.0",
"chalk": "^3.0.0",
"css-loader": "^3.2.0",
"css-loader": "^5.2.6",
"file-loader": "^4.2.0",
"fs-extra": "^8.1.0",
"gzip-js": "^0.3.2",
Expand All @@ -32,7 +32,7 @@
"object-assign": "^4.1.1",
"promise": "^8.0.3",
"react": "^16.11.0",
"react-dev-utils": "^11.0.1",
"react-dev-utils": "^11.0.4",
"react-dom": "^16.11.0",
"react-hot-loader": "^4.12.16",
"react-monaco-editor": "^0.32.1",
Expand All @@ -54,7 +54,8 @@
},
"resolutions": {
"**/@types/react": "16.14.5",
"**/immer": "8.0.1"
"**/immer": "8.0.1",
"react-dev-utils/browserslist": "^4.16.5"
},
"jest": {
"collectCoverageFrom": [
Expand Down
12 changes: 2 additions & 10 deletions website/src/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,16 +37,8 @@ export default class Editor extends Component<EditorProps> {
};

render(): JSX.Element {
const {
MonacoEditor,
code,
onChange,
isReadOnly,
isPlaintext,
options,
width,
height,
} = this.props;
const {MonacoEditor, code, onChange, isReadOnly, isPlaintext, options, width, height} =
this.props;
return (
<MonacoEditor
editorDidMount={this._editorDidMount}
Expand Down
920 changes: 354 additions & 566 deletions website/yarn.lock

Large diffs are not rendered by default.

Loading

0 comments on commit 805cd66

Please sign in to comment.