"JS Library Detected Warning: File u'lib/' is a known JS library" – for every directory in add-on

When uploading version 0.7.1 and 0.7.2 of VimFx to AMO today I noticed that the validation report contains:

JS Library DetectedWarning:

JavaScript libraries are discouraged for simple add-ons, but are generally accepted.

File u’lib/’ is a known JS library

lib/

for every directory in the add-on. ‘lib’ is just one of them:

$ unzip -d VimFx VimFx.xpi
$ find VimFx/ -type d
VimFx/
VimFx/lib
VimFx/locale
VimFx/locale/de
VimFx/locale/el-GR
VimFx/locale/en-US
VimFx/locale/fr
VimFx/locale/hu
VimFx/locale/id
VimFx/locale/it
VimFx/locale/ja
VimFx/locale/nl
VimFx/locale/pl
VimFx/locale/pt-BR
VimFx/locale/ru
VimFx/locale/sv-SE
VimFx/locale/zh-CN
VimFx/locale/zh-TW
VimFx/node_modules
VimFx/node_modules/n-ary-huffman
VimFx/node_modules/vim-like-key-notation
VimFx/skin
VimFx/test

Only VimFx/node_modules/n-ary-huffman and VimFx/node_modules/vim-like-key-notation are included libraries.

I didn’t see these notices in the validation report when I uploaded version 0.7.0 two days ago.

This looks like a mistake in the validator to me. Has anyone else experienced this? Should I report it on bugzilla?

Validator at the moment outputs some false warnings. You can disregard them until it is fixed.

1 Like