Merge pull request #661 from pi-hole/dependabot/npm_and_yarn/development/types/node-13.13.0

Bump @types/node from 13.11.1 to 13.13.0
This commit is contained in:
XhmikosR
2020-04-20 08:35:10 +03:00
committed by GitHub
3 changed files with 6 additions and 5 deletions
+3 -3
View File
@@ -2188,9 +2188,9 @@
"dev": true
},
"@types/node": {
"version": "13.11.1",
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.11.1.tgz",
"integrity": "sha512-eWQGP3qtxwL8FGneRrC5DwrJLGN4/dH1clNTuLfN81HCrxVtxRjygDTUoZJ5ASlDEeo0ppYFQjQIlXhtXpOn6g==",
"version": "13.13.0",
"resolved": "https://registry.npmjs.org/@types/node/-/node-13.13.0.tgz",
"integrity": "sha512-WE4IOAC6r/yBZss1oQGM5zs2D7RuKR6Q+w+X2SouPofnWn+LbCqClRyhO3ZE7Ix8nmFgo/oVuuE01cJT2XB13A==",
"dev": true
},
"@types/parse-json": {
+1 -1
View File
@@ -14,7 +14,7 @@
"@types/jest": "^25.2.1",
"@types/lodash.debounce": "^4.0.6",
"@types/lodash.isequal": "^4.5.5",
"@types/node": "^13.11.1",
"@types/node": "^13.13.0",
"@types/react": "^16.9.34",
"@types/react-bootstrap-daterangepicker": "0.0.26",
"@types/react-bootstrap-typeahead": "^3.4.5",
+2 -1
View File
@@ -21,6 +21,7 @@ export const getBasePath = (): string => {
if (baseElement) {
return new URL(baseElement.href).pathname;
} else {
return process.env.PUBLIC_URL;
// PUBLIC_URL is supplied by CRA, and will never be undefined
return process.env.PUBLIC_URL!;
}
};