Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Commit

Permalink
fix: bump dependencies and fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurbergmz committed Nov 17, 2020
1 parent 3d364dc commit fad409c
Show file tree
Hide file tree
Showing 29 changed files with 2,833 additions and 13,682 deletions.
17 changes: 17 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Run test debugging",
"skipFiles": [
"<node_internals>/**"
],
"program": "${workspaceFolder}/tests/index.js"
}
]
}
16,439 changes: 2,790 additions & 13,649 deletions package-lock.json

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,28 +24,28 @@
"scripts": {
"build": "npx babel src --out-dir dist",
"clean": "rimraf -rf tests/*/output && rimraf -rf dist",
"test": "npm run clean && npm run build && node tests/index.js",
"test:debug": "npm run clean && npm run build && node --inspect-brk ./tests/index.js"
"clean:build": "npm run clean && npm run build",
"test": "npm run clean:build && node tests/index.js",
"test:debug": "npm run clean:build && node --inspect-brk ./tests/index.js"
},
"author": "Arthur A. Bergamaschi <arthurbergmz@gmail.com>",
"license": "MIT",
"dependencies": {
"css-color-names": "1.0.0",
"css-color-names": "1.0.1",
"jimp": "0.16.1",
"mime": "2.4.0"
"mime": "2.4.6"
},
"devDependencies": {
"@babel/cli": "7.8.4",
"@babel/core": "7.8.4",
"@babel/preset-env": "7.8.4",
"babel-eslint": "10.0.3",
"eslint": "6.8.0",
"extract-text-webpack-plugin": "3.0.2",
"html-webpack-plugin": "3.2.0",
"@babel/cli": "7.12.1",
"@babel/core": "7.12.3",
"@babel/preset-env": "7.12.1",
"babel-eslint": "10.1.0",
"eslint": "7.13.0",
"html-webpack-plugin": "4.5.0",
"list-directory-contents": "0.0.3",
"rimraf": "3.0.2",
"webpack": "4.41.5",
"webpack-cli": "3.3.10"
"webpack": "5.5.0",
"webpack-cli": "4.2.0"
},
"files": [
"dist",
Expand Down
2 changes: 1 addition & 1 deletion tests/basic/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/basic/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-icon sizes=1024x1024 href=/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=manifest href=/manifest.b71cbf253213cc7cedb8b846c4e8ea0a.json><link rel=mask-icon href=/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg color=#ffffff></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="manifest" href="/manifest.b71cbf253213cc7cedb8b846c4e8ea0a.json" /><link rel="mask-icon" href="/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg" color="#ffffff" /></head><body><script src=/main.5c6b192511a888bcb780.bundle.js></script></body></html>
Empty file.
1 change: 0 additions & 1 deletion tests/basic/test/main.c2a880b33508651abef9.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion tests/complex/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/complex/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-startup-image sizes=1024x1024 href=/icons/ios/startup/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=apple-touch-icon sizes=1024x1024 href=/icons/ios/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=apple-touch-icon sizes=180x180 href=/icons/ios/icon_180x180.ff39561a8e4bf67913868a5caa412712.png><link rel=apple-touch-icon sizes=167x167 href=/icons/ios/icon_167x167.26d2d10196ca0a32493134fb5a4510ba.png><link rel=apple-touch-icon sizes=152x152 href=/icons/ios/icon_152x152.8f7dadbad509ff949e7da5488f44b686.png><link rel=apple-touch-icon sizes=120x120 href=/icons/ios/icon_120x120.463a6f38bcc879bee49facdf208464c4.png><link rel=manifest href=/manifest.aa33c28d24e1121925cfa150e2ec52a9.json crossorigin=use-credentials></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-startup-image" sizes="1024x1024" href="/icons/ios/startup/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/ios/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="apple-touch-icon" sizes="180x180" href="/icons/ios/icon_180x180.ff39561a8e4bf67913868a5caa412712.png" /><link rel="apple-touch-icon" sizes="167x167" href="/icons/ios/icon_167x167.26d2d10196ca0a32493134fb5a4510ba.png" /><link rel="apple-touch-icon" sizes="152x152" href="/icons/ios/icon_152x152.8f7dadbad509ff949e7da5488f44b686.png" /><link rel="apple-touch-icon" sizes="120x120" href="/icons/ios/icon_120x120.463a6f38bcc879bee49facdf208464c4.png" /><link rel="manifest" href="/manifest.aa33c28d24e1121925cfa150e2ec52a9.json" crossorigin="use-credentials" /></head><body><script src=/main.a328bb93659dd721d1d6.bundle.js></script></body></html>
Empty file.
1 change: 0 additions & 1 deletion tests/complex/test/main.c2a880b33508651abef9.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion tests/fingerprints-false/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-icon sizes=1024x1024 href=/icons/icon_1024x1024.png><link rel=manifest href=/manifest.json><link rel=mask-icon href=/icons/icon_512x512.svg color=#ffffff></head><body><script type=text/javascript src=/main.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/icon_1024x1024.png" /><link rel="manifest" href="/manifest.json" /><link rel="mask-icon" href="/icons/icon_512x512.svg" color="#ffffff" /></head><body><script src=/main.bundle.js></script></body></html>
1 change: 0 additions & 1 deletion tests/fingerprints-false/test/main.bundle.js
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
!function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="/",r(r.s=0)}([function(e,t){}]);
2 changes: 1 addition & 1 deletion tests/issue-84/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/issue-84/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-icon sizes=1024x1024 href=/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=manifest href=/manifest.81200e1d24c270411245b5a63a4b91e7.json><link rel=mask-icon href=/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg color=#ffffff></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="manifest" href="/manifest.81200e1d24c270411245b5a63a4b91e7.json" /><link rel="mask-icon" href="/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg" color="#ffffff" /></head><body><script src=/main.159ccf53b959ede39a2e.bundle.js></script></body></html>
Empty file.
1 change: 0 additions & 1 deletion tests/issue-84/test/main.c2a880b33508651abef9.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion tests/issue-87/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/issue-87/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-startup-image sizes=768x768 href=/icons/icon_768x768.f85b060e02c421c52e530e23fe1df50e.png><link rel=apple-touch-startup-image sizes=750x750 href=/icons/icon_750x750.6d93014782b03254bb1f640a67ed0590.png><link rel=apple-touch-startup-image sizes=640x640 href=/icons/icon_640x640.3e80720306149c1cca44f6fa41d3dffd.png><link rel=manifest href=/manifest.24abfacd4846fab249f8fe94967260b9.json></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-startup-image" sizes="768x768" href="/icons/icon_768x768.f85b060e02c421c52e530e23fe1df50e.png" /><link rel="apple-touch-startup-image" sizes="750x750" href="/icons/icon_750x750.6d93014782b03254bb1f640a67ed0590.png" /><link rel="apple-touch-startup-image" sizes="640x640" href="/icons/icon_640x640.3e80720306149c1cca44f6fa41d3dffd.png" /><link rel="manifest" href="/manifest.24abfacd4846fab249f8fe94967260b9.json" /></head><body><script src=/main.2f76de9afb439f1fcb16.bundle.js></script></body></html>
Empty file.
1 change: 0 additions & 1 deletion tests/issue-87/test/main.c2a880b33508651abef9.bundle.js

