From 6690c62d38e38da4d7d9111bda5946c659df4414 Mon Sep 17 00:00:00 2001 From: Anny Yang Date: Wed, 2 Jul 2025 09:55:08 -0700 Subject: [PATCH 1/2] chore: update electron-quick-start references --- src/main/content.ts | 2 +- tests/mocks/npm-response-main.json | 587 ------------------------ tests/mocks/npm-response-nightlies.json | 255 ---------- 3 files changed, 1 insertion(+), 843 deletions(-) delete mode 100644 tests/mocks/npm-response-main.json delete mode 100644 tests/mocks/npm-response-nightlies.json diff --git a/src/main/content.ts b/src/main/content.ts index 797d0b113d..1e8db8bb31 100644 --- a/src/main/content.ts +++ b/src/main/content.ts @@ -13,7 +13,7 @@ import { IpcEvents } from '../ipc-events'; // parent directory of all the downloaded template fiddles const TEMPLATES_DIR = path.join(app.getPath('userData'), 'Templates'); -// location of the fallback template fiddle used iff downloading failed +// location of the fallback template fiddle used if downloading failed const STATIC_TEMPLATE_DIR = path.join(STATIC_DIR, 'electron-quick-start'); // electron-quick-start branch that holds the test template diff --git a/tests/mocks/npm-response-main.json b/tests/mocks/npm-response-main.json deleted file mode 100644 index fb1b122fc7..0000000000 --- a/tests/mocks/npm-response-main.json +++ /dev/null @@ -1,587 +0,0 @@ -{ - "_id": "electron", - "_rev": "416-9afc884ff564f2aafbe46ac1819b1053", - "name": "electron", - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "dist-tags": { - "latest": "3.0.13", - "beta": "4.0.0-beta.10", - "unsupported": "2.1.0-unsupported.20180809", - "nightly": "4.0.0-nightly.20181010", - "nightly-3-0-x": "3.0.0-nightly.20180904", - "nightly-2-0-x": "2.0.8-nightly.20180820", - "1-8-x": "1.8.8", - "1-7-x": "1.7.16", - "3-0-x": "3.0.13", - "2-0-x": "2.0.15", - "beta-4-0-x": "4.0.0-beta.10", - "beta-3-1-x": "3.1.0-beta.4" - }, - "versions": { - "3.0.1": { - "scripts": { - "cache-clean": "rm -rf ~/.electron && rm -rf dist", - "postinstall": "node install.js", - "pretest": "npm run cache-clean", - "test": "standard" - }, - "bin": { - "electron": "cli.js" - }, - "main": "index.js", - "types": "electron.d.ts", - "dependencies": { - "@types/node": "^8.0.24", - "electron-download": "^4.1.0", - "extract-zip": "^1.0.3" - }, - "devDependencies": { - "home-path": "^0.1.1", - "path-exists": "^2.0.0", - "standard": "^5.4.1" - }, - "directories": { - "test": "test" - }, - "engines": { - "node": ">= 4.0" - }, - "name": "electron", - "version": "3.0.1", - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT", - "author": { - "name": "Electron Community" - }, - "keywords": ["electron"], - "_resolved": "", - "_integrity": "", - "_from": "file:/tmp/electron-npm118826-1014-14j25vw.ch3b/electron-3.0.1.tgz", - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "homepage": "https://github.com/electron/electron#readme", - "_id": "electron@3.0.1", - "_npmVersion": "6.4.1", - "_nodeVersion": "8.12.0", - "_npmUser": { - "name": "electron-nightly", - "email": "info@electronjs.org" - }, - "dist": { - "integrity": "sha512-k99P2p0St5XL/fO/yPAC5kpYghA5neFzAI+I83jI/V2WQzoMR5uW+39PLDcDa15LwxX07OTrZDSXIKEWfmTVbg==", - "shasum": "4e98c19da83180a0240069eaf6a4bed0edd92602", - "tarball": "https://registry.npmjs.org/electron/-/electron-3.0.1.tgz", - "fileCount": 7, - "unpackedSize": 392165, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrCnTCRA9TVsSAnZWagAAwZYP/33tANEuyS3KVnRYawgz\nmuwiIFfV35WZOEROD7VHvoB1cGi01ln8SGRhwX2pnYZBDjNl/jZogNYs1MRc\n+t/L4vYzuYYWADGtdT69nwWJfU11hQiIxq6knLG27J4zCO4JfwPTGl0hmwi0\nJ7RiWINuMj+apBLqjAlYbNA+azM+pwDDLixnN+OLccTC6Frt6UQKwFMFZ6UB\nZInLoV4aCYg7InqoZno4PtsDGNNsk+l7ULitOxvOFjF33JRc3gXeqNocu1Mu\nfCsrms8q8bIowTqFPETjUWH+vvH8sE1YSU0ih/hUv4cKtim/nFwXUpkqmW1a\nfWXZfL5StilxZ3hpLRGCmFgG1HqK3BdUIv4dX89lj2fK0WxpROqliO4KBsKz\neU+BW3yX4ioOPGJDXku1/QwrTrCL+dN2XUSja5xGiNEQ9sfMli/4LQFT2J32\nzGZuBPpozeSLjzQZw0f7jzKWfU86XSShyZU55qTDpPFevbJwEJdJon+LLDDK\nAkpsxAg/o2nWOixkLzYwOwEP94l/ZZGXf9/BhoEK0iQ7kAxWCb9wfg6KJ5HC\n50N7d7t2KvIcfdKM7qEs6eKPhGph5Uh5xWgk5CFR4XZg5ZzGdt1XklAJIeHn\nF1Kt3SV0aAFZzTS/A9SOb0WdMN84c5hEOwf+vxYdVUvc0tXwuqex4/XaeTO4\neLDP\r\n=FOak\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [{ - "email": "electron@github.com", - "name": "electron" - }, { - "email": "info@electronjs.org", - "name": "electron-nightly" - }], - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron_3.0.1_1538009554440_0.26695435343647844" - }, - "_hasShrinkwrap": false - }, - "3.0.2": { - "scripts": { - "cache-clean": "rm -rf ~/.electron && rm -rf dist", - "postinstall": "node install.js", - "pretest": "npm run cache-clean", - "test": "standard" - }, - "bin": { - "electron": "cli.js" - }, - "main": "index.js", - "types": "electron.d.ts", - "dependencies": { - "@types/node": "^8.0.24", - "electron-download": "^4.1.0", - "extract-zip": "^1.0.3" - }, - "devDependencies": { - "home-path": "^0.1.1", - "path-exists": "^2.0.0", - "standard": "^5.4.1" - }, - "directories": { - "test": "test" - }, - "engines": { - "node": ">= 4.0" - }, - "name": "electron", - "version": "3.0.2", - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT", - "author": { - "name": "Electron Community" - }, - "keywords": ["electron"], - "_resolved": "", - "_integrity": "", - "_from": "file:/tmp/electron-npm118827-1013-mf9yd0.6i6mb/electron-3.0.2.tgz", - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "homepage": "https://github.com/electron/electron#readme", - "_id": "electron@3.0.2", - "_npmVersion": "6.4.1", - "_nodeVersion": "8.12.0", - "_npmUser": { - "name": "electron-nightly", - "email": "info@electronjs.org" - }, - "dist": { - "integrity": "sha512-BsU/KJRPODlEoaOZhsmFTIaG2h1Y28JCrqeTGVqGL+fef/7xQZdHx5ZCStUDXXUSTcoqiHlc5QvLH4PfZFbOmg==", - "shasum": "0aed43a331b43dfe671ddb54d75fc4102d362959", - "tarball": "https://registry.npmjs.org/electron/-/electron-3.0.2.tgz", - "fileCount": 7, - "unpackedSize": 392165, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbrUlaCRA9TVsSAnZWagAAcT0P/2C+TJ1cp3y4qQb6gDPF\nTctXmhZ5P5N5oHCzD+MNWttptopshpBITm3uqUWM+0ynuogeYCZ5H7UZqkQ6\nrO1q3a0tbTHmjKeFUT8WpTHSVzHtbnPLK0iacz5QYw1hWTktEBdfO8y7oF0F\nZ2a/RajfrZuepkr9hWow/BDWDFVUEBZb/Jov0nowXDTGfbBzlZ+4QGKLIUOe\nlnYkk3V1OEJSTlfRtb4bbpFvTq3BnqiXBv3vwoVuoDzm1CC2IDuZfbB0832p\n50rvDFPFnIVR2MIKvmNZEEItAK/QK9pqUOr+jfqFCatF07xP/bMZUv2wJrNj\nRbc6045MCgG35m/OhwjGkoz8gqSDA1XbqrVZuHKY2qPJ8j/eMA5rhKnnslvT\nyRuPjifloCH/04avAuUoAxzx6CdH5qLn0sWRO3xtGvoUlgvY559UqC03jcKH\nHA3d4u4x2wxlAtSdRoof9LzhAv68RxkW7aqgEG79Y4S+IvWaUHz2mrbO+ITs\ngQArX59od75KRxDDMRM2r+6BSAQqTZMYcE+J5PVDnNtIRnAkxcf+eQu3RrtF\nVUgmFCMYRZ2XOgFCkUs9ISDCvtSkMsWl8ZoUN2+SE467cqk386/8aglrdKhk\nh01I4sO7R7DS2wwSjxnmZs0V+dOhzqhHsStY829YEEe+G7IG8wmBftRGFXkf\n0a2Y\r\n=ZK4x\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [{ - "email": "electron@github.com", - "name": "electron" - }, { - "email": "info@electronjs.org", - "name": "electron-nightly" - }], - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron_3.0.2_1538083161381_0.8216929375569979" - }, - "_hasShrinkwrap": false - }, - "4.0.0-nightly.20181006": { - "scripts": { - "cache-clean": "rm -rf ~/.electron && rm -rf dist", - "postinstall": "node install.js", - "pretest": "npm run cache-clean", - "test": "standard" - }, - "bin": { - "electron": "cli.js" - }, - "main": "index.js", - "types": "electron.d.ts", - "dependencies": { - "@types/node": "^8.0.24", - "electron-download": "^4.1.0", - "extract-zip": "^1.0.3" - }, - "devDependencies": { - "home-path": "^0.1.1", - "path-exists": "^2.0.0", - "standard": "^5.4.1" - }, - "directories": { - "test": "test" - }, - "engines": { - "node": ">= 4.0" - }, - "name": "electron", - "version": "4.0.0-nightly.20181006", - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT", - "author": { - "name": "Electron Community" - }, - "keywords": ["electron"], - "_resolved": "", - "_integrity": "", - "_from": "file:/tmp/electron-npm11896-315-18yglu0.y8v1/electron-4.0.0-nightly.20181006.tgz", - "readme": "[![Electron Logo](https://electronjs.org/images/electron-logo.svg)](https://electronjs.org)\n\n\n[![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/master.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/master)\n[![AppVeyor Build Status](https://windows-ci.electronjs.org/api/projects/status/nilyf07hcef14dvj/branch/master?svg=true)](https://windows-ci.electronjs.org/project/AppVeyor/electron/branch/master)\n[![devDependency Status](https://david-dm.org/electron/electron/dev-status.svg)](https://david-dm.org/electron/electron?type=dev)\n[![Join the Electron Community on Slack](https://atom-slack.herokuapp.com/badge.svg)](https://atom-slack.herokuapp.com/)\n\n:memo: Available Translations: 🇨🇳 🇹🇼 🇧🇷 🇪🇸 🇰🇷 🇯🇵 🇷🇺 🇫🇷 🇹🇭 🇳🇱 🇹🇷 🇮🇩 🇺🇦 🇨🇿 🇮🇹.\nView these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).\n\nThe Electron framework lets you write cross-platform desktop applications\nusing JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and\n[Chromium](https://www.chromium.org) and is used by the [Atom\neditor](https://github.com/atom/atom) and many other [apps](https://electronjs.org/apps).\n\nFollow [@ElectronJS](https://twitter.com/electronjs) on Twitter for important\nannouncements.\n\nThis project adheres to the Contributor Covenant\n[code of conduct](https://github.com/electron/electron/tree/master/CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code. Please report unacceptable\nbehavior to [coc@electronjs.org](mailto:coc@electronjs.org).\n\n## Installation\n\nTo install prebuilt Electron binaries, use [`npm`](https://docs.npmjs.com/).\nThe preferred method is to install Electron as a development dependency in your\napp:\n\n```sh\nnpm install electron --save-dev [--save-exact]\n```\n\nThe `--save-exact` flag is recommended for Electron prior to version 2, as it does not follow semantic\nversioning. As of version 2.0.0, Electron follows semver, so you don't need `--save-exact` flag. For info on how to manage Electron versions in your apps, see\n[Electron versioning](docs/tutorial/electron-versioning.md).\n\nFor more installation options and troubleshooting tips, see\n[installation](docs/tutorial/installation.md).\n\n## Quick start & Electron Fiddle\n\nUse [`Electron Fiddle`](https://github.com/electron/fiddle)\nto build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and\nto try out different versions of Electron. It's designed to make the start of your journey with\nElectron easier.\n\nAlternatively, clone and run the\n[electron/electron-quick-start](https://github.com/electron/electron-quick-start)\nrepository to see a minimal Electron app in action:\n\n```sh\ngit clone https://github.com/electron/electron-quick-start\ncd electron-quick-start\nnpm install\nnpm start\n```\n\n## Resources for learning Electron\n\n- [electronjs.org/docs](https://electronjs.org/docs) - all of Electron's documentation\n- [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments\n- [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - a very basic starter Electron app\n- [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - sample starter apps created by the community\n- [electron/simple-samples](https://github.com/electron/simple-samples) - small applications with ideas for taking them further\n- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - an Electron app that teaches you how to use Electron\n- [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - small demo apps for the various Electron APIs\n\n## Programmatic usage\n\nMost people use Electron from the command line, but if you require `electron` inside\nyour **Node app** (not your Electron app) it will return the file path to the\nbinary. Use this to spawn Electron from Node scripts:\n\n```javascript\nconst electron = require('electron')\nconst proc = require('child_process')\n\n// will print something similar to /Users/maf/.../Electron\nconsole.log(electron)\n\n// spawn Electron\nconst child = proc.spawn(electron)\n```\n\n### Mirrors\n\n- [China](https://npm.taobao.org/mirrors/electron)\n\n## Documentation Translations\n\nFind documentation translations in [electron/i18n](https://github.com/electron/i18n).\n\n## Community\n\nInfo on reporting bugs, getting help, finding third-party tools and sample apps,\nand more can be found in the [support document](docs/tutorial/support.md#finding-support).\n\n## License\n\n[MIT](https://github.com/electron/electron/blob/master/LICENSE)\n\nWhen using the Electron or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).\n", - "readmeFilename": "README.md", - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "homepage": "https://github.com/electron/electron#readme", - "_id": "electron@4.0.0-nightly.20181006", - "_npmVersion": "6.4.1", - "_nodeVersion": "8.12.0", - "_npmUser": { - "name": "electron-nightly", - "email": "info@electronjs.org" - }, - "dist": { - "integrity": "sha512-8lFKXjWduQKzdIWqeCYaelKhHhjrbXQq0/Ja4f4pCTrq9D94V0Am+vnxMi2tcPMGmdUG9ql9tvKxTOJfbXPKdA==", - "shasum": "946175b6e4fa2695f17fa3ea28c9ebfc42f1bb90", - "tarball": "https://registry.npmjs.org/electron/-/electron-4.0.0-nightly.20181006.tgz", - "fileCount": 7, - "unpackedSize": 406795, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbuJvlCRA9TVsSAnZWagAA6qwP/2bYJmNLYV8+Az+vMHEQ\nWdqf5+c5lWgxDHq2MXJCXD7EJeFGHpXaNnHXFyB02mbEFziY191bUeIYUAZ9\nesX8Mi3dIVjHdWGgNBN6szuvY83yYMYMoyh6dk58BbENEWTiMhQ015ohffSR\nkrzW1fZ8bM1MCQLmBvbDlwmlSWN3Q5FhB+ATiXdNhtqeUMNcIws1Jydos/L1\ne3ZtYKDMsbYLYIsy4rXj750cjxoiX9ys8G/ChS2j7W4xnLDVCb5TTfIA28pS\nxUkBX0IDVDlIRXjyjTu39zLjtvcooJ2xoyLIrQuKKBXmKF5KgCvUPjmhHkXQ\nq+Mh4nCup0CfaZImLa2q4e/HLlh+piiEpouvRvjHEfcdPC5IDf4aMQBU69On\nD0xgY/rz1BNcDJbV6cnqHzKNCBoJrsTtfbrlh6Jb/RlREx507ew2kXCL8E3c\nm9ws12oZPYUxfIDn5w+Zn95qXogLCX8ksJ64OpmHEYs1UV+vk6OZD1y8+TXO\n+QPJ1EPd0tkOIJcfAi3l37EG9aojK6M9FmTgpJZqQBYJ8Zlg9dsQ8ADHTdB/\nfEz5+Lhrnx1nF9pKNA5Zi270iou2Ts7jyo1d6FXlBozzz2OD9tTEO6P5JEZN\n0DAB4Jbjms9kunIiqtYF/KDCRkhKNafSaeGY6MF8n92RznaqRcKxu/M6axnx\nsmjv\r\n=BThR\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [{ - "email": "electron@github.com", - "name": "electron" - }, { - "email": "info@electronjs.org", - "name": "electron-nightly" - }], - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron_4.0.0-nightly.20181006_1538825188860_0.9074972982922227" - }, - "_hasShrinkwrap": false - } - }, - "readme": "", - "maintainers": [{ - "email": "electron@github.com", - "name": "electron" - }, { - "email": "info@electronjs.org", - "name": "electron-nightly" - }], - "time": { - "modified": "2018-12-17T23:21:12.492Z", - "created": "2012-05-18T23:11:55.741Z", - "0.1.0": "2012-05-18T23:11:56.439Z", - "0.1.1": "2012-05-22T14:37:24.301Z", - "0.1.2": "2012-05-23T22:07:09.937Z", - "0.2.0": "2012-06-11T02:21:27.719Z", - "0.2.1": "2012-06-11T08:15:27.535Z", - "0.3.0": "2012-10-07T17:44:36.428Z", - "0.4.0": "2013-01-21T21:06:57.826Z", - "0.4.1": "2014-12-15T16:00:19.916Z", - "1.3.1": "2016-07-28T16:32:17.329Z", - "1.3.2": "2016-08-02T23:27:42.035Z", - "1.3.3": "2016-08-10T11:09:39.987Z", - "1.3.4": "2016-08-23T10:50:42.594Z", - "1.3.5": "2016-09-02T07:57:18.244Z", - "1.3.6": "2016-09-14T07:18:46.295Z", - "1.4.0": "2016-09-15T07:25:36.907Z", - "1.4.1": "2016-09-22T11:25:49.509Z", - "1.3.7": "2016-09-27T10:03:30.522Z", - "1.4.2": "2016-09-30T12:23:01.465Z", - "1.4.3": "2016-10-06T10:08:01.790Z", - "1.4.4": "2016-10-20T02:23:44.429Z", - "1.3.8": "2016-10-20T07:11:51.081Z", - "1.4.5": "2016-11-01T17:34:44.938Z", - "1.4.6": "2016-11-09T21:26:32.985Z", - "1.4.7": "2016-11-16T18:46:56.667Z", - "1.3.9": "2016-11-16T20:57:04.133Z", - "1.3.10": "2016-11-22T19:19:33.952Z", - "1.4.8": "2016-11-22T23:46:16.565Z", - "1.3.11": "2016-11-23T22:07:24.444Z", - "1.4.9": "2016-11-23T23:50:49.542Z", - "1.3.12": "2016-11-28T20:49:25.362Z", - "1.4.10": "2016-11-28T22:12:56.360Z", - "1.3.13": "2016-12-06T23:53:14.771Z", - "1.4.11": "2016-12-07T18:03:39.265Z", - "1.4.12": "2016-12-10T06:47:29.088Z", - "1.4.13": "2016-12-20T21:09:22.800Z", - "1.4.14": "2017-01-10T20:45:12.738Z", - "1.4.15": "2017-01-19T18:10:34.131Z", - "1.5.0": "2017-01-24T18:20:26.488Z", - "1.5.1": "2017-02-06T18:00:20.521Z", - "1.6.0": "2017-02-07T02:23:24.266Z", - "1.6.1": "2017-02-21T18:24:32.445Z", - "1.6.2": "2017-03-01T20:06:46.141Z", - "1.6.3": "2017-03-07T19:32:39.600Z", - "1.3.14": "2017-03-14T18:47:52.966Z", - "1.6.4": "2017-03-22T23:06:08.454Z", - "1.6.5": "2017-03-31T20:32:13.713Z", - "1.4.16": "2017-04-05T17:34:19.957Z", - "1.6.6": "2017-04-07T20:04:13.286Z", - "1.6.7": "2017-04-18T20:58:25.795Z", - "1.3.15": "2017-04-21T00:04:48.703Z", - "1.6.8": "2017-05-01T22:56:36.112Z", - "1.6.9": "2017-05-10T16:39:40.473Z", - "1.7.0": "2017-05-10T19:58:28.630Z", - "1.6.10": "2017-05-16T19:37:43.428Z", - "1.7.1": "2017-05-16T21:41:46.219Z", - "1.6.11": "2017-05-25T19:52:42.265Z", - "1.7.2": "2017-05-26T20:39:13.962Z", - "1.7.3": "2017-06-08T22:46:08.005Z", - "1.7.4": "2017-06-28T23:47:30.806Z", - "1.7.5": "2017-07-17T22:12:34.592Z", - "1.6.12": "2017-08-03T23:31:22.757Z", - "1.7.6": "2017-08-09T19:39:37.549Z", - "1.7.7": "2017-08-30T20:59:09.580Z", - "1.8.0": "2017-08-31T23:13:08.025Z", - "1.6.13": "2017-09-06T19:56:50.304Z", - "1.7.8": "2017-09-24T03:09:58.453Z", - "1.6.14": "2017-09-28T01:26:31.769Z", - "1.8.1": "2017-09-29T00:26:37.930Z", - "1.7.9": "2017-10-10T21:03:29.608Z", - "1.6.15": "2017-10-11T17:58:49.577Z", - "1.8.2-beta.1": "2017-10-19T16:49:06.512Z", - "1.8.2-beta.2": "2017-11-06T21:24:43.087Z", - "1.8.2-beta.3": "2017-12-05T02:14:22.762Z", - "1.7.10": "2017-12-18T20:44:17.549Z", - "1.7.11": "2018-01-22T22:28:51.430Z", - "1.6.16": "2018-01-23T01:18:36.559Z", - "1.8.2-beta.4": "2018-01-23T03:39:04.907Z", - "1.8.2-beta.5": "2018-01-31T22:07:40.125Z", - "1.7.12": "2018-01-31T22:15:48.454Z", - "1.6.17": "2018-01-31T22:26:38.132Z", - "1.8.2": "2018-02-07T01:45:29.385Z", - "2.0.0-beta.1": "2018-02-21T21:26:19.162Z", - "2.0.0-beta.2": "2018-03-05T20:08:37.874Z", - "1.8.3": "2018-03-06T01:46:05.864Z", - "2.0.0-beta.3": "2018-03-09T17:17:18.925Z", - "1.7.13": "2018-03-15T16:14:30.271Z", - "2.0.0-beta.4": "2018-03-15T17:14:25.170Z", - "1.8.4": "2018-03-16T18:49:23.856Z", - "2.0.0-beta.5": "2018-03-20T21:10:19.840Z", - "2.0.0-beta.6": "2018-03-27T20:57:58.737Z", - "2.0.0-beta.7": "2018-04-03T20:51:57.134Z", - "2.0.0-beta.8": "2018-04-26T16:13:52.284Z", - "1.8.5": "2018-04-26T18:34:59.582Z", - "1.7.14": "2018-04-27T00:50:49.737Z", - "1.8.6": "2018-04-27T00:58:04.312Z", - "2.0.0": "2018-05-01T20:46:57.608Z", - "1.6.18": "2018-05-15T19:32:40.736Z", - "1.7.15": "2018-05-16T18:14:34.424Z", - "1.8.7": "2018-05-16T18:22:12.797Z", - "2.0.1": "2018-05-16T18:41:25.808Z", - "2.0.2": "2018-05-22T20:15:35.048Z", - "3.0.0-beta.1": "2018-06-21T01:14:14.856Z", - "2.0.3": "2018-06-21T16:22:55.033Z", - "2.0.4": "2018-07-03T19:31:00.367Z", - "3.0.0-beta.2": "2018-07-10T20:21:12.451Z", - "2.0.5": "2018-07-13T19:53:27.882Z", - "3.0.0-beta.3": "2018-07-17T17:49:54.687Z", - "2.0.6": "2018-08-01T01:15:02.136Z", - "3.0.0-beta.4": "2018-08-01T21:05:43.174Z", - "2.0.7": "2018-08-08T22:22:28.184Z", - "2.1.0-unsupported.20180809": "2018-08-09T23:39:22.846Z", - "3.0.0-beta.5": "2018-08-13T16:33:21.017Z", - "4.0.0-nightly.20180816": "2018-08-17T00:48:26.046Z", - "4.0.0-nightly.20180817": "2018-08-18T00:39:12.990Z", - "3.0.0-nightly.20180818": "2018-08-18T07:50:44.255Z", - "4.0.0-nightly.20180819": "2018-08-19T01:51:31.313Z", - "2.0.8-nightly.20180819": "2018-08-20T00:27:11.297Z", - "3.0.0-beta.6": "2018-08-20T18:48:02.744Z", - "2.0.8-nightly.20180820": "2018-08-21T00:40:04.328Z", - "3.0.0-nightly.20180821": "2018-08-21T20:00:48.075Z", - "4.0.0-nightly.20180821": "2018-08-21T21:18:49.881Z", - "3.0.0-beta.7": "2018-08-22T18:57:07.903Z", - "2.0.8": "2018-08-22T18:57:54.848Z", - "1.8.8": "2018-08-22T20:51:57.252Z", - "1.7.16": "2018-08-22T20:55:33.054Z", - "3.0.0-beta.8": "2018-08-29T06:49:03.020Z", - "3.0.0-nightly.20180904": "2018-09-05T01:09:33.067Z", - "3.0.0-beta.9": "2018-09-06T01:35:19.967Z", - "3.0.0-beta.10": "2018-09-08T05:19:13.812Z", - "2.0.9": "2018-09-10T16:13:25.352Z", - "3.0.0-beta.11": "2018-09-12T08:56:43.127Z", - "3.0.0-beta.12": "2018-09-12T21:26:32.548Z", - "3.0.0-beta.13": "2018-09-17T18:32:16.049Z", - "3.0.0": "2018-09-18T21:00:46.441Z", - "2.0.10": "2018-09-19T10:16:59.581Z", - "3.0.1": "2018-09-27T00:52:34.667Z", - "3.0.2": "2018-09-27T21:19:21.483Z", - "4.0.0-nightly.20180929": "2018-09-29T14:45:09.660Z", - "2.0.11": "2018-10-01T17:34:46.971Z", - "4.0.0-nightly.20181006": "2018-10-06T11:26:28.969Z", - "3.0.3": "2018-10-07T00:17:43.102Z", - "4.0.0-nightly.20181010": "2018-10-10T15:35:57.376Z", - "3.0.4": "2018-10-11T06:11:18.146Z", - "4.0.0-beta.1": "2018-10-11T07:32:31.250Z", - "4.0.0-beta.2": "2018-10-12T01:20:12.135Z", - "4.0.0-beta.3": "2018-10-12T21:20:45.600Z", - "3.0.5": "2018-10-19T01:36:39.789Z", - "2.0.12": "2018-10-19T01:55:24.241Z", - "4.0.0-beta.4": "2018-10-19T02:28:53.650Z", - "4.0.0-beta.5": "2018-10-23T15:01:31.505Z", - "3.0.6": "2018-10-24T23:29:34.439Z", - "3.0.7": "2018-11-01T00:19:25.564Z", - "2.0.13": "2018-11-01T00:36:23.241Z", - "4.0.0-beta.6": "2018-11-01T00:54:46.040Z", - "3.0.8": "2018-11-05T23:35:45.329Z", - "4.0.0-beta.7": "2018-11-06T00:24:24.297Z", - "3.0.9": "2018-11-13T04:05:30.948Z", - "2.0.14": "2018-11-19T20:16:22.320Z", - "3.0.10": "2018-11-19T21:27:30.073Z", - "4.0.0-beta.8": "2018-11-30T16:14:43.296Z", - "3.1.0-beta.1": "2018-12-02T18:41:41.591Z", - "3.1.0-beta.2": "2018-12-04T04:30:41.143Z", - "3.0.11": "2018-12-11T00:09:23.215Z", - "4.0.0-beta.9": "2018-12-11T00:52:36.405Z", - "2.0.15": "2018-12-13T19:10:16.794Z", - "3.0.12": "2018-12-14T22:40:19.324Z", - "3.1.0-beta.3": "2018-12-14T22:55:12.892Z", - "3.0.13": "2018-12-17T20:03:34.995Z", - "3.1.0-beta.4": "2018-12-17T20:54:19.117Z", - "4.0.0-beta.10": "2018-12-17T23:21:06.800Z" - }, - "users": { - "306766053": true, - "tunnckocore": true, - "mortiy": true, - "slowbrain": true, - "duchenerc": true, - "cdll": true, - "sedmonds": true, - "strathausen": true, - "ugarz": true, - "skrdv": true, - "rocksynth": true, - "pablo.tavarez": true, - "faraoman": true, - "s4g6": true, - "meadowcottage": true, - "dexyne": true, - "razr9": true, - "nuer": true, - "wenbing": true, - "webbot": true, - "bhaveshgohel": true, - "coolhanddev": true, - "adrian110288": true, - "fsgdez": true, - "knoja4": true, - "lmanukyan": true, - "eerne": true, - "sergio.avaldez": true, - "lassevolkmann": true, - "wenhsiaoyi": true, - "rosseelcrafter": true, - "mano.rajesh": true, - "mikestaub": true, - "sbruchmann": true, - "erikvold": true, - "geduardcatalin": true, - "faeliaso": true, - "abdihaikal": true, - "jetbug123": true, - "erynellbe32": true, - "inectum": true, - "rafszul": true, - "hyteer": true, - "pp253": true, - "axelrindle": true, - "hafizahmedattari": true, - "illuminator": true, - "prime156": true, - "rochejul": true, - "ianyuen": true, - "cissasgot": true, - "nickeltobias": true, - "ulongx": true, - "seangenabe": true, - "scott.m.sarsfield": true, - "ddmitov": true, - "nilz3ro": true, - "potentii": true, - "bcoe": true, - "vamakoda": true, - "amiorkov": true, - "pmoleri_ig": true, - "diegorbaquero": true, - "ektx": true, - "anker": true, - "ringokam": true, - "jeffreylowy": true, - "misterrusty": true, - "roelofvk": true, - "varbrad": true, - "zhen": true, - "sopov": true, - "jal": true, - "miadzadfallah": true, - "zixinliango": true, - "kingfeast": true, - "tsxuehu": true, - "da5atar": true, - "max_devjs": true, - "omegga": true, - "cloudychris": true, - "leizongmin": true, - "heartnett": true, - "cuidapeng": true, - "andygreenegrass": true, - "monsterkodi": true, - "fxkraus": true, - "thatwasawkward": true, - "palz": true, - "ovac4u": true, - "davidnyhuis": true, - "grabantot": true, - "abt10": true, - "joanmi": true, - "weathermaker": true, - "kontrax": true, - "kkho595": true, - "krzych93": true, - "yorusi": true, - "eludwig": true, - "madarche": true, - "rocket0191": true, - "ekomaroff": true, - "edwin1329": true, - "downgoon": true, - "paulkolesnyk": true, - "ohar": true, - "bstevenson": true, - "kwcjr": true, - "fabioper": true, - "morogasper": true, - "cyb3rsyph0n": true, - "sammade": true, - "vladimi": true, - "seanzer": true, - "shanewholloway": true, - "arcticicestudio": true, - "sebastian-schmidt": true, - "n1kkou": true, - "agplan": true, - "rogerthoang": true, - "shuoshubao": true, - "lgh06": true, - "mdedirudianto": true, - "miroklarin": true, - "raycharles": true, - "dotgfx": true, - "huiyifyj": true, - "mgthomas99": true, - "anoubis": true, - "awesomename": true, - "gurunate": true, - "mohsinnadeem": true, - "tiagodanin": true, - "huyz": true, - "amiziara": true, - "bittercoffee": true, - "jonathanrdl": true, - "cameronnokes": true, - "abear": true - }, - "readmeFilename": "", - "homepage": "https://github.com/electron/electron#readme", - "keywords": ["electron"], - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "author": { - "name": "Electron Community" - }, - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "license": "MIT" -} \ No newline at end of file diff --git a/tests/mocks/npm-response-nightlies.json b/tests/mocks/npm-response-nightlies.json deleted file mode 100644 index 1d431200f9..0000000000 --- a/tests/mocks/npm-response-nightlies.json +++ /dev/null @@ -1,255 +0,0 @@ -{ - "_id": "electron-nightly", - "_rev": "39-dd135109793df50686b198663b6af607", - "name": "electron-nightly", - "dist-tags": { - "latest": "7.0.0-nightly.20190704" - }, - "versions": { - "0.0.0": { - "name": "electron-nightly", - "version": "0.0.0", - "description": "", - "main": "index.js", - "scripts": { - "test": "echo \"Error: no test specified\" && exit 1" - }, - "author": "", - "license": "ISC", - "_id": "electron-nightly@0.0.0", - "_npmVersion": "6.4.1", - "_nodeVersion": "10.13.0", - "_npmUser": { - "name": "marshallofsound", - "email": "samuel.r.attard@gmail.com" - }, - "dist": { - "integrity": "sha512-oEBAnNUqDCsBdAFeEE1GDVuNTsPC84UnxjvSip0QnCG6N71wTCLGTanIQ395t6hfv5KLI0p0pnfhnW2Iviavuw==", - "shasum": "12628b65d30fabc4603842d8de2f3687e2c9b7ac", - "tarball": "https://registry.npmjs.org/electron-nightly/-/electron-nightly-0.0.0.tgz", - "fileCount": 1, - "unpackedSize": 212, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcBa78CRA9TVsSAnZWagAAjZ4P/25hG+EifXkJCa7nOtZ4\nax1m5EXFsoPCwye4jJhwrOsokTtxBwp5gvhmib1Bt6sKcy6WqB91o9FwOylp\ncw5ZMRcvSUydJt7MbohptjekT9dPGyFiWAMrTyvgQsPzM9wF6Z1YdhkWNGrn\noGgI4tQfd9f6AuaHLfNErKpV/nqdk0YXFnO4yDTatwSFP9Gl1PG6vY0fHld4\n6FUw9he9MeN7WKaIroOM2DxSaVkeK2Zbtx+H2HtMptp0NDkFfIePq3w35v0p\nQAm8V5CTrwWEe31Egp2lblDPEUgst2H8HC/l4mIoSkOa0z9/pyhuijkipdsE\nMEvBTjVJXLynoFBuPbWti2s26DMD7ieHtoDjGqSw3eTIE2qkm3N/DghEDo4J\nieOtFa+vosLWTT5SxEwcEQ8GkOfAeXMl8ydUbw0OiODx2EOmW+CHSLLkB6Cx\n97rbiriuAzp0AmPDVqeUsY4D34kWYCwOYaVaho+HbnzGtQEK8Ec+kKRzjx/U\n8jQXXmpbtp3D6sGIx3ykqEuW5ku6F/asarzGso0gWyjeCLqrS74k2i3r9dvd\nutTFgOoiET0Fyi474gB7cuxIvbRdk8b7WQN3GwoQY8YSEYf/1i9MNzrzgKfS\nctp/B5y46xxY6FFalYx4GskrGipBPLZRKhEIQyncWfTzAmBAZ/XSVHSfEUH0\nNuDI\r\n=r9Vj\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [ - { - "name": "marshallofsound", - "email": "samuel.r.attard@gmail.com" - } - ], - "directories": {}, - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron-nightly_0.0.0_1543876348316_0.3909768013193977" - }, - "_hasShrinkwrap": false - }, - "7.0.0-nightly.20190529": { - "main": "index.js", - "types": "electron.d.ts", - "bin": { - "electron": "cli.js" - }, - "scripts": { - "postinstall": "node install.js" - }, - "dependencies": { - "@electron/get": "^1.0.1", - "@types/node": "^10.12.18", - "extract-zip": "^1.0.3" - }, - "engines": { - "node": ">= 8.6" - }, - "name": "electron-nightly", - "version": "7.0.0-nightly.20190529", - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT", - "author": { - "name": "Electron Community" - }, - "keywords": [ - "electron" - ], - "_resolved": "", - "_integrity": "", - "_from": "file:/tmp/electron-npm119429-1761-mthe72.vpfro/electron-nightly-7.0.0-nightly.20190529.tgz", - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "homepage": "https://github.com/electron/electron#readme", - "_id": "electron-nightly@7.0.0-nightly.20190529", - "_npmVersion": "6.4.1", - "_nodeVersion": "10.15.3", - "_npmUser": { - "name": "electron-nightly", - "email": "info@electronjs.org" - }, - "dist": { - "integrity": "sha512-Jgkdi+a699SU+BIHDBnwN2MLREnYzhK+EP+ND584dHvneMhgc+40b+bR80QGZnYnv+WmFJitbSnAZZtCLLELUw==", - "shasum": "f51ed54268f4a1605dc2291e7a0cff63076a2c3c", - "tarball": "https://registry.npmjs.org/electron-nightly/-/electron-nightly-7.0.0-nightly.20190529.tgz", - "fileCount": 7, - "unpackedSize": 497378, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc7s4XCRA9TVsSAnZWagAAk/sP/jQWuved1eBio59cjbv6\nR/q8uSg+r+4SUx8yTwXlnUAInbvidvY5FtfGtgnQw8XD9TnzCDsBOIRHrdue\nX+Cja/vAdYn0OESn7G2FGEypW65KP8OmDTpVn0onRPr/0oSsiS+z27YYgmPL\nCW5L34yCcIVWhDBfJgzB8gtl8vE/UWvH0IvZjoRlqs5J9b9P0zOQGso9rWcd\naskp8JEZWIxp6aBk9GrYXWBT2NiBUqaKE/bqElz9GrAo6wmXjfZDdMEU0cg3\n7fHuK4tIyXPqMIa6/+csdhdARCQ9iLBgn1QVZXu9lhorF612em2LeMRrM1XO\n3Ac4hDCmwKrvk+GZwn8zVqZW7rsSoYI7uFBV285r0x6joqcQezyGxxDNILvg\nGl3bdmLzqQPaHjOqT+cghwkYFSza2xJlpERpwSpZCxcqSD1M+d5s4cxpkkY1\n6AkufKl8rPGUb/IGf8c9ZpN6ejnyoWDIMMhu+Bra/PnrCEnegnjXgxtkR06c\nXquXpIN0ErM2+dRG2n2MJ3RXg2tiZ0kwed0poGo9ukF8Mk/LxgULLJYIK1bR\nlWn6I6AUAPzC4f7o/kTi8S5ylV0Hzk1fMnj4pE8JTf7wZNGEr5mZj+fbzVdy\nRF5f+gn7MktFRizIlwYazgArV9OVJYg5UB9vKQnynCKFjIRquzuuSL58541Z\ne8PW\r\n=U4HL\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [ - { - "email": "info@electronjs.org", - "name": "electron-nightly" - }, - { - "email": "samuel.r.attard@gmail.com", - "name": "marshallofsound" - } - ], - "directories": {}, - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron-nightly_7.0.0-nightly.20190529_1559154198863_0.4602392895148406" - }, - "_hasShrinkwrap": false - }, - "7.0.0-nightly.20190704": { - "main": "index.js", - "types": "electron.d.ts", - "bin": { - "electron": "cli.js" - }, - "scripts": { - "postinstall": "node install.js" - }, - "dependencies": { - "@electron/get": "^1.0.1", - "@types/node": "^12.0.12", - "extract-zip": "^1.0.3" - }, - "engines": { - "node": ">= 8.6" - }, - "name": "electron-nightly", - "version": "7.0.0-nightly.20190704", - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "license": "MIT", - "author": { - "name": "Electron Community" - }, - "keywords": [ - "electron" - ], - "_resolved": "", - "_integrity": "", - "_from": "file:/tmp/electron-npm11964-411-1ukz5oe.jvak/electron-nightly-7.0.0-nightly.20190704.tgz", - "bugs": { - "url": "https://github.com/electron/electron/issues" - }, - "homepage": "https://github.com/electron/electron#readme", - "_id": "electron-nightly@7.0.0-nightly.20190704", - "_nodeVersion": "10.16.0", - "_npmVersion": "6.9.0", - "dist": { - "integrity": "sha512-nTcQiwbkxwXqvlVhPACDSoBMbIi+2TwXz+e31/UB755kOVmSQiR53x+rFDUDA+YRdL6cwfe5+t3yESe9B66H0w==", - "shasum": "88b01159b26da35baee963dde9909cc5e349d7e0", - "tarball": "https://registry.npmjs.org/electron-nightly/-/electron-nightly-7.0.0-nightly.20190704.tgz", - "fileCount": 7, - "unpackedSize": 513721, - "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdHj5jCRA9TVsSAnZWagAAfrUP/2BoX5PsdDr1B9SEVYeu\nXFRcKGgVCjfRPXujpNB5k411YwSmnjGzOgZH5Gj06MoBKJysST4YHZHCuNhM\nb3yD+qEIo109SoxZbitPojBgaPiRMCbFewhmnwzmFOkyZAD/rRk7nwo/dK9O\nogsuns8lxKSOq+5nMXgxuirwfHxCsLYxSNUd9/c7C6hz0Jl+8xjZSEDgILte\nMsF0kz5M7atSsi28WT9gv90w1mAlBAmqoqI6IKv6mu7LDV/EncwdpInb4HOa\nIxqAx3BixQbtwG+Hsj3I625q4sZZcqsdc7I2sTEaPinNCuv1xga107Gy3BRl\ndalC1FTjxalCfOz59ehBXBIXteRY946c9Pdhg87txGQrLcEIGqGOAyPo9QNI\n6Qc1yUGGMYO2OnG8bDOaJn6j++bJ1xprgDI+Dn6KusNqqjBAIxVggzNqSYik\n8QnWiTgwCc8+643AIPQKN8zhTw4xGxyhTTCuIdCegsQbKKygGRHGkQOdqeLQ\n98tSHbtODPr99WOEspBpYFn8SHjNDohCKRoKHzFIHPHTa95TWeL89qonpq2e\nI8mjRse1bpsizQKED6N7cm3jA/rcSTSDGbDOtvmnA6WfNmsPbO9oziCiupgn\nDeEZ8JOUwoHJ3Mq8drp/wnbe48BdroxEk/aWDR9LFk/AwzyUmxx+/IyG10AP\nJii4\r\n=rW8C\r\n-----END PGP SIGNATURE-----\r\n" - }, - "maintainers": [ - { - "email": "info@electronjs.org", - "name": "electron-nightly" - }, - { - "email": "samuel.r.attard@gmail.com", - "name": "marshallofsound" - } - ], - "_npmUser": { - "name": "electron-nightly", - "email": "info@electronjs.org" - }, - "directories": {}, - "_npmOperationalInternal": { - "host": "s3://npm-registry-packages", - "tmp": "tmp/electron-nightly_7.0.0-nightly.20190704_1562263137190_0.2784974234136546" - }, - "_hasShrinkwrap": false - } - }, - "time": { - "created": "2018-12-03T22:32:28.316Z", - "0.0.0": "2018-12-03T22:32:28.442Z", - "modified": "2019-07-04T17:59:01.719Z", - "5.0.0-nightly.20190107": "2019-01-08T04:24:52.483Z", - "5.0.0-nightly.20190121": "2019-01-22T16:19:35.377Z", - "5.0.0-nightly.20190122": "2019-01-22T19:30:42.307Z", - "6.0.0-nightly.20190123": "2019-01-24T16:24:03.070Z", - "6.0.0-nightly.20190212": "2019-02-12T21:02:51.442Z", - "6.0.0-nightly.20190213": "2019-02-14T01:02:31.814Z", - "6.0.0-nightly.20190311": "2019-03-11T20:40:29.503Z", - "7.0.0-nightly.20190521": "2019-05-21T21:22:46.089Z", - "7.0.0-nightly.20190529": "2019-05-29T18:23:18.983Z", - "7.0.0-nightly.20190530": "2019-05-30T17:47:39.518Z", - "7.0.0-nightly.20190531": "2019-05-31T17:49:45.571Z", - "7.0.0-nightly.20190602": "2019-06-02T17:45:31.369Z", - "7.0.0-nightly.20190603": "2019-06-03T17:47:53.178Z", - "7.0.0-nightly.20190604": "2019-06-04T19:10:40.487Z", - "7.0.0-nightly.20190605": "2019-06-05T17:53:28.392Z", - "7.0.0-nightly.20190606": "2019-06-06T18:01:10.738Z", - "7.0.0-nightly.20190607": "2019-06-07T18:27:34.974Z", - "7.0.0-nightly.20190608": "2019-06-08T23:58:24.637Z", - "7.0.0-nightly.20190611": "2019-06-11T17:46:53.644Z", - "7.0.0-nightly.20190612": "2019-06-12T17:47:53.611Z", - "7.0.0-nightly.20190613": "2019-06-13T19:21:31.611Z", - "7.0.0-nightly.20190615": "2019-06-15T18:18:56.669Z", - "7.0.0-nightly.20190616": "2019-06-17T00:31:33.256Z", - "7.0.0-nightly.20190618": "2019-06-18T18:37:38.589Z", - "7.0.0-nightly.20190619": "2019-06-19T18:05:29.464Z", - "7.0.0-nightly.20190622": "2019-06-22T21:03:59.892Z", - "7.0.0-nightly.20190623": "2019-06-24T00:21:08.293Z", - "7.0.0-nightly.20190624": "2019-06-24T20:44:19.412Z", - "7.0.0-nightly.20190627": "2019-06-27T18:05:46.976Z", - "7.0.0-nightly.20190629": "2019-06-29T19:10:21.787Z", - "7.0.0-nightly.20190630": "2019-07-01T06:44:14.177Z", - "7.0.0-nightly.20190701": "2019-07-01T17:57:37.596Z", - "7.0.0-nightly.20190702": "2019-07-02T18:08:41.276Z", - "7.0.0-nightly.20190704": "2019-07-04T17:58:57.305Z" - }, - "maintainers": [ - { - "email": "info@electronjs.org", - "name": "electron-nightly" - }, - { - "email": "samuel.r.attard@gmail.com", - "name": "marshallofsound" - } - ], - "license": "MIT", - "readme": "[![Electron Logo](https://electronjs.org/images/electron-logo.svg)](https://electronjs.org)\n\n\n[![CircleCI Build Status](https://circleci.com/gh/electron/electron/tree/master.svg?style=shield)](https://circleci.com/gh/electron/electron/tree/master)\n[![AppVeyor Build Status](https://ci.appveyor.com/api/projects/status/4lggi9dpjc1qob7k/branch/master?svg=true)](https://ci.appveyor.com/project/electron-bot/electron-ljo26/branch/master)\n[![devDependency Status](https://david-dm.org/electron/electron/dev-status.svg)](https://david-dm.org/electron/electron?type=dev)\n\n:memo: Available Translations: 🇨🇳 🇹🇼 🇧🇷 🇪🇸 🇰🇷 🇯🇵 🇷🇺 🇫🇷 🇹🇭 🇳🇱 🇹🇷 🇮🇩 🇺🇦 🇨🇿 🇮🇹 🇵🇱.\nView these docs in other languages at [electron/i18n](https://github.com/electron/i18n/tree/master/content/).\n\nThe Electron framework lets you write cross-platform desktop applications\nusing JavaScript, HTML and CSS. It is based on [Node.js](https://nodejs.org/) and\n[Chromium](https://www.chromium.org) and is used by the [Atom\neditor](https://github.com/atom/atom) and many other [apps](https://electronjs.org/apps).\n\nFollow [@ElectronJS](https://twitter.com/electronjs) on Twitter for important\nannouncements.\n\nThis project adheres to the Contributor Covenant\n[code of conduct](https://github.com/electron/electron/tree/master/CODE_OF_CONDUCT.md).\nBy participating, you are expected to uphold this code. Please report unacceptable\nbehavior to [coc@electronjs.org](mailto:coc@electronjs.org).\n\n## Installation\n\nTo install prebuilt Electron binaries, use [`npm`](https://docs.npmjs.com/).\nThe preferred method is to install Electron as a development dependency in your\napp:\n\n```sh\nnpm install electron --save-dev [--save-exact]\n```\n\nThe `--save-exact` flag is recommended for Electron prior to version 2, as it does not follow semantic\nversioning. As of version 2.0.0, Electron follows semver, so you don't need `--save-exact` flag. For info on how to manage Electron versions in your apps, see\n[Electron versioning](docs/tutorial/electron-versioning.md).\n\nFor more installation options and troubleshooting tips, see\n[installation](docs/tutorial/installation.md).\n\n## Quick start & Electron Fiddle\n\nUse [`Electron Fiddle`](https://github.com/electron/fiddle)\nto build, run, and package small Electron experiments, to see code examples for all of Electron's APIs, and\nto try out different versions of Electron. It's designed to make the start of your journey with\nElectron easier.\n\nAlternatively, clone and run the\n[electron/electron-quick-start](https://github.com/electron/electron-quick-start)\nrepository to see a minimal Electron app in action:\n\n```sh\ngit clone https://github.com/electron/electron-quick-start\ncd electron-quick-start\nnpm install\nnpm start\n```\n\n## Resources for learning Electron\n\n- [electronjs.org/docs](https://electronjs.org/docs) - all of Electron's documentation\n- [electron/fiddle](https://github.com/electron/fiddle) - A tool to build, run, and package small Electron experiments\n- [electron/electron-quick-start](https://github.com/electron/electron-quick-start) - a very basic starter Electron app\n- [electronjs.org/community#boilerplates](https://electronjs.org/community#boilerplates) - sample starter apps created by the community\n- [electron/simple-samples](https://github.com/electron/simple-samples) - small applications with ideas for taking them further\n- [electron/electron-api-demos](https://github.com/electron/electron-api-demos) - an Electron app that teaches you how to use Electron\n- [hokein/electron-sample-apps](https://github.com/hokein/electron-sample-apps) - small demo apps for the various Electron APIs\n\n## Programmatic usage\n\nMost people use Electron from the command line, but if you require `electron` inside\nyour **Node app** (not your Electron app) it will return the file path to the\nbinary. Use this to spawn Electron from Node scripts:\n\n```javascript\nconst electron = require('electron')\nconst proc = require('child_process')\n\n// will print something similar to /Users/maf/.../Electron\nconsole.log(electron)\n\n// spawn Electron\nconst child = proc.spawn(electron)\n```\n\n### Mirrors\n\n- [China](https://npm.taobao.org/mirrors/electron)\n\n## Documentation Translations\n\nFind documentation translations in [electron/i18n](https://github.com/electron/i18n).\n\n## Contributing\n\nIf you are interested in reporting/fixing issues and contributing directly to the code base, please see [CONTRIBUTING.md](CONTRIBUTING.md) for more information on what we're looking for and how to get started.\n\n## Community\n\nInfo on reporting bugs, getting help, finding third-party tools and sample apps,\nand more can be found in the [support document](docs/tutorial/support.md#finding-support).\n\n## License\n\n[MIT](https://github.com/electron/electron/blob/master/LICENSE)\n\nWhen using the Electron or other GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).\n", - "readmeFilename": "README.md", - "description": "Build cross platform desktop apps with JavaScript, HTML, and CSS", - "homepage": "https://github.com/electron/electron#readme", - "keywords": [ - "electron" - ], - "repository": { - "type": "git", - "url": "git+https://github.com/electron/electron.git" - }, - "author": { - "name": "Electron Community" - }, - "bugs": { - "url": "https://github.com/electron/electron/issues" - } -} \ No newline at end of file From 0ad093cbe89c466e6093c0416529a349c306d097 Mon Sep 17 00:00:00 2001 From: Anny Yang Date: Tue, 15 Jul 2025 17:26:23 -0400 Subject: [PATCH 2/2] chore: fix comment --- src/main/content.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/content.ts b/src/main/content.ts index 1e8db8bb31..797d0b113d 100644 --- a/src/main/content.ts +++ b/src/main/content.ts @@ -13,7 +13,7 @@ import { IpcEvents } from '../ipc-events'; // parent directory of all the downloaded template fiddles const TEMPLATES_DIR = path.join(app.getPath('userData'), 'Templates'); -// location of the fallback template fiddle used if downloading failed +// location of the fallback template fiddle used iff downloading failed const STATIC_TEMPLATE_DIR = path.join(STATIC_DIR, 'electron-quick-start'); // electron-quick-start branch that holds the test template