From 11ff85c56c4b190c6147cd9b92533f7f38a21e30 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 15 Feb 2020 00:14:39 +0000 Subject: [PATCH 1/6] chore(deps-dev): bump cypress from 4.0.1 to 4.0.2 Bumps [cypress](https://github.com/cypress-io/cypress) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/cypress-io/cypress/releases) - [Commits](https://github.com/cypress-io/cypress/compare/v4.0.1...v4.0.2) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 6 +++--- package.json | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4c7813e8a..6f73daeea 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4078,9 +4078,9 @@ "integrity": "sha1-WW6WmP0MgOEgOMK4LW6xs1tiJNk=" }, "cypress": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/cypress/-/cypress-4.0.1.tgz", - "integrity": "sha512-P+cSwc5yE+1hIkWwJzpsiSQthKmzkFeFz2ySejSrJJ6FiXoL8pp0vr1cyWp+75KT4nqL9IYt1GMrHp+mVmvocA==", + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/cypress/-/cypress-4.0.2.tgz", + "integrity": "sha512-WRzxOoSd+TxyXKa7Zi9orz3ii5VW7yhhVYstCU+EpOKfPan9x5Ww2Clucmy4H/W0GHUYAo7GYFZRD33ZCSNBQA==", "dev": true, "requires": { "@cypress/listr-verbose-renderer": "0.4.1", diff --git a/package.json b/package.json index 784123fa4..99a54424b 100644 --- a/package.json +++ b/package.json @@ -38,7 +38,7 @@ "yargs-parser": "^17.0.0" }, "devDependencies": { - "cypress": "^4.0.1", + "cypress": "^4.0.2", "node-sass": "^4.13.1", "sass-loader": "^8.0.2", "start-server-and-test": "^1.10.8" From 73d2d58da9525d4ae5df87cafff0fde8a2791c87 Mon Sep 17 00:00:00 2001 From: "dependabot-preview[bot]" <27856297+dependabot-preview[bot]@users.noreply.github.com> Date: Sat, 15 Feb 2020 01:24:58 +0000 Subject: [PATCH 2/6] chore(deps): bump firebase from 7.8.1 to 7.8.2 Bumps [firebase](https://github.com/firebase/firebase-js-sdk) from 7.8.1 to 7.8.2. - [Release notes](https://github.com/firebase/firebase-js-sdk/releases) - [Commits](https://github.com/firebase/firebase-js-sdk/compare/firebase@7.8.1...firebase@7.8.2) Signed-off-by: dependabot-preview[bot] --- package-lock.json | 20 ++++++++++---------- package.json | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/package-lock.json b/package-lock.json index 6f73daeea..d3bf154b4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -991,9 +991,9 @@ } }, "@firebase/firestore": { - "version": "1.10.1", - "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.10.1.tgz", - "integrity": "sha512-104SkNefcasRWwHZPUx0LLAhiOdb2ZG9c28hJIiUTKoehZKS/FvdSA2fXMsWvXshuUS3RJO70/eCtbqMKJU9/w==", + "version": "1.10.2", + "resolved": "https://registry.npmjs.org/@firebase/firestore/-/firestore-1.10.2.tgz", + "integrity": "sha512-Ay9V7eLYNEt12STCfmUxtyu4IBWIgOONzxoRUnkK1nmNbvket7XhSCfij4P4pi3qx4kdpp+hzjUl6ndVbh7y5Q==", "requires": { "@firebase/component": "0.1.5", "@firebase/firestore-types": "1.9.1", @@ -5194,16 +5194,16 @@ } }, "firebase": { - "version": "7.8.1", - "resolved": "https://registry.npmjs.org/firebase/-/firebase-7.8.1.tgz", - "integrity": "sha512-Ji1/21pNvxW3gbBo/iTtXFJsTTWzcDoMeCRx+NJ7/uUVYvmX91WjhnwO84OusHIo9WMs54kosoOWL0i6PZyWwg==", + "version": "7.8.2", + "resolved": "https://registry.npmjs.org/firebase/-/firebase-7.8.2.tgz", + "integrity": "sha512-qB/YopC6PVYTe2Q8hSwDD9CLdQHiMN1HUj/rxFxoICJR1VGkHP2KUvx2gv990V7CwzXIruLWoz9MwCOHFj9D0w==", "requires": { "@firebase/analytics": "0.2.13", "@firebase/app": "0.5.4", "@firebase/app-types": "0.5.1", "@firebase/auth": "0.13.5", "@firebase/database": "0.5.21", - "@firebase/firestore": "1.10.1", + "@firebase/firestore": "1.10.2", "@firebase/functions": "0.4.32", "@firebase/installations": "0.4.2", "@firebase/messaging": "0.6.4", @@ -9676,9 +9676,9 @@ }, "dependencies": { "@types/node": { - "version": "10.17.14", - "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.14.tgz", - "integrity": "sha512-G0UmX5uKEmW+ZAhmZ6PLTQ5eu/VPaT+d/tdLd5IFsKRPcbe6lPxocBtcYBFSaLaCW8O60AX90e91Nsp8lVHCNw==" + "version": "10.17.15", + "resolved": "https://registry.npmjs.org/@types/node/-/node-10.17.15.tgz", + "integrity": "sha512-daFGV9GSs6USfPgxceDA8nlSe48XrVCJfDeYm7eokxq/ye7iuOH87hKXgMtEAVLFapkczbZsx868PMDT1Y0a6A==" } } }, diff --git a/package.json b/package.json index 99a54424b..6311d60db 100644 --- a/package.json +++ b/package.json @@ -26,7 +26,7 @@ "@nuxtjs/sitemap": "^2.0.1", "@nuxtjs/toast": "^3.3.0", "ace-builds": "^1.4.8", - "firebase": "^7.8.1", + "firebase": "^7.8.2", "graphql": "^14.6.0", "nuxt": "^2.11.0", "nuxt-i18n": "^6.5.0", From 436de528e9adb55bde36b3f3eeb8caf8e927bbc0 Mon Sep 17 00:00:00 2001 From: Liyas Thomas Date: Sat, 15 Feb 2020 09:53:26 +0530 Subject: [PATCH 3/6] :sparkles: Native share + updated meta description --- README.md | 2 +- layouts/default.vue | 31 +++++++++++++++++++++++++++---- nuxt.config.js | 4 ++-- pages/index.vue | 2 +- 4 files changed, 31 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index a77f29440..0093dee15 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@

- A free, fast & beautiful API request builder + A free, fast and beautiful API request builder

Web alternative to Postman - Helps you create requests faster, saving precious time on development - Subscribe diff --git a/layouts/default.vue b/layouts/default.vue index b029eff92..eac87b8ec 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -373,7 +373,7 @@

+
@@ -672,7 +681,7 @@ export default { methods: { getSpecialKey() { - return (/(Mac|iPhone|iPod|iPad)/i.test(navigator.platform)) ? "⌘" : "Ctrl"; + return /(Mac|iPhone|iPod|iPad)/i.test(navigator.platform) ? "⌘" : "Ctrl"; }, linkActive(path) { return { @@ -680,7 +689,6 @@ export default { "nuxt-link-active": this.$route.path === path }; }, - logout() { fb.currentUser = null; firebase @@ -694,6 +702,20 @@ export default { this.$toast.info(this.$t("logged_out"), { icon: "vpn_key" }); + }, + nativeShare() { + if (navigator.share) { + navigator + .share({ + title: "Postwoman", + text: + "Postwoman • A free, fast and beautiful API request builder - Web alternative to Postman - Helps you create requests faster, saving precious time on development.", + url: "https://postwoman.io/" + }) + .then(() => {}) + .catch(console.error); + } else { + } } }, @@ -709,7 +731,8 @@ export default { showSupport: false, firefoxExtInstalled: window.firefoxExtSendRequest, chromeExtInstalled: window.chrome && hasChromeExtensionInstalled(), - fb + fb, + navigatorShare: navigator.share }; }, diff --git a/nuxt.config.js b/nuxt.config.js index 66f07cc06..8dbdf656d 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -2,9 +2,9 @@ // TODO: Use these when rendering the pages (rather than just for head/meta tags...) export const meta = { name: "Postwoman", - shortDescription: "API request builder", + shortDescription: "A free, fast and beautiful API request builder", description: - "The Postwoman API request builder helps you create your requests faster, saving you precious time on your development." + "Web alternative to Postman - Helps you create requests faster, saving precious time on development." }; // Sets the base path for the router. // Important for deploying to GitHub pages. diff --git a/pages/index.vue b/pages/index.vue index 7d4c49514..e74fd46ea 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -2382,7 +2382,7 @@ export default { const date = new Date().toLocaleDateString(); navigator .share({ - title: `Postwoman`, + title: "Postwoman", text: `Postwoman • API request builder at ${time} on ${date}`, url: window.location.href }) From edb7bef5a3290da3917b91fa2799798d8bc4e8fa Mon Sep 17 00:00:00 2001 From: jamesgeorge007 Date: Sat, 15 Feb 2020 11:17:43 +0530 Subject: [PATCH 4/6] fix: use Vue.js on-click directive --- layouts/default.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/default.vue b/layouts/default.vue index eac87b8ec..89ac55a62 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -391,7 +391,7 @@