From 6f7549d039688f0a1b8f69ab51f2b15e4898ee08 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Tue, 22 Oct 2019 16:00:58 +0200 Subject: [PATCH] Use @nextcloud/browserslist-config Signed-off-by: Christoph Wurst --- package-lock.json | 68 ++++++++++++++++++++++++++++++++++++++--------- package.json | 4 +-- 2 files changed, 58 insertions(+), 14 deletions(-) diff --git a/package-lock.json b/package-lock.json index a35540bff6..315bf8b8fa 100644 --- a/package-lock.json +++ b/package-lock.json @@ -42,8 +42,12 @@ "integrity": "sha512-Rm0HGw101GY8FTzpWSyRbki/jzq+/PkNQJ+nSulrdY6gFGOsNseCqD6KHRYe2E+EdzuBdr2pxCp6s4Uk6eJ+XQ==", "requires": { "@babel/code-frame": "^7.5.5", + "@babel/generator": "^7.6.4", "@babel/helpers": "^7.6.2", + "@babel/parser": "^7.6.4", "@babel/template": "^7.6.0", + "@babel/traverse": "^7.6.3", + "@babel/types": "^7.6.3", "convert-source-map": "^1.1.0", "debug": "^4.1.0", "json5": "^2.1.0", @@ -53,10 +57,47 @@ "source-map": "^0.5.0" }, "dependencies": { + "@babel/generator": { + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.6.4.tgz", + "integrity": "sha512-jsBuXkFoZxk0yWLyGI9llT9oiQ2FeTASmRFE32U+aaDTfoE92t78eroO7PTpU/OrYq38hlcDM6vbfLDaOLy+7w==", + "requires": { + "@babel/types": "^7.6.3", + "jsesc": "^2.5.1", + "lodash": "^4.17.13", + "source-map": "^0.5.0" + } + }, "@babel/parser": { - "version": "7.6.2", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.2.tgz", - "integrity": "sha512-mdFqWrSPCmikBoaBYMuBulzTIKuXVPtEISFbRRVNwMWpCms/hmE2kRq0bblUHaNRKrjRlmVbx1sDHmjmRgD2Xg==" + "version": "7.6.4", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.6.4.tgz", + "integrity": "sha512-D8RHPW5qd0Vbyo3qb+YjO5nvUVRTXFLQ/FsDxJU2Nqz4uB5EnUN0ZQSEYpvTIbRuttig1XbHWU5oMeQwQSAA+A==" + }, + "@babel/traverse": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.6.3.tgz", + "integrity": "sha512-unn7P4LGsijIxaAJo/wpoU11zN+2IaClkQAxcJWBNCMS6cmVh802IyLHNkAjQ0iYnRS3nnxk5O3fuXW28IMxTw==", + "requires": { + "@babel/code-frame": "^7.5.5", + "@babel/generator": "^7.6.3", + "@babel/helper-function-name": "^7.1.0", + "@babel/helper-split-export-declaration": "^7.4.4", + "@babel/parser": "^7.6.3", + "@babel/types": "^7.6.3", + "debug": "^4.1.0", + "globals": "^11.1.0", + "lodash": "^4.17.13" + } + }, + "@babel/types": { + "version": "7.6.3", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.6.3.tgz", + "integrity": "sha512-CqbcpTxMcpuQTMhjI37ZHVgjBkysg5icREQIEZ0eG1yCNwg3oy+5AaLiOKmjsCj6nqOsa6Hf0ObjRVwokb7srA==", + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.13", + "to-fast-properties": "^2.0.0" + } }, "debug": { "version": "4.1.1", @@ -900,6 +941,12 @@ } } }, + "@nextcloud/browserslist-config": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/@nextcloud/browserslist-config/-/browserslist-config-1.0.0.tgz", + "integrity": "sha512-f+sKpdLZXkODV+OY39K1M+Spmd4RgxmtEXmNn4Bviv4R7uBFHXuw+JX9ZdfDeOryfHjJ/TRQxQEp0GMpBwZFUw==", + "dev": true + }, "@nextcloud/event-bus": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/@nextcloud/event-bus/-/event-bus-0.2.1.tgz", @@ -1891,12 +1938,6 @@ "node-releases": "^1.1.29" } }, - "browserslist-config-nextcloud": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/browserslist-config-nextcloud/-/browserslist-config-nextcloud-0.1.0.tgz", - "integrity": "sha512-ruAx5nBTtSLKel+eSw12C0ylGzzfy5loJcfe8gbZ5JoxjwVkpe4V5TX1EHrImTHzhYOA2dXTfHUcCvF174Y1jg==", - "dev": true - }, "buffer": { "version": "4.9.1", "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", @@ -6471,11 +6512,14 @@ "version": "1.1.33", "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.33.tgz", "integrity": "sha512-I0V30bWQEoHb+10W8oedVoUrdjW5wIkYm0w7vvcrPO95pZY738m1k77GF5sO0vKg5eXYg9oGtrMAETbgZGm11A==", + "requires": { + "semver": "^5.3.0" + }, "dependencies": { "semver": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.0.tgz", - "integrity": "sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw==" + "version": "5.7.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-5.7.1.tgz", + "integrity": "sha512-sauaDf/PZdVgrLTNYHRtpXa1iRiKcaebiKQ1BJdpQlWH2lCvexQdX55snPFyK7QzpudqbCI0qXFfOasHdyNDGQ==" } } }, diff --git a/package.json b/package.json index c165b930b8..0383fff1c3 100644 --- a/package.json +++ b/package.json @@ -74,10 +74,10 @@ "@babel/core": "^7.6.4", "@babel/plugin-syntax-dynamic-import": "^7.2.0", "@babel/preset-env": "^7.6.3", + "@nextcloud/browserslist-config": "^1.0.0", "babel-eslint": "^10.0.3", "babel-loader": "^8.0.6", "babel-plugin-transform-es2015-arrow-functions": "^6.22.0", - "browserslist-config-nextcloud": "0.1.0", "css-loader": "^3.2.0", "eslint": "^5.16.0", "eslint-config-nextcloud": "0.0.6", @@ -103,6 +103,6 @@ "webpack-merge": "^4.2.2" }, "browserslist": [ - "extends browserslist-config-nextcloud" + "extends @nextcloud/browserslist-config" ] }