Skip to content

Commit 048e44d

Browse files
authoredMar 29, 2021
fix security vulnerabilities (#620)
* fix security vulnerbilities * more sec fixes * fix mobilenet * more fixes * update the demo links * fix lint * more lint fix * more lint fixes * udpate cpu version * udpate blazeface version * add package resolution * fix coco-ssd build * added license headers
1 parent 841afd4 commit 048e44d

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+23964
-33337
lines changed
 

‎blazeface/demo/README.md

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ This demo shows how to use the Blazeface model to detect faces in a video stream
66

77
## Setup
88

9-
cd into the demos folder:
9+
cd into the demo folder:
1010

1111
```sh
12-
cd blazeface/demos
12+
cd blazeface/demo
1313
```
1414

1515
Install dependencies and prepare the build directory:
@@ -24,7 +24,7 @@ To watch files for changes, and launch a dev server:
2424
yarn watch
2525
```
2626

27-
## If you are developing blazeface locally, and want to test the changes in the demos
27+
## If you are developing blazeface locally, and want to test the changes in the demo
2828

2929
Cd into the blazeface folder:
3030
```sh
@@ -41,14 +41,14 @@ Publish blazeface locally:
4141
yarn build && yarn yalc publish
4242
```
4343

44-
Cd into the demos and install dependencies:
44+
Cd into the demo and install dependencies:
4545

4646
```sh
47-
cd demos
47+
cd demo
4848
yarn
4949
```
5050

51-
Link the local blazeface to the demos:
51+
Link the local blazeface to the demo:
5252
```sh
5353
yarn yalc link @tensorflow-models/blazeface
5454
```

‎blazeface/demo/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,11 @@
3636
"dat.gui": "^0.7.2",
3737
"eslint": "^4.19.1",
3838
"eslint-config-google": "^0.9.1",
39-
"parcel-bundler": "~1.10.3",
40-
"yalc": "~1.0.0-pre.27"
39+
"parcel-bundler": "~1.12.5",
40+
"yalc": "~1.0.0-pre.50"
41+
},
42+
"resolutions": {
43+
"is-svg": "4.3.1"
4144
},
4245
"eslintConfig": {
4346
"extends": "google",

0 commit comments

Comments
 (0)