Skip to content

Commit

Permalink
Merge pull request #904 from maxmind/kevin/4.7.0
Browse files Browse the repository at this point in the history
Prep for v4.7.0
  • Loading branch information
kevcenteno authored Feb 21, 2023
2 parents 8172773 + a1de49a commit 7aaf834
Show file tree
Hide file tree
Showing 7 changed files with 41 additions and 39 deletions.
7 changes: 0 additions & 7 deletions .dependatbot/config.yml

This file was deleted.

10 changes: 5 additions & 5 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20
- package-ecosystem: npm
directory: "/"
schedule:
interval: daily
open-pull-requests-limit: 20
- package-ecosystem: "github-actions"
directory: "/"
schedule:
Expand Down
22 changes: 8 additions & 14 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,30 +13,24 @@ jobs:

runs-on: ubuntu-latest

permissions:
security-events: write

steps:
- name: Checkout repository
uses: actions/checkout@v2
with:
# We must fetch at least the immediate parents so that if this is
# a pull request then we can checkout the head.
fetch-depth: 2

# If this run was triggered by a pull request event, then checkout
# the head of the pull request instead of the merge commit.
- run: git checkout HEAD^2
if: ${{ github.event_name == 'pull_request' }}

uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
# Override language selection by uncommenting this and choosing your languages
# with:
# languages: go, javascript, csharp, python, cpp, java

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

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

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
11 changes: 8 additions & 3 deletions .husky/_/husky.sh
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
#!/bin/sh
#!/usr/bin/env sh
if [ -z "$husky_skip_init" ]; then
debug () {
if [ "$HUSKY_DEBUG" = "1" ]; then
echo "husky (debug) - $1"
fi
}

readonly hook_name="$(basename "$0")"
readonly hook_name="$(basename -- "$0")"
debug "starting $hook_name..."

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

export readonly husky_skip_init=1
readonly husky_skip_init=1
export husky_skip_init
sh -e "$0" "$@"
exitCode="$?"

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

if [ $exitCode = 127 ]; then
echo "husky - command not found in PATH=$PATH"
fi

exit $exitCode
fi
4 changes: 3 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
CHANGELOG
=========

4.7.0
4.7.0 (2023-02-21)
------------------

* Added `GooglePay` to the `Processor` enum.
* Added `Placetopay` to the `Processor` enum.
* Set minimum version of GeoIP2-node to v3.5.0.
* Remove camelcase-keys dependency.

4.6.0 (2022-08-31)
------------------
Expand Down
22 changes: 15 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@maxmind/minfraud-api-node",
"version": "4.6.0",
"version": "4.7.0",
"description": "Node.js API for MaxMind minFraud Score, Insights, and Factors web services",
"main": "dist/src/index.js",
"homepage": "https://github.com/maxmind/minfraud-api-node",
Expand Down Expand Up @@ -67,7 +67,7 @@
"postpublish": "pinst --enable"
},
"dependencies": {
"@maxmind/geoip2-node": "^3.0.0",
"@maxmind/geoip2-node": "^3.5.0",
"maxmind": "^4.1.0",
"punycode": "^2.1.1",
"snakecase-keys": "^5.1.2",
Expand Down

0 comments on commit 7aaf834

Please sign in to comment.