Skip to content

Commit eddb9f0

Browse files
fix build error (#736)
Co-authored-by: Ping Yu <[email protected]>
1 parent 22b9d19 commit eddb9f0

File tree

15 files changed

+2538
-2640
lines changed

15 files changed

+2538
-2640
lines changed

blazeface/demo/.babelrc

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,5 @@
1212
}
1313
]
1414
],
15-
"plugins": [
16-
[
17-
"transform-runtime",
18-
{
19-
"polyfill": false
20-
}
21-
]
22-
]
23-
}
15+
"plugins": ["@babel/plugin-transform-runtime"]
16+
}

blazeface/demo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@
2727
"crypto": false
2828
},
2929
"devDependencies": {
30-
"babel-core": "^6.26.3",
31-
"babel-plugin-transform-runtime": "~6.23.0",
32-
"babel-polyfill": "~6.26.0",
33-
"babel-preset-env": "~1.6.1",
30+
"@babel/core": "^7.7.5",
31+
"@babel/plugin-transform-runtime": "^7.7.6",
32+
"@babel/polyfill": "^7.10.4",
33+
"@babel/preset-env": "^7.7.6",
3434
"clang-format": "~1.2.2",
3535
"cross-env": "^5.2.0",
3636
"dat.gui": "^0.7.2",

blazeface/demo/yarn.lock

Lines changed: 503 additions & 641 deletions
Large diffs are not rendered by default.

knn-classifier/demo/.babelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
}
1313
]
1414
],
15-
"plugins": [
16-
["transform-runtime", {"polyfill": false}]
17-
]
15+
"plugins": ["@babel/plugin-transform-runtime"]
1816
}

knn-classifier/demo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
"crypto": false
3131
},
3232
"devDependencies": {
33-
"babel-core": "^6.26.3",
34-
"babel-plugin-transform-runtime": "~6.23.0",
35-
"babel-polyfill": "~6.26.0",
36-
"babel-preset-env": "~1.6.1",
33+
"@babel/core": "^7.7.5",
34+
"@babel/plugin-transform-runtime": "^7.7.6",
35+
"@babel/polyfill": "^7.10.4",
36+
"@babel/preset-env": "^7.7.6",
3737
"babel-preset-es2017": "^6.24.1",
3838
"clang-format": "~1.2.2",
3939
"cross-env": "^5.2.0",

knn-classifier/demo/yarn.lock

Lines changed: 501 additions & 533 deletions
Large diffs are not rendered by default.

qna/demo/.babelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
}
1313
]
1414
],
15-
"plugins": [
16-
["transform-runtime", {"polyfill": false}]
17-
]
15+
"plugins": ["@babel/plugin-transform-runtime"]
1816
}

qna/demo/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,14 @@
2222
"crypto": false
2323
},
2424
"devDependencies": {
25+
"@babel/core": "^7.7.5",
26+
"@babel/plugin-transform-runtime": "^7.7.6",
27+
"@babel/polyfill": "^7.10.4",
28+
"@babel/preset-env": "^7.7.6",
2529
"@tensorflow/tfjs-backend-cpu": "^3.3.0",
2630
"@tensorflow/tfjs-backend-webgl": "^3.3.0",
2731
"@tensorflow/tfjs-converter": "3.3.0",
2832
"@tensorflow/tfjs-core": "3.3.0",
29-
"babel-core": "^6.26.3",
30-
"babel-plugin-transform-runtime": "~6.23.0",
3133
"babel-preset-env": "^1.7.0",
3234
"clang-format": "~1.5.0",
3335
"cross-env": "^7.0.3",

qna/demo/yarn.lock

Lines changed: 496 additions & 139 deletions
Large diffs are not rendered by default.

toxicity/demo/.babelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,5 @@
1212
}
1313
]
1414
],
15-
"plugins": [
16-
["transform-runtime", {"polyfill": false}]
17-
]
15+
"plugins": ["@babel/plugin-transform-runtime"]
1816
}

toxicity/demo/package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
"crypto": false
2323
},
2424
"devDependencies": {
25-
"babel-core": "~6.26.3",
26-
"babel-plugin-transform-runtime": "~6.23.0",
27-
"babel-polyfill": "~6.26.0",
28-
"babel-preset-env": "~1.6.1",
25+
"@babel/core": "^7.7.5",
26+
"@babel/plugin-transform-runtime": "^7.7.6",
27+
"@babel/polyfill": "^7.10.4",
28+
"@babel/preset-env": "^7.7.6",
2929
"clang-format": "~1.2.2",
3030
"cross-env": "^5.2.0",
3131
"dat.gui": "~0.7.2",

0 commit comments

Comments
 (0)