From ed465fc042448b713807706fc90391d77751fa86 Mon Sep 17 00:00:00 2001 From: Vladimir Mandic Date: Sun, 4 Apr 2021 08:28:14 -0400 Subject: [PATCH] added webhints --- .hintrc | 6 ++++++ CHANGELOG.md | 12 ++++++++---- dist/face-api.esm-nobundle.js | 2 +- dist/face-api.esm.js | 2 +- dist/face-api.js | 2 +- dist/face-api.node-cpu.js | 2 +- dist/face-api.node-gpu.js | 2 +- dist/face-api.node.js | 2 +- package.json | 4 ++-- typedoc/classes/draw.drawbox.html | 2 +- typedoc/classes/draw.drawboxoptions.html | 2 +- typedoc/classes/draw.drawfacelandmarks.html | 2 +- typedoc/classes/draw.drawfacelandmarksoptions.html | 2 +- typedoc/classes/draw.drawtextfield.html | 2 +- typedoc/classes/draw.drawtextfieldoptions.html | 2 +- typedoc/classes/facedetectionnet.html | 2 +- typedoc/classes/facelandmarks.html | 2 +- typedoc/classes/facelandmarks5.html | 2 +- typedoc/classes/facelandmarks68.html | 2 +- typedoc/classes/ssdmobilenetv1.html | 2 +- typedoc/classes/ssdmobilenetv1options.html | 2 +- typedoc/classes/tinyfacedetector.html | 2 +- typedoc/classes/tinyfacedetectoroptions.html | 2 +- typedoc/classes/tinyyolov2.html | 2 +- typedoc/classes/tinyyolov2options.html | 2 +- typedoc/index.html | 2 +- 26 files changed, 39 insertions(+), 29 deletions(-) create mode 100644 .hintrc diff --git a/.hintrc b/.hintrc new file mode 100644 index 0000000..b68f2ca --- /dev/null +++ b/.hintrc @@ -0,0 +1,6 @@ +{ + "hints": { + "no-inline-styles": "off", + "compat-api/html": "off" + } +} \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c44f966..66d04fb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # @vladmandic/face-api -Version: **1.1.8** +Version: **1.1.9** Description: **FaceAPI: AI-powered Face Detection, Description & Recognition using Tensorflow/JS** Author: **Vladimir Mandic ** @@ -9,12 +9,16 @@ Repository: **** ## Changelog +### **HEAD -> master** 2021/04/03 mandic00@live.com + + +### **1.1.9** 2021/04/03 mandic00@live.com + +- fix linting and tests + ### **1.1.8** 2021/04/01 mandic00@live.com -### **origin/master** 2021/04/01 mandic00@live.com - - ### **1.1.7** 2021/03/31 mandic00@live.com - enable minify diff --git a/dist/face-api.esm-nobundle.js b/dist/face-api.esm-nobundle.js index 059681b..c6f860f 100644 --- a/dist/face-api.esm-nobundle.js +++ b/dist/face-api.esm-nobundle.js @@ -2080,7 +2080,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) { } // package.json -var version = "1.1.8"; +var version = "1.1.9"; // src/xception/extractParams.ts function extractorsFactory2(extractWeights, paramMappings) { diff --git a/dist/face-api.esm.js b/dist/face-api.esm.js index 1405b75..f594986 100644 --- a/dist/face-api.esm.js +++ b/dist/face-api.esm.js @@ -76642,7 +76642,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) { } // package.json -var version10 = "1.1.8"; +var version10 = "1.1.9"; // src/xception/extractParams.ts function extractorsFactory2(extractWeights, paramMappings) { diff --git a/dist/face-api.js b/dist/face-api.js index 21d10d4..6bf98d2 100644 --- a/dist/face-api.js +++ b/dist/face-api.js @@ -76768,7 +76768,7 @@ return a / b;`; } // package.json - var version10 = "1.1.8"; + var version10 = "1.1.9"; // src/xception/extractParams.ts function extractorsFactory2(extractWeights, paramMappings) { diff --git a/dist/face-api.node-cpu.js b/dist/face-api.node-cpu.js index 0312833..7ec2af7 100644 --- a/dist/face-api.node-cpu.js +++ b/dist/face-api.node-cpu.js @@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) { } // package.json -var version = "1.1.8"; +var version = "1.1.9"; // src/ageGenderNet/AgeGenderNet.ts var tf20 = __toModule(require_tfjs_esm()); diff --git a/dist/face-api.node-gpu.js b/dist/face-api.node-gpu.js index 64d0ff6..0385ed9 100644 --- a/dist/face-api.node-gpu.js +++ b/dist/face-api.node-gpu.js @@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) { } // package.json -var version = "1.1.8"; +var version = "1.1.9"; // src/ageGenderNet/AgeGenderNet.ts var tf20 = __toModule(require_tfjs_esm()); diff --git a/dist/face-api.node.js b/dist/face-api.node.js index 11eb213..41bd3f3 100644 --- a/dist/face-api.node.js +++ b/dist/face-api.node.js @@ -2262,7 +2262,7 @@ function drawFaceLandmarks(canvasArg, faceLandmarks) { } // package.json -var version = "1.1.8"; +var version = "1.1.9"; // src/ageGenderNet/AgeGenderNet.ts var tf20 = __toModule(require_tfjs_esm()); diff --git a/package.json b/package.json index 7154f31..00d5dcd 100644 --- a/package.json +++ b/package.json @@ -52,7 +52,7 @@ "canvas": "^2.7.0", "chokidar": "^3.5.1", "dayjs": "^1.10.4", - "esbuild": "^0.11.4", + "esbuild": "^0.11.5", "eslint": "^7.23.0", "eslint-config-airbnb-base": "^14.2.1", "eslint-plugin-import": "^2.22.1", @@ -63,7 +63,7 @@ "seedrandom": "^3.0.5", "simple-git": "^2.37.0", "tslib": "^2.1.0", - "typedoc": "^0.20.34", + "typedoc": "^0.20.35", "typescript": "^4.2.3" } } diff --git a/typedoc/classes/draw.drawbox.html b/typedoc/classes/draw.drawbox.html index e2fb763..e894b3f 100644 --- a/typedoc/classes/draw.drawbox.html +++ b/typedoc/classes/draw.drawbox.html @@ -121,7 +121,7 @@
box: IRect | IBoundingBox
  • -
    options: IDrawBoxOptions = ...
    +
    options: IDrawBoxOptions = {}
  • Returns DrawBox

    diff --git a/typedoc/classes/draw.drawboxoptions.html b/typedoc/classes/draw.drawboxoptions.html index cddba3b..42c355c 100644 --- a/typedoc/classes/draw.drawboxoptions.html +++ b/typedoc/classes/draw.drawboxoptions.html @@ -114,7 +114,7 @@

    Parameters

    Returns DrawBoxOptions

    diff --git a/typedoc/classes/draw.drawfacelandmarks.html b/typedoc/classes/draw.drawfacelandmarks.html index 96ddefd..d84518f 100644 --- a/typedoc/classes/draw.drawfacelandmarks.html +++ b/typedoc/classes/draw.drawfacelandmarks.html @@ -121,7 +121,7 @@
    faceLandmarks: FaceLandmarks
  • -
    options: IDrawFaceLandmarksOptions = ...
    +
    options: IDrawFaceLandmarksOptions = {}
  • Returns DrawFaceLandmarks

    diff --git a/typedoc/classes/draw.drawfacelandmarksoptions.html b/typedoc/classes/draw.drawfacelandmarksoptions.html index 2c81e04..77f9217 100644 --- a/typedoc/classes/draw.drawfacelandmarksoptions.html +++ b/typedoc/classes/draw.drawfacelandmarksoptions.html @@ -116,7 +116,7 @@

    Parameters

    Returns DrawFaceLandmarksOptions

    diff --git a/typedoc/classes/draw.drawtextfield.html b/typedoc/classes/draw.drawtextfield.html index b889a51..c982522 100644 --- a/typedoc/classes/draw.drawtextfield.html +++ b/typedoc/classes/draw.drawtextfield.html @@ -128,7 +128,7 @@
    anchor: IPoint
  • -
    options: IDrawTextFieldOptions = ...
    +
    options: IDrawTextFieldOptions = {}
  • Returns DrawTextField

    diff --git a/typedoc/classes/draw.drawtextfieldoptions.html b/typedoc/classes/draw.drawtextfieldoptions.html index 4b40cdb..8a05ae4 100644 --- a/typedoc/classes/draw.drawtextfieldoptions.html +++ b/typedoc/classes/draw.drawtextfieldoptions.html @@ -122,7 +122,7 @@

    Parameters

    Returns DrawTextFieldOptions

    diff --git a/typedoc/classes/facedetectionnet.html b/typedoc/classes/facedetectionnet.html index 43f8470..d7cf966 100644 --- a/typedoc/classes/facedetectionnet.html +++ b/typedoc/classes/facedetectionnet.html @@ -524,7 +524,7 @@
    input: any
  • -
    options: ISsdMobilenetv1Options = ...
    +
    options: ISsdMobilenetv1Options = {}
  • Returns Promise<FaceDetection[]>

    diff --git a/typedoc/classes/facelandmarks.html b/typedoc/classes/facelandmarks.html index 91419af..cf088bd 100644 --- a/typedoc/classes/facelandmarks.html +++ b/typedoc/classes/facelandmarks.html @@ -273,7 +273,7 @@
  • -
    options: { minBoxPadding?: number; useDlibAlignment?: boolean } = ...
    +
    options: { minBoxPadding?: number; useDlibAlignment?: boolean } = {}
    • Optional minBoxPadding?: number
      diff --git a/typedoc/classes/facelandmarks5.html b/typedoc/classes/facelandmarks5.html index 28d6d6d..0ab0c28 100644 --- a/typedoc/classes/facelandmarks5.html +++ b/typedoc/classes/facelandmarks5.html @@ -264,7 +264,7 @@
    • -
      options: { minBoxPadding?: number; useDlibAlignment?: boolean } = ...
      +
      options: { minBoxPadding?: number; useDlibAlignment?: boolean } = {}
      • Optional minBoxPadding?: number
        diff --git a/typedoc/classes/facelandmarks68.html b/typedoc/classes/facelandmarks68.html index 3259339..2d25d49 100644 --- a/typedoc/classes/facelandmarks68.html +++ b/typedoc/classes/facelandmarks68.html @@ -271,7 +271,7 @@
      • -
        options: { minBoxPadding?: number; useDlibAlignment?: boolean } = ...
        +
        options: { minBoxPadding?: number; useDlibAlignment?: boolean } = {}
        • Optional minBoxPadding?: number
          diff --git a/typedoc/classes/ssdmobilenetv1.html b/typedoc/classes/ssdmobilenetv1.html index 1ac7b39..4299640 100644 --- a/typedoc/classes/ssdmobilenetv1.html +++ b/typedoc/classes/ssdmobilenetv1.html @@ -526,7 +526,7 @@
          input: any
        • -
          options: ISsdMobilenetv1Options = ...
          +
          options: ISsdMobilenetv1Options = {}

        Returns Promise<FaceDetection[]>

        diff --git a/typedoc/classes/ssdmobilenetv1options.html b/typedoc/classes/ssdmobilenetv1options.html index e980177..3b62ca8 100644 --- a/typedoc/classes/ssdmobilenetv1options.html +++ b/typedoc/classes/ssdmobilenetv1options.html @@ -109,7 +109,7 @@

        Parameters

        Returns SsdMobilenetv1Options

        diff --git a/typedoc/classes/tinyfacedetector.html b/typedoc/classes/tinyfacedetector.html index 4a1a9ad..9f15121 100644 --- a/typedoc/classes/tinyfacedetector.html +++ b/typedoc/classes/tinyfacedetector.html @@ -323,7 +323,7 @@
        input: any
      • -
        forwardParams: ITinyYolov2Options = ...
        +
        forwardParams: ITinyYolov2Options = {}

      Returns Promise<ObjectDetection[]>

      diff --git a/typedoc/classes/tinyfacedetectoroptions.html b/typedoc/classes/tinyfacedetectoroptions.html index dadf924..30884d2 100644 --- a/typedoc/classes/tinyfacedetectoroptions.html +++ b/typedoc/classes/tinyfacedetectoroptions.html @@ -115,7 +115,7 @@

      Parameters

      Returns TinyFaceDetectorOptions

      diff --git a/typedoc/classes/tinyyolov2.html b/typedoc/classes/tinyyolov2.html index d175351..a602c0f 100644 --- a/typedoc/classes/tinyyolov2.html +++ b/typedoc/classes/tinyyolov2.html @@ -347,7 +347,7 @@
      input: any
    • -
      forwardParams: ITinyYolov2Options = ...
      +
      forwardParams: ITinyYolov2Options = {}

    Returns Promise<ObjectDetection[]>

    diff --git a/typedoc/classes/tinyyolov2options.html b/typedoc/classes/tinyyolov2options.html index af963c2..018ce37 100644 --- a/typedoc/classes/tinyyolov2options.html +++ b/typedoc/classes/tinyyolov2options.html @@ -114,7 +114,7 @@

    Parameters

    Returns TinyYolov2Options

    diff --git a/typedoc/index.html b/typedoc/index.html index 748d906..200eff9 100644 --- a/typedoc/index.html +++ b/typedoc/index.html @@ -1042,7 +1042,7 @@
    input: TNetInput
  • -
    forwardParams: ITinyYolov2Options = ...
    +
    forwardParams: ITinyYolov2Options = {}
  • Returns Promise<WithFaceDescriptor<WithFaceLandmarks<WithFaceDetection<{}>>>[]>