Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

nsqadmin: update run-time js deps, fix channel delete #1189

Merged
merged 4 commits into from
Sep 22, 2019

Conversation

ploxiln
Copy link
Member

@ploxiln ploxiln commented Sep 18, 2019

fixes #1188
and also another little thing I ran into

cc @jehiah @mreiferson

handlebars 4.0.11 -> 4.2.1
backbone   1.2.3  -> 1.4.0
bootstrap  3.3.6  -> 3.4.1
jquery     3.3.1  -> 3.4.1
moment     2.11.2 -> 2.24.0

left gulp and browserify related build-tool deps alone for now
I don't fully understand "this" scope, but this change seems to
fix the delete button for both firefox and chrome.
The Content-Type of the source-map file is not supposed to matter.
But, if Content-Encoding is gzip, and Content-Type is x-gzip, then
Firefox does not decompress the response before trying to decode json,
and fails to load the source map for the debugger, complaining:
"unexpected character at line 1 column 1 of the JSON data".
With a proper Content-Type, Firefox decompresses and understands.
(Chrome works either way.)
@ploxiln ploxiln merged commit fa9f2b4 into nsqio:master Sep 22, 2019
@ploxiln ploxiln deleted the bump_handlebars branch December 16, 2019 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using vulnerable version of handlebars library
2 participants