browser-update
Advanced tools
Comparing version 3.1.2 to 3.1.3
Changes to the notification / detection script | ||
========== | ||
3.1.3 | ||
- fixed specifying Internet Explorer (and fallback from Edge), fixes #375 | ||
3.1.2 | ||
@@ -4,0 +7,0 @@ - New style text formatting for more languages |
{ | ||
"name": "browser-update", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"description": "Remind users to update their browser in an unobtrusive way.", | ||
@@ -5,0 +5,0 @@ "main": "update.npm.full.js", |
@@ -42,2 +42,18 @@ # browser-update | ||
Options can be something like: | ||
````js | ||
{ | ||
required: { | ||
e:-2, | ||
i:11, | ||
f:-3, | ||
o:-3, | ||
s:10.1, | ||
c:"64.0.3282.16817", | ||
samsung: 7.0 | ||
vivaldi: 1.2 | ||
}, | ||
insecure:true | ||
} | ||
```` | ||
See the [available options](http://browser-update.org/customize.html) to see how you can customize it to your needs. | ||
@@ -59,2 +75,3 @@ | ||
* Hide notification from bots | ||
* Well tested | ||
@@ -61,0 +78,0 @@ More information, our motivation and the features can be found on our [web site](http://browser-update.org). |
@@ -7,3 +7,3 @@ //(c)2017, MIT Style License <browser-update.org/LICENSE.txt> | ||
var s=this; | ||
this.vsakt = {e:16,i:14,f:59,o:52,o_a:45.1,s:11.1,c:66,y:"18.2",v:1.14,uc:11.5,samsung:7.0,ios:11.3}; | ||
this.vsakt = {e:16,i:15,f:59,o:52,o_a:45.1,s:11.1,c:66,y:"18.2",v:1.14,uc:11.5,samsung:7.0,ios:11.3}; | ||
//severly insecure below(!) this version, insecure means remote code execution that is actively being exploited | ||
@@ -170,3 +170,3 @@ //c:64.0.3282.167 | ||
op.apiver=op.api||op.c||-1; | ||
op.jsv="3.1.2npm"; | ||
op.jsv="3.1.3npm"; | ||
@@ -179,2 +179,3 @@ var required_min={i:10,f:11,o:21,s:8,c:30} | ||
required.e=required.e||required.i; | ||
required.i=required.i||required.e; | ||
for (b in $bu_.vsdefault) { | ||
@@ -194,3 +195,2 @@ if (vs[b]) {//old style: browsers to notify | ||
} | ||
required.i=required.i||required.e; | ||
required.ios=required.ios||required.s; | ||
@@ -197,0 +197,0 @@ |
@@ -7,3 +7,3 @@ //(c)2017, MIT Style License <browser-update.org/LICENSE.txt> | ||
var s=this; | ||
this.vsakt = {e:16,i:14,f:59,o:52,o_a:45.1,s:11.1,c:66,y:"18.2",v:1.14,uc:11.5,samsung:7.0,ios:11.3}; | ||
this.vsakt = {e:16,i:15,f:59,o:52,o_a:45.1,s:11.1,c:66,y:"18.2",v:1.14,uc:11.5,samsung:7.0,ios:11.3}; | ||
//severly insecure below(!) this version, insecure means remote code execution that is actively being exploited | ||
@@ -170,3 +170,3 @@ //c:64.0.3282.167 | ||
op.apiver=op.api||op.c||-1; | ||
op.jsv="3.1.2"; | ||
op.jsv="3.1.3"; | ||
@@ -179,2 +179,3 @@ var required_min={i:10,f:11,o:21,s:8,c:30} | ||
required.e=required.e||required.i; | ||
required.i=required.i||required.e; | ||
for (b in $bu_.vsdefault) { | ||
@@ -194,3 +195,2 @@ if (vs[b]) {//old style: browsers to notify | ||
} | ||
required.i=required.i||required.e; | ||
required.ios=required.ios||required.s; | ||
@@ -197,0 +197,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
48991
86
0