Skip to content

Add alphaToCoverage sample #543

Add alphaToCoverage sample

Add alphaToCoverage sample #543

Triggered via pull request September 20, 2024 07:35
Status Failure
Total duration 57s
Artifacts

build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
build: sample/alphaToCoverage/main.ts#L7
Unexpected any. Specify a different type
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
Replace `(f){if(typeof·exports==="object"&&typeof·module!=="undefined"){module.exports=f()}else·if(typeof·define==="function"&&define.amd){define([],f)}else{var·g;if(typeof·window!=="undefined"){g=window}else·if(typeof·global!=="undefined"){g=global}else·if(typeof·self!=="undefined"){g=self}else{g=this}g.GIF=f()}})(function(){var·define,module,exports;return·function·e(t,n,r){function·s(o,u){if(!n[o]){if(!t[o]){var·a=typeof·require=="function"&&require;if(!u&&a)return·a(o,!0);if(i)return·i(o,!0);var·f=new·Error("Cannot·find·module·'"+o+"'");throw·f.code="MODULE_NOT_FOUND",f}var·l=n[o]={exports:{}};t[o][0].call(l.exports,function(e){var·n=t[o][1][e];return·s(n?n:e)},l,l.exports,e,t,n,r)}return·n[o].exports}var·i=typeof·require=="function"&&require;for(var·o=0;o<r.length;o++)s(r[o]);return·s}({1:[function(require,module,exports){function·EventEmitter(){this._events=this._events||{};this._maxListeners=this._maxListeners||undefined}module.exports=EventEmitter;EventEmitter.EventEmitter=EventEmitter;EventEmitter.prototype._events=undefined;EventEmitter.prototype._maxListeners=undefined;EventEmitter.defaultMaxListeners=10;EventEmitter.prototype.setMaxListeners=function(n){if(!isNumber(n)||n<0||isNaN(n))throw·TypeError("n·must·be·a·positive·number");this._maxListeners=n;return·this};EventEmitter.prototype.emit=function(type){var·er,handler,len,args,i,listeners;if(!this._events)this._events={};if(type==="error"){if(!this._events.error||isObject(this._events.error)&&!this._events.error.length){er=arguments[1];if(er·instanceof·Error){throw·er}else{var·err=new·Error('Uncaught,·unspecified·"error"·event.·('+er+")");err.context=er;throw·err}}}handler=this._events[type];if(isUndefined(handler))return·false;if(isFunction(handler)){switch(arguments.length){case·1:handler.call(this);break;case·2:handler.call(this,arguments[1]);break;case·3:handler.call(this,arguments[1],arguments[2]);break;default:args=Array.prototype.slice.call(arguments,1);handler.apply(this,args)}}else·if(isObject(handler)){args=Array.prototype.slice.call(arguments,1);listeners=handler.slice();len=listeners.length;for(i=0;i<len;i++)listeners[i].apply(this,args)}return·true};EventEmitter.prototype.addListener=function(type,listener){var·m;if(!isFunction(listener))throw·TypeError("listener·must·be·a·function");if(!this._events)this._events={};if(this._events.newListener)this.emit("newListener",type,isFunction(listener.listener)?listener.listener:listener);if(!this._events[type])this._events[type]=listener;else·if(isObject(this._events[type]))this._events[type].push(listener);else·this._events[type]=[this._events[type],listener];if(isObject(this._events[type])&&!this._events[type].warned){if(!isUndefined(this._maxListeners)){m=this._maxListeners}else{m=EventEmitter.defaultMaxListeners}if(m&&m>0&&this._events[type].length>m){this._events[type].warned=true;console.error("(node)·warning:·possible·EventEmitter·memory·"+"leak·detected.·%d·listeners·added.·"+"Use·emitter.setMaxListeners()·to·increase·limit.",this._events[type].length);if(typeof·console.trace==="function"){console.trace()}}}return·this};EventEmitter.prototype.on=EventEmitter.prototype.addListener;EventEmitter.prototype.once=function(type,listener){if(!isFunction(listener))throw·TypeError("listener·must·be·a·function");var·fired=false;function·g(){this.removeListener(type,g);if(!fired){fired=true;listener.apply(this,arguments)}}g.listener=listener;this.on(type,g);return·this};EventEmitter.prototype.removeListener=function(type,listener){var·list,position,length,i;if(!isFunction(listener))throw·TypeError("listener·must·be·a·function");if(!this._events||!this._events[type])return·this;list=this._events[type];length=list.length;position=-1;if(list===listener||isFunction(list.listener)&&list.listener===listener){delete·this._events[type];if(this._events.removeListener)this.emit("removeListener",type,listener)}else·if(isObject(list)){for(i=length;i--·>0;){if(list[i]===listener||list[i].listener&&list[i].listener===listener){position=i;break}}if(position<0)return·this;if(list.length===1){list.length=0;delete·this._even
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
Unexpected aliasing of 'this' to local variable
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'define' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'module' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'exports' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'exports' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'exports' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'exports' is defined but never used
build: sample/alphaToCoverage/third_party/gif.js/gif.js#L2
'i' is assigned a value but never used
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/[email protected], actions/setup-node@v2-beta, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/[email protected], actions/setup-node@v2-beta, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
build
The `save-state` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/