Skip to content

Commit

Permalink
bump to 3.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
icambron committed Mar 4, 2023
1 parent 8d48a70 commit 88959de
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

strategy:
matrix:
node-version: [18.13]
node-version: [19.7.0]

steps:
- uses: actions/checkout@v2
Expand Down
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,18 @@
# Changelog

# 3.3.0 (2023-03-03)

* Fix off-by-one in Interval#count (#1308)
* Support formatting for custom zones (#1377)
* Fix parsing for narrow spaces (#1369)
* Handle leap year issue with AD 100 (#1390)
* Allow parsing of just an offset

# 3.2.1 (2023-01-04)

* Fix for RFC-2822 regex vulnerability
* Better handling of BCP tags with -x- extensions

# 3.2.0 (2022-12-29)

* Allow timeZone to be specified as an intl option
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "luxon",
"version": "3.2.1",
"version": "3.3.0",
"description": "Immutable date wrapper",
"author": "Isaac Cambron",
"keywords": [
Expand Down
3 changes: 3 additions & 0 deletions scripts/version
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,15 @@ fi

PACKAGE_VERSION=$(node -p "require('./package.json').version")
PACKAGE_LOCK_VERSION=$(node -p "require('./package-lock.json').version")
MODULE_VERSION=$(node -p "require('./src/package.json').version")
EXPORTED_VERSION=$($grepper -oP "(?<=const VERSION = \").*(?=\";)" ./src/luxon.js)

if [ $PACKAGE_VERSION != $PACKAGE_LOCK_VERSION ]; then
abort "package-lock.json's version differs from package.json's"
elif [ $PACKAGE_VERSION != $EXPORTED_VERSION ]; then
abort "exported version differs from package.json's"
elif [ $PACKAGE_VERSION != $MODULE_VERSION ]; then
abort "src/package.json differs from package.json's"
elif [ $(git tag -l "$PACKAGE_VERSION") ]; then
abort "tag already exists"
fi
2 changes: 1 addition & 1 deletion src/luxon.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import InvalidZone from "./zones/invalidZone.js";
import SystemZone from "./zones/systemZone.js";
import Settings from "./settings.js";

const VERSION = "3.2.1";
const VERSION = "3.3.0";

export {
VERSION,
Expand Down
3 changes: 2 additions & 1 deletion src/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"type": "module"
"type": "module",
"version": "3.3.0"
}

0 comments on commit 88959de

Please sign in to comment.