From d4c6ff1268697f41fb2280bbf7d45f1567d240cd Mon Sep 17 00:00:00 2001 From: jrandolf <101637635+jrandolf@users.noreply.github.com> Date: Wed, 5 Oct 2022 15:57:31 +0200 Subject: [PATCH] chore: update pin dependencies (#9050) --- utils/pin_dependencies.py | 3 ++- website/package-lock.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/utils/pin_dependencies.py b/utils/pin_dependencies.py index 8e42038eb8c..f86348adc80 100755 --- a/utils/pin_dependencies.py +++ b/utils/pin_dependencies.py @@ -32,7 +32,8 @@ def main(): if line.startswith("devDependencies") or line.startswith("dependencies"): start_replace = True else: - tmp_file.write(line.replace('^', '')) + line = line.replace('^', '') + tmp_file.write(line) rename(tmp_file_path, package_json_path) if __name__ == "__main__": diff --git a/website/package-lock.json b/website/package-lock.json index d91ade0365e..c1f1244c9c4 100644 --- a/website/package-lock.json +++ b/website/package-lock.json @@ -12,7 +12,7 @@ "@docusaurus/preset-classic": "2.0.1", "@easyops-cn/docusaurus-search-local": "0.26.1", "@mdx-js/react": "1.6.22", - "clsx": "^1.2.1", + "clsx": "1.2.1", "prism-react-renderer": "1.3.5", "react": "17.0.2", "react-dom": "17.0.2"