From 8f5f9d6238cf2ab22d2c3bd6e32b62b18455225e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ga=C3=ABl=20M=C3=A9tais?= Date: Tue, 4 Feb 2020 12:40:57 -0300 Subject: [PATCH] 1.13.4 (#305) * Update GitHub repository URL * Update jQuery version --- .gitignore | 2 +- README.md | 8 ++++---- front/src/js/app.js | 2 +- front/src/views/about.html | 2 +- front/src/views/queue.html | 2 +- lib/metadata/policies.js | 4 +++- package.json | 4 ++-- 7 files changed, 13 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 19cd53d..a24b9c3 100644 --- a/.gitignore +++ b/.gitignore @@ -4,5 +4,5 @@ node_modules results/* coverage front/build - +package-lock.json har.json \ No newline at end of file diff --git a/README.md b/README.md index 4b541b1..902385d 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ Analyzes a webpage and detects **performance** or **front-end code quality** iss - The CLI (Command Line Interface) - Doc here + The CLI (Command Line Interface) - Doc here @@ -36,7 +36,7 @@ Analyzes a webpage and detects **performance** or **front-end code quality** iss - The NodeJS package - Doc here + The NodeJS package - Doc here @@ -44,7 +44,7 @@ Analyzes a webpage and detects **performance** or **front-end code quality** iss - The public API - Doc here + The public API - Doc here
Allows you to launch runs from any language @@ -72,7 +72,7 @@ You can use [ngrok](https://ngrok.com/), a tool that creates a secure tunnel bet ## Install your own private instance -If your project is not accessible from outside, or if you want to fork and improve the tool, you can build your own instance. The documentation is [here](https://github.com/gmetais/YellowLabTools/wiki/Install-your-private-server). +If your project is not accessible from outside, or if you want to fork and improve the tool, you can build your own instance. The documentation is [here](https://github.com/YellowLabTools/YellowLabTools/wiki/Install-your-private-server). ## Author diff --git a/front/src/js/app.js b/front/src/js/app.js index ef3d2b2..6256042 100644 --- a/front/src/js/app.js +++ b/front/src/js/app.js @@ -42,7 +42,7 @@ yltApp.run(['$rootScope', '$location', function($rootScope, $location) { // GitHub star button (asynchronously loaded iframe) window.addEventListener('load', function() { - window.document.getElementById('ghbtn').src = 'https://ghbtns.com/github-btn.html?user=gmetais&repo=YellowLabTools&type=star&count=true&size=large'; + window.document.getElementById('ghbtn').src = 'https://ghbtns.com/github-btn.html?user=YellowLabTools&repo=YellowLabTools&type=star&count=true&size=large'; }); }]); diff --git a/front/src/views/about.html b/front/src/views/about.html index e838117..c2be60a 100644 --- a/front/src/views/about.html +++ b/front/src/views/about.html @@ -3,7 +3,7 @@

This is done by loading the webpage via PhantomJS and collecting various metrics and statistics with the help of Phantomas. These metrics are categorized and transformed into scores. It also gives in-depth details so that developers can correct the detected issues.

-

By the way, it's free because we are geeks, not businessmen. All we want is a on GitHub. It will boost our motivation to add more awesome features!!!

+

By the way, it's free because we are geeks, not businessmen. All we want is a on GitHub. It will boost our motivation to add more awesome features!!!

<%if (sponsoring.about) { %> diff --git a/front/src/views/queue.html b/front/src/views/queue.html index 204b332..acc315c 100644 --- a/front/src/views/queue.html +++ b/front/src/views/queue.html @@ -5,7 +5,7 @@
Test failed

{{status.error}}

- Report the issue on GitHub + Report the issue on GitHub New test
diff --git a/lib/metadata/policies.js b/lib/metadata/policies.js index 7346224..8ac7e24 100644 --- a/lib/metadata/policies.js +++ b/lib/metadata/policies.js @@ -276,7 +276,7 @@ var policies = { }, "jQueryVersion": { "label": "jQuery version", - "message": "

The current latest version of jQuery is 3.3

Each new version of jQuery optimizes performances. Do not keep an old version of jQuery. Updating can sometimes break a few things, but it is generally quite easy to fix them up. So don't hesitate.

", + "message": "

The current latest version of jQuery is 3.4

Each new version of jQuery optimizes performances. Do not keep an old version of jQuery. Updating can sometimes break a few things, but it is generally quite easy to fix them up. So don't hesitate.

", "hasOffenders": false, "scoreFn": function(data) { var differentVersions = data.toolsResults.phantomas.metrics.jQueryVersionsLoaded; @@ -291,6 +291,8 @@ var policies = { if (value.indexOf('3.3.') === 0 || value.indexOf('3.4.') === 0 || value.indexOf('3.5.') === 0 || + value.indexOf('3.6.') === 0 || + value.indexOf('3.7.') === 0 || value.indexOf('4.0.') === 0) { score = 100; } else if (value.indexOf('3.2.') === 0) { diff --git a/package.json b/package.json index a25f97b..c768632 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "yellowlabtools", - "version": "1.13.3", + "version": "1.13.4", "description": "Online tool to audit a webpage for performance and front-end quality issues", "license": "GPL-2.0", "author": { @@ -10,7 +10,7 @@ }, "repository": { "type": "git", - "url": "git://github.com/gmetais/YellowLabTools.git" + "url": "git://github.com/YellowLabTools/YellowLabTools.git" }, "bin": { "yellowlabtools": "./bin/cli.js"