From b1af5d64953740cea98fe70ffc7f6d966222853f Mon Sep 17 00:00:00 2001 From: titusfortner Date: Thu, 25 Jan 2024 09:49:58 -0600 Subject: [PATCH] [build] update version in package-lock for node --- Rakefile | 8 +++++--- javascript/node/selenium-webdriver/package-lock.json | 4 ++-- 2 files changed, 7 insertions(+), 5 deletions(-) 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",