assap-org / assap

Anti Shoulder Surfing Attack Platform (ASSAP)
https://github.com/assap-org/assap
MIT License
23 stars 3 forks source link

Update dependencies #42

Closed jiep closed 4 years ago

jiep commented 4 years ago

Dependencias actualizadas:

Actualización a Electron 7


protocol.registerSchemesAsPrivileged([{
   scheme: 'vector',
   privileges: {
       standard: true,
       secure: true,
       supportFetchAPI: true,
   },
}]);

win = new BrowserWindow({
   width: 266,
   height: 150,
   frame: false,
   x: width - 300,
   y: 150,
   alwaysOnTop: true,
   resizable: true,
   webPreferences: {
     nodeIntegration: true,
     webSecurity: false
   }
 })

Actualización @vue/cli-plugin-babel

Sustituir babel.conf.js con

module.exports = {
 presets: [[
   '@vue/app',
   { useBuiltIns: "entry" }
 ]]
}

Actualización face-api a 0.21.0

faceapi.env.monkeyPatch({
    Canvas: HTMLCanvasElement,
    Image: HTMLImageElement,
    ImageData: ImageData,
    Video: HTMLVideoElement,
    createCanvasElement: () => document.createElement('canvas'),
    createImageElement: () => document.createElement('img')
  });

Actualización vue-template-compiler a versión ^2.6.10, eslint-plugin-vue a ^6.0.1 y añadido eslint versión ^6.6.0

jorcuad commented 4 years ago

The issue has been resolved.