fix(deps): update dependency browser-sync to v2.27.9 #248
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.9
Release Notes
BrowserSync/browser-sync
v2.27.9
Compare Source
What's Changed
A bug prevented the help output from displaying - it was introduced when the CLI parser
yargs
was updated, and is now fixed :)Full Changelog: BrowserSync/browser-sync@v2.27.8...v2.27.9
v2.27.8
Compare 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.7
Compare Source
v2.27.6
Compare Source
v2.27.5
Compare Source
v2.27.4
Compare Source
v2.27.3
Compare Source
v2.27.1
Compare 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
snippet
option :)browser-sync . --no-snippet
or in any Browsersync configuration
the original request was related to Eleventy usage, so here's how that would look
v2.26.14
Compare Source
This is a maintenance release to address 2 security related issues (socket.io & axios)
Happy Browsersync'in :)
v2.26.13
Compare Source
v2.26.12
Compare Source
v2.26.10
Compare Source
v2.26.9
Compare Source
v2.26.7
Compare Source
v2.26.6
Compare Source
v2.26.5
Compare Source
v2.26.4
Compare Source
v2.26.3
Compare Source
fixes
d60cd91
0a2ff5a
9f3fea4
v2.26.2
Compare Source
v2.26.1
Compare Source
v2.26.0
Compare Source
these notes describe the change from 2.24.6 -> 2.26.0
fixes
257fba6
domain
key in proxy responsesdacfc8b
11729cc
06ee1b7
9e96603
48286e0
chore
0d4ab81
900e23e
ef12e9a
lerna
7c0ad4e
c108af8
4ac3a49
d6198f9
325c775
feature
d641916
docs
cf0febd
16487ad
deps
27f2173
a6578a3
v2.25.0
Compare 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
listen
option.For backwards compatibility reasons, we actually cannot use the
host
option 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,
host
was 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 usinghost
for other reasons.The idea is that you'd only ever use the
listen
option 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 urls
will not work any more, but if you need thislisten
option in the first place, that will not be a concern for you)npm i -g browser-sync@2.25.0 browser-sync . --listen localhost
v2.24.7
Compare Source
fix
b6ba0dd
9e96603
48286e0
deps
a6578a3
v2.24.6
Compare Source
v2.24.5
Compare Source
fix
dd70eba
90e7306
v2.24.4
Compare Source
fix
a6d39e6
v2.24.3
Compare 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
cc5118c
1153845
9cef9c1
568e64e
b37e11c
v2.24.2
Compare Source
v2.24.1
Compare Source
v2.24.0
Compare Source
Features
99a69ce
9d9dfb1
injectNotification
option & defaulted to false06608fb
4803786
e4754c9
Fixes
b8685bc
watch
boolean when falseb41f602
Dependencies
0ad5f3a
f6ac69f
0e1dd37
679fbbc
Tests
31bace2
misc
1c9ae43
8a957e9
31956ab
78c3854
teh
tothe
4ce533c
v2.23.7
Compare Source
66dd19c
v2.23.6
Compare Source
v2.23.5
Compare Source
v2.23.4
Compare Source
v2.23.3
Compare Source
misc
type: array
in server field of startOpts" - fixes #1483 (This reverts commitb24514b
)31150d6
620e9ae
v2.23.2
Compare Source
CLI
type: array
in server field of startOptsb24514b
v2.23.1
Compare Source
2.23.1 (2018-01-01)
v2.23.0
Compare Source
e6be4e9
notify
command over HTTP protocolac86665
(closes #1467)3b7e8cb
91b7e89
watch
option - (see below)@imports
- thanks to Live Reloadfb26e82
(closes #10)b5cc56e
single
option - adds a middleware to help with SPAs (serves index.html for all non-matching routes)91480aa
ignore
option - shortcut for adding towatchOptions.ignored
- added because of the newwatch
optiongit checkout
without any configurationfd3d074
dbb1267
cb5b44c
Highlights
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-sync
You can run the proxy in this manner too
### after browser-sync https://example.com
To run a proxy, whilst also serving static files
### after browser-sync https://example.com htdocs/themes/example
New
watch
optionBecause 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
files
option as normal.It means the following the 2 configurations are identical, but the latter is better since there's no
repetition.
New
ignore
optionAdded as a convenience since we have simpler watching via the
watch
flag. 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:
New
single
option, easy SPA developmentThis option will add the
connect-history-api-fallback
middleware automatically for you, meaning that developing with client-side routers can be done without configuring this middleware manuallyExample:
- Serve files from the
app
directory- Watch all files
- Serve
index.html
for 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.0
Compare Source
v2.21.0
Compare Source
v2.20.1
Compare Source
v2.20.0
Compare Source
v2.19.0
Compare 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.