Skip to content

Commit 7aaf834

Browse files
authored
Merge pull request #904 from maxmind/kevin/4.7.0
Prep for v4.7.0
2 parents 8172773 + a1de49a commit 7aaf834

File tree

7 files changed

+41
-39
lines changed

7 files changed

+41
-39
lines changed

.dependatbot/config.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/dependabot.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
version: 2
22
updates:
3-
- package-ecosystem: npm
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 20
3+
- package-ecosystem: npm
4+
directory: "/"
5+
schedule:
6+
interval: daily
7+
open-pull-requests-limit: 20
88
- package-ecosystem: "github-actions"
99
directory: "/"
1010
schedule:

.github/workflows/codeql-analysis.yml

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,30 +13,24 @@ jobs:
1313

1414
runs-on: ubuntu-latest
1515

16+
permissions:
17+
security-events: write
18+
1619
steps:
1720
- name: Checkout repository
18-
uses: actions/checkout@v2
19-
with:
20-
# We must fetch at least the immediate parents so that if this is
21-
# a pull request then we can checkout the head.
22-
fetch-depth: 2
23-
24-
# If this run was triggered by a pull request event, then checkout
25-
# the head of the pull request instead of the merge commit.
26-
- run: git checkout HEAD^2
27-
if: ${{ github.event_name == 'pull_request' }}
28-
21+
uses: actions/checkout@v3
22+
2923
# Initializes the CodeQL tools for scanning.
3024
- name: Initialize CodeQL
31-
uses: github/codeql-action/init@v1
25+
uses: github/codeql-action/init@v2
3226
# Override language selection by uncommenting this and choosing your languages
3327
# with:
3428
# languages: go, javascript, csharp, python, cpp, java
3529

3630
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
3731
# If this step fails, then you should remove it and run the build manually (see below)
3832
- name: Autobuild
39-
uses: github/codeql-action/autobuild@v1
33+
uses: github/codeql-action/autobuild@v2
4034

4135
# ℹ️ Command-line programs to run using the OS shell.
4236
# 📚 https://git.io/JvXDl
@@ -50,4 +44,4 @@ jobs:
5044
# make release
5145

5246
- name: Perform CodeQL Analysis
53-
uses: github/codeql-action/analyze@v1
47+
uses: github/codeql-action/analyze@v2

.husky/_/husky.sh

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
#!/bin/sh
1+
#!/usr/bin/env sh
22
if [ -z "$husky_skip_init" ]; then
33
debug () {
44
if [ "$HUSKY_DEBUG" = "1" ]; then
55
echo "husky (debug) - $1"
66
fi
77
}
88

9-
readonly hook_name="$(basename "$0")"
9+
readonly hook_name="$(basename -- "$0")"
1010
debug "starting $hook_name..."
1111

1212
if [ "$HUSKY" = "0" ]; then
@@ -19,13 +19,18 @@ if [ -z "$husky_skip_init" ]; then
1919
. ~/.huskyrc
2020
fi
2121

22-
export readonly husky_skip_init=1
22+
readonly husky_skip_init=1
23+
export husky_skip_init
2324
sh -e "$0" "$@"
2425
exitCode="$?"
2526

2627
if [ $exitCode != 0 ]; then
2728
echo "husky - $hook_name hook exited with code $exitCode (error)"
2829
fi
2930

31+
if [ $exitCode = 127 ]; then
32+
echo "husky - command not found in PATH=$PATH"
33+
fi
34+
3035
exit $exitCode
3136
fi

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
CHANGELOG
22
=========
33

4-
4.7.0
4+
4.7.0 (2023-02-21)
55
------------------
66

77
* Added `GooglePay` to the `Processor` enum.
88
* Added `Placetopay` to the `Processor` enum.
9+
* Set minimum version of GeoIP2-node to v3.5.0.
10+
* Remove camelcase-keys dependency.
911

1012
4.6.0 (2022-08-31)
1113
------------------

package-lock.json

Lines changed: 15 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@maxmind/minfraud-api-node",
3-
"version": "4.6.0",
3+
"version": "4.7.0",
44
"description": "Node.js API for MaxMind minFraud Score, Insights, and Factors web services",
55
"main": "dist/src/index.js",
66
"homepage": "https://github.com/maxmind/minfraud-api-node",
@@ -67,7 +67,7 @@
6767
"postpublish": "pinst --enable"
6868
},
6969
"dependencies": {
70-
"@maxmind/geoip2-node": "^3.0.0",
70+
"@maxmind/geoip2-node": "^3.5.0",
7171
"maxmind": "^4.1.0",
7272
"punycode": "^2.1.1",
7373
"snakecase-keys": "^5.1.2",

0 commit comments

Comments
 (0)