fix(deps): update dependency browser-sync to v2.27.9#248
Merged
Conversation
37a5eb9 to
0ba59b7
Compare
0ba59b7 to
4b0843f
Compare
99ff315 to
049d79b
Compare
049d79b to
cd8592a
Compare
cd8592a to
d63ff08
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
2.18.13->2.27.9Release Notes
BrowserSync/browser-sync
v2.27.9Compare Source
What's Changed
A bug prevented the help output from displaying - it was introduced when the CLI parser
yargswas updated, and is now fixed :)Full Changelog: BrowserSync/browser-sync@v2.27.8...v2.27.9
v2.27.8Compare Source
This release upgrades Socket.io (client+server) to the latest versions - solving the following issues, and silencing security warning :)
PR:
Resolved Issues:
Thanks to @lachieh for the original PR, which helped me land this fix
v2.27.7Compare Source
v2.27.6Compare Source
v2.27.5Compare Source
v2.27.4Compare Source
v2.27.3Compare Source
v2.27.1Compare Source
This release adds a feature to address BrowserSync/browser-sync#1882
Sometimes you don't want Browsersync to auto-inject it's connection snippet into your HTML - now you can disable it globally via either a CLI param or the new
snippetoption :)browser-sync . --no-snippetor in any Browsersync configuration
the original request was related to Eleventy usage, so here's how that would look
v2.26.14Compare Source
This is a maintenance release to address 2 security related issues (socket.io & axios)
Happy Browsersync'in :)
v2.26.13Compare Source
v2.26.12Compare Source
v2.26.10Compare Source
v2.26.9Compare Source
v2.26.7Compare Source
v2.26.6Compare Source
v2.26.5Compare Source
v2.26.4Compare Source
v2.26.3Compare Source
fixes
d60cd910a2ff5a9f3fea4v2.26.2Compare Source
v2.26.1Compare Source
v2.26.0Compare Source
these notes describe the change from 2.24.6 -> 2.26.0
fixes
257fba6domainkey in proxy responsesdacfc8b11729cc06ee1b79e9660348286e0chore
0d4ab81900e23eef12e9alerna
7c0ad4ec108af84ac3a49d6198f9325c775feature
d641916docs
cf0febd16487addeps
27f2173a6578a3v2.25.0Compare Source
Browsersync can now be used in more restrictive areas, ones where you cannot simply bind to all addresses on the host (such as schools or universities) - this is enabled via the
listenoption.For backwards compatibility reasons, we actually cannot use the
hostoption to acheive this (even though that would make the most sense), as it would break some people's existing setups.This is mainly because in the past,
hostwas not used to determine an address to bind to, but rather just as a way of changing the urls Browsersync displays to the user. :( :( :(It was a big mistake, but now with the sheer size of the user base we have, every tiny change to any existing option causes some kind of breakage. I'm not prepared to do that again with
host.So, instead we're back to the old method of instead adding a new option, that I've called
listen. It's the only way we can acheive the goal without breaking existing users who are usinghostfor other reasons.The idea is that you'd only ever use the
listenoption if you want to restrict the address being bound to. For example, the following will serve files from the current directory, but behind the scenes Browsersync will only bind tolocalhost(this does mean that other features such asexternal urlswill not work any more, but if you need thislistenoption in the first place, that will not be a concern for you)npm i -g browser-sync@2.25.0 browser-sync . --listen localhostv2.24.7Compare Source
fix
b6ba0dd9e9660348286e0deps
a6578a3v2.24.6Compare Source
v2.24.5Compare Source
fix
dd70eba90e7306v2.24.4Compare Source
fix
a6d39e6v2.24.3Compare Source
2.24.0 was a very large release - and with that, a handful of patch releases inevitably follow. Please move straight to 2.24.3 :)
fixes
cc5118c11538459cef9c1568e64eb37e11cv2.24.2Compare Source
v2.24.1Compare Source
v2.24.0Compare Source
Features
99a69ce9d9dfb1injectNotificationoption & defaulted to false06608fb4803786e4754c9Fixes
b8685bcwatchboolean when falseb41f602Dependencies
0ad5f3af6ac69f0e1dd37679fbbcTests
31bace2misc
1c9ae438a957e931956ab78c3854tehtothe4ce533cv2.23.7Compare Source
66dd19cv2.23.6Compare Source
v2.23.5Compare Source
v2.23.4Compare Source
v2.23.3Compare Source
misc
type: arrayin server field of startOpts" - fixes #1483 (This reverts commitb24514b)31150d6620e9aev2.23.2Compare Source
CLI
type: arrayin server field of startOptsb24514bv2.23.1Compare Source
2.23.1 (2018-01-01)
v2.23.0Compare Source
e6be4e9notifycommand over HTTP protocolac86665(closes #1467)3b7e8cb91b7e89watchoption - (see below)@imports- thanks to Live Reloadfb26e82(closes #10)b5cc56esingleoption - adds a middleware to help with SPAs (serves index.html for all non-matching routes)91480aaignoreoption - shortcut for adding towatchOptions.ignored- added because of the newwatchoptiongit checkoutwithout any configurationfd3d074dbb1267cb5b44cHighlights
Easier CLI commands
In an attempt to streamline the common use-cases, Browsersync will now attempt to 'do the right thing' when no command is provided, for example:
To run a static server, serving from the current directory
To run a static server, serving from 2 directories:
If the directory contains a 'index.html' file, you can omit any input and just run:
### after browser-syncYou can run the proxy in this manner too
### after browser-sync https://example.comTo run a proxy, whilst also serving static files
### after browser-sync https://example.com htdocs/themes/exampleNew
watchoptionBecause we now have the shorthand ways of launching servers/proxies, eg:
browser-sync .- it also made sense to automatically watch files too. So, ifwatch: true- then Browsersync will make a best-guess at which files to automatically watch.Here's a comparison to the old way (which will still work, of course)
Behind the scenes, Browsersync is just looking at served directories (in this case,
app) andadding it to the regular
filesoption as normal.It means the following the 2 configurations are identical, but the latter is better since there's no
repetition.
{ "server": {"baseDir": ["app"]}, "files": ["app"] }{ "server": {"baseDir": ["app"]}, "watch": "true" }New
ignoreoptionAdded as a convenience since we have simpler watching via the
watchflag. Use it to ignore any patterns that should not cause Browsersync reloads/injectionsExample:
- Serve files from the 'app' directory
- Watch all files
- But, exclude
**/*.js(if using Webpack, etc)CLI:
browser-sync app -w --ignore '**/*.js'Config:
{ "server": "app", "watch": true, "ignore": "**/*.js" }New
singleoption, easy SPA developmentThis option will add the
connect-history-api-fallbackmiddleware automatically for you, meaning that developing with client-side routers can be done without configuring this middleware manuallyExample:
- Serve files from the
appdirectory- Watch all files
- Serve
index.htmlfor all none matching routesFall back to a directory listing if a request gives a 404
No more
Cannot Get /' messages. If you run Browsersync in a directory where there's noindex.html, a directory listing will be shown instead.v2.22.0Compare Source
v2.21.0Compare Source
v2.20.1Compare Source
v2.20.0Compare Source
v2.19.0Compare Source
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.