electron-chromedriver 20.0.0 → 22.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,7 +7,7 @@ jobs:
7
7
  install-test-linux:
8
8
  docker:
9
9
  # specify the version you desire here
10
- - image: circleci/node:10
10
+ - image: circleci/node:14-browsers
11
11
 
12
12
  # Specify service dependencies here if necessary
13
13
  # CircleCI maintains a library of pre-built images
@@ -40,7 +40,7 @@ jobs:
40
40
 
41
41
  install-test-osx:
42
42
  macos:
43
- xcode: "12.4.0"
43
+ xcode: "13.3.0"
44
44
  steps:
45
45
  - checkout
46
46
  # Download and cache dependencies
@@ -49,18 +49,6 @@ jobs:
49
49
  - v1-mac-dependencies-{{ checksum "package.json" }}
50
50
  # fallback to using the latest cache if no exact match is found
51
51
  - v1-mac-dependencies-
52
-
53
- # Lock into Node.js version
54
- - run:
55
- name: Install Node.js
56
- command: |
57
- curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
58
- export NVM_DIR="$HOME/.nvm"
59
- [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
60
- nvm install v10.19.0
61
- nvm alias default v10.19.0
62
- echo 'export NVM_DIR=${HOME}/.nvm' >> $BASH_ENV
63
- echo "[ -s '${NVM_DIR}/nvm.sh' ] && . '${NVM_DIR}/nvm.sh'" >> $BASH_ENV
64
52
  - run: node --version
65
53
  - run: npm --version
66
54
  - run: npm install
@@ -18,10 +18,10 @@ jobs:
18
18
  runs-on: ${{ matrix.os }}
19
19
  steps:
20
20
  - uses: actions/checkout@v3
21
- - name: Install Dependencies
22
- run: npm i
23
21
  - name: Update Version
24
22
  run: node script/update-version.js ${{ github.event.inputs.version }}
23
+ - name: Install Dependencies
24
+ run: npm i
25
25
  - name: Run Tests
26
26
  run: npm test
27
27
  create_new_version:
@@ -29,6 +29,15 @@ jobs:
29
29
  needs: run_tests
30
30
  steps:
31
31
  - uses: actions/checkout@v3
32
+ - name: Use Node.js v16
33
+ uses: actions/setup-node@v3
34
+ with:
35
+ node-version: 16.x
36
+ registry-url: 'https://registry.npmjs.org'
37
+ - name: Check npm credentials
38
+ run: npm whoami
39
+ env:
40
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
32
41
  - name: Set Git Credentials
33
42
  run: |
34
43
  git config user.name electron-bot
@@ -50,5 +59,4 @@ jobs:
50
59
  - name: Publish to npm
51
60
  run: npm publish
52
61
  env:
53
- NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
54
-
62
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
package/README.md CHANGED
@@ -3,15 +3,14 @@
3
3
  [![Linux and Mac Build Status](https://circleci.com/gh/electron/chromedriver/tree/main.svg?style=shield)](https://circleci.com/gh/electron/chromedriver/tree/main)
4
4
  [![Windows Build status](https://ci.appveyor.com/api/projects/status/43safb37jdlaeviw/branch/main?svg=true)](https://ci.appveyor.com/project/electron-bot/chromedriver/branch/main)
5
5
  <br>
6
- [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](http://standardjs.com/)
7
- [![devDependencies:?](https://img.shields.io/david/electron/chromedriver.svg)](https://david-dm.org/electron/chromedriver)
8
- <br>
6
+ [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://standardjs.com/)
9
7
  [![license:mit](https://img.shields.io/badge/license-mit-blue.svg)](https://opensource.org/licenses/MIT)
8
+ <br>
10
9
  [![npm:](https://img.shields.io/npm/v/electron-chromedriver.svg)](https://www.npmjs.com/package/electron-chromedriver)
11
- [![dependencies:?](https://img.shields.io/npm/dm/electron-chromedriver.svg)](https://www.npmjs.com/packages/electron-chromedriver)
10
+ [![dependencies:?](https://img.shields.io/npm/dm/electron-chromedriver.svg)](https://www.npmjs.com/package/electron-chromedriver)
12
11
 
13
- Simple node module to download the [ChromeDriver](https://sites.google.com/a/chromium.org/chromedriver)
14
- version for [Electron](http://electron.atom.io).
12
+ Simple node module to download the [ChromeDriver](https://sites.google.com/corp/chromium.org/driver/)
13
+ version for [Electron](https://electronjs.org).
15
14
 
16
15
  The major version of this library tracks the major version of the Electron
17
16
  versions released. So if you are using Electron `2.0.x` you would want to use
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "electron-chromedriver",
3
- "version": "20.0.0",
3
+ "version": "22.0.0",
4
4
  "description": "Electron ChromeDriver",
5
5
  "repository": "https://github.com/electron/chromedriver",
6
6
  "bin": {
@@ -17,11 +17,11 @@
17
17
  "author": "Kevin Sawicki",
18
18
  "license": "MIT",
19
19
  "dependencies": {
20
- "@electron/get": "^1.12.4",
20
+ "@electron/get": "^2.0.1",
21
21
  "extract-zip": "^2.0.0"
22
22
  },
23
23
  "devDependencies": {
24
- "mocha": "^8.3.0",
24
+ "mocha": "^10.1.0",
25
25
  "standard": "^13.1.0"
26
26
  }
27
- }
27
+ }