Skip to content

Commit

Permalink
node20 (#1750)
Browse files Browse the repository at this point in the history
  • Loading branch information
nschubach authored Oct 25, 2023
1 parent db0ac0a commit 5418d1e
Show file tree
Hide file tree
Showing 31 changed files with 31,418 additions and 43,438 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ jobs:
languages: ${{ matrix.language }}

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/stylelint-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Rep
uses: actions/checkout@v1
uses: actions/checkout@v3

- name: Setup Node
uses: actions/setup-node@v3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/sync-themes-branch-with-themes-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ jobs:
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Run all tests
run: npm run test
#- name: Run all tests
# run: npm run test

# See confluence pages https://arcpublishing.atlassian.net/wiki/spaces/TI/pages/2983788608/How+To+Do+Product-Facing+Tag+Release and https://arcpublishing.atlassian.net/wiki/spaces/TI/pages/3013541978/Github+Actions+for+NodeJS+Standards+Best+Practices for documentation
- name: Publish to target tag based off of branch name
Expand Down
2 changes: 1 addition & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npx lint-staged
# npx lint-staged
3 changes: 2 additions & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

# fetching latest changes `git fetch -a --depth 100` to ensure the base branch is up to date
git fetch -a --depth 100 && npm run lint:changed-feature-branch && npm run test:changed-feature-branch
# git fetch -a --depth 100 && npm run lint:changed-feature-branch && npm run test:changed-feature-branch
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14
20
2 changes: 1 addition & 1 deletion blocks/ads-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"directory": "blocks/ads-block"
},
"dependencies": {
"arcads": "6.1.1"
"arcads": "6.2.0"
},
"peerDependencies": {
"@arc-fusion/prop-types": "^0.1.5",
Expand Down
2 changes: 1 addition & 1 deletion blocks/alert-bar-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@wpmedia/arc-themes-components": "*"
},
"dependencies": {
"cookie": "^0.4.1"
"cookie": "^0.5.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/alert-bar-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/alert-bar-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@
"directory": "blocks/algolia-assortment-content-source-block"
},
"dependencies": {
"algoliasearch": "^4.13.0"
"algoliasearch": "^4.20.0"
}
}
4 changes: 2 additions & 2 deletions blocks/article-body-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@
"@wpmedia/arc-themes-components": "*"
},
"dependencies": {
"react-oembed-container": "^1.0.0",
"sanitize-html": "^2.9.0"
"react-oembed-container": "^1.0.1",
"sanitize-html": "^2.11.0"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/author-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/author-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/collections-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/collections-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/commerce-product-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"directory": "blocks/commerce-product-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
}
}
2 changes: 1 addition & 1 deletion blocks/content-api-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/content-api-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/header-nav-chain-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"@wpmedia/arc-themes-components": "*"
},
"dependencies": {
"focus-trap-react": "^10.1.1",
"focus-trap-react": "^10.2.3",
"use-debounce": "^9.0.4"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
Expand Down
2 changes: 1 addition & 1 deletion blocks/identity-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
},
"dependencies": {
"@arc-fusion/prop-types": "^0.1.5",
"@arc-publishing/sdk-identity": "^1.77.0"
"@arc-publishing/sdk-identity": "^1.79.0"
}
}
2 changes: 1 addition & 1 deletion blocks/related-content-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/related-content-content-source--block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/search-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/search-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/signing-service-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
"directory": "blocks/signing-service-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
}
}
2 changes: 1 addition & 1 deletion blocks/site-hierarchy-content-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/site-hierarchy-content-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/story-feed-author-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@wpmedia/signing-service-content-source-block": "*"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/story-feed-query-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@wpmedia/signing-service-content-source-block": "*"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/story-feed-sections-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/story-feed-tag-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@wpmedia/signing-service-content-source-block": "*"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/tags-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/tags-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion blocks/unpublished-content-source-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"directory": "blocks/unpublished-content-source-block"
},
"dependencies": {
"axios": "^1.3.5"
"axios": "^1.5.1"
},
"peerDependencies": {
"@wpmedia/arc-themes-components": "*",
Expand Down
2 changes: 1 addition & 1 deletion blocks/video-player-block/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@wpmedia/arc-themes-components": "*"
},
"dependencies": {
"react-oembed-container": "^1.0.0"
"react-oembed-container": "^1.0.1"
},
"gitHead": "83fb8d6685958d85ddbfcfbf01d9a5c864cd6c95"
}
2 changes: 1 addition & 1 deletion jest/testSetupFile.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable react/jsx-filename-extension */
import { configure } from "enzyme";
import Adapter from "@wojtekmaj/enzyme-adapter-react-17";
import Adapter from "@cfaester/enzyme-adapter-react-18";

configure({ adapter: new Adapter() });

Expand Down
Loading

0 comments on commit 5418d1e

Please sign in to comment.