This file was deleted.

2 changes: 1 addition & 1 deletion tests/rgb-background/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/rgb-background/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-icon sizes=1024x1024 href=/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=manifest href=/manifest.836308dd4105e7779e96d575bbcb3984.json><link rel=mask-icon href=/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg color=#ffffff></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="manifest" href="/manifest.836308dd4105e7779e96d575bbcb3984.json" /><link rel="mask-icon" href="/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg" color="#ffffff" /></head><body><script src=/main.fcb65b68a23c92e495a7.bundle.js></script></body></html>

This file was deleted.

Empty file.
2 changes: 1 addition & 1 deletion tests/rgba-background/build/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
output: {
path: path.join(__dirname, '../output'),
publicPath: '/',
filename: '[name].[hash].bundle.js'
filename: '[name].[fullhash].bundle.js'
},
plugins: [
new HtmlWebpackPlugin({
Expand Down
2 changes: 1 addition & 1 deletion tests/rgba-background/test/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<!DOCTYPE html><html><head><meta charset=UTF-8><title>Webpack App</title><meta name=apple-mobile-web-app-title content="My Progressive Web App"><meta name=apple-mobile-web-app-capable content=yes><meta name=apple-mobile-web-app-status-bar-style content=default><link rel=apple-touch-icon sizes=1024x1024 href=/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png><link rel=manifest href=/manifest.82c3c467821f8c1b613bc6f741480697.json><link rel=mask-icon href=/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg color=#ffffff></head><body><script type=text/javascript src=/main.c2a880b33508651abef9.bundle.js></script></body></html>
<!DOCTYPE html><html><head><meta charset=utf-8><title>Webpack App</title><meta name=viewport content="width=device-width,initial-scale=1"><meta name="apple-mobile-web-app-title" content="My Progressive Web App" /><meta name="apple-mobile-web-app-capable" content="yes" /><meta name="apple-mobile-web-app-status-bar-style" content="default" /><link rel="apple-touch-icon" sizes="1024x1024" href="/icons/icon_1024x1024.35f4891d98af6eb0c3dee2853ea0f190.png" /><link rel="manifest" href="/manifest.82c3c467821f8c1b613bc6f741480697.json" /><link rel="mask-icon" href="/icons/icon_512x512.dd60b11e9762b6e25f6d4ce981a1eeae.svg" color="#ffffff" /></head><body><script src=/main.a772dd109d73b782cf7a.bundle.js></script></body></html>
Empty file.

0 comments on commit fad409c

Please sign in to comment.