diff --git a/Rakefile b/Rakefile index d0d3d247118d3..8bb8a6278a926 100644 --- a/Rakefile +++ b/Rakefile @@ -557,9 +557,11 @@ namespace :node do old_version = node_version new_version = updated_version(old_version, arguments[:version]) - file = 'javascript/node/selenium-webdriver/package.json' - text = File.read(file).gsub(old_version, new_version) - File.open(file, "w") { |f| f.puts text } + ['javascript/node/selenium-webdriver/package.json', + 'javascript/node/selenium-webdriver/package-lock.json'].each do |file| + text = File.read(file).gsub(old_version, new_version) + File.open(file, "w") { |f| f.puts text } + end Rake::Task['node:changelog'].invoke end diff --git a/javascript/node/selenium-webdriver/package-lock.json b/javascript/node/selenium-webdriver/package-lock.json index 20617d3e1f3ae..dc503a74f3bf5 100644 --- a/javascript/node/selenium-webdriver/package-lock.json +++ b/javascript/node/selenium-webdriver/package-lock.json @@ -1,12 +1,12 @@ { "name": "selenium-webdriver", - "version": "4.16.0", + "version": "4.17.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "selenium-webdriver", - "version": "4.16.0", + "version": "4.17.0", "license": "Apache-2.0", "dependencies": { "jszip": "^3.10.1",