retire.js
retire.js copied to clipboard
Dojo filecontentreplace signature for the compress library version
The Dojo "filecontentreplace" signature is very close to match the official compress lib:
Signature
"filecontentreplace" : [ "/dojo.version=\\{major:([0-9]+),minor:([0-9]+),patch:([0-9]+)/$1.$2.$3/"],
[Ref]
Content from the compress lib
h.version={major:1,minor:10,patch:1
[Ref]
I suggest removing the dojo
keyword and leaving .version[...]
. I'm not sure about the risk of false positive by loosing this one up.
I'm worried it might match another library... Hmm...