Add lz-string-unsafe updater
This commit is contained in:
parent
a5dc57f6cd
commit
41f438b857
|
@ -69,7 +69,7 @@ var [chromeLocal, chromeSync] = (() => {
|
|||
function loadLZStringScript() {
|
||||
return window.LZString ?
|
||||
Promise.resolve(window.LZString) :
|
||||
loadScript('/vendor/lz-string/lz-string-unsafe.js').then(() =>
|
||||
loadScript('/vendor/lz-string-unsafe/lz-string-unsafe.min.js').then(() =>
|
||||
(window.LZString = window.LZString || window.LZStringUnsafe));
|
||||
}
|
||||
|
||||
|
|
|
@ -11,6 +11,7 @@
|
|||
"fs-extra": "^7.0.0",
|
||||
"jsonlint": "^1.6.3",
|
||||
"less": "^3.7.1",
|
||||
"lz-string-unsafe": "^1.4.4-beta",
|
||||
"updates": "^3.2.3"
|
||||
},
|
||||
"scripts": {
|
||||
|
|
|
@ -43,6 +43,9 @@ const files = {
|
|||
],
|
||||
'less': [
|
||||
'dist/less.min.js → less.min.js'
|
||||
],
|
||||
'lz-string-unsafe': [
|
||||
'lz-string-unsafe.min.js → lz-string-unsafe.min.js'
|
||||
]
|
||||
};
|
||||
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
http://pieroxy.net/blog/pages/lz-string/index.html
|
||||
|
||||
https://github.com/pieroxy/lz-string/blob/master/LICENSE.txt
|
||||
|
||||
|
||||
Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
||||
This work is free. You can redistribute it and/or modify it
|
||||
under the terms of the WTFPL, Version 2
|
||||
For more information see LICENSE.txt or http://www.wtfpl.net/
|
||||
|
||||
For more information, the home page:
|
||||
http://pieroxy.net/blog/pages/lz-string/testing.html
|
||||
|
||||
LZ-based compression algorithm, version 1.4.4
|
||||
Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
||||
This work is free. You can redistribute it and/or modify it
|
||||
under the terms of the WTFPL, Version 2
|
||||
For more information see LICENSE.txt or http://www.wtfpl.net/
|
||||
|
||||
For more information, the home page:
|
||||
http://pieroxy.net/blog/pages/lz-string/testing.html
|
||||
|
||||
LZ-based compression algorithm, version 1.4.4
|
||||
http://pieroxy.net/blog/pages/lz-string/index.html
|
||||
|
||||
https://github.com/pieroxy/lz-string/blob/master/LICENSE.txt
|
||||
|
||||
|
||||
Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
||||
This work is free. You can redistribute it and/or modify it
|
||||
under the terms of the WTFPL, Version 2
|
||||
For more information see LICENSE.txt or http://www.wtfpl.net/
|
||||
|
||||
For more information, the home page:
|
||||
http://pieroxy.net/blog/pages/lz-string/testing.html
|
||||
|
||||
LZ-based compression algorithm, version 1.4.4
|
||||
Copyright (c) 2013 Pieroxy <pieroxy@pieroxy.net>
|
||||
This work is free. You can redistribute it and/or modify it
|
||||
under the terms of the WTFPL, Version 2
|
||||
For more information see LICENSE.txt or http://www.wtfpl.net/
|
||||
|
||||
For more information, the home page:
|
||||
http://pieroxy.net/blog/pages/lz-string/testing.html
|
||||
|
||||
LZ-based compression algorithm, version 1.4.4
|
5
vendor/lz-string-unsafe/README.md
vendored
Normal file
5
vendor/lz-string-unsafe/README.md
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
## Lz-string-unsafe v0.0.0
|
||||
|
||||
lz-string-unsafe installed via npm - source repo:
|
||||
|
||||
https://github.com/openstyles/lz-string-unsafe/blob/v0.0.0/lz-string-unsafe.js
|
Loading…
Reference in New Issue
Block a user