date-and-time 2.1.0 → 2.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -24,6 +24,9 @@ npm i date-and-time
|
|
|
24
24
|
|
|
25
25
|
## Recent Changes
|
|
26
26
|
|
|
27
|
+
- 2.1.1
|
|
28
|
+
- Updated dev dependencies to resolve vulnerability.
|
|
29
|
+
|
|
27
30
|
- 2.1.0
|
|
28
31
|
- Fixed an issue that the lib's functions assigned to variables using ES6 destructuring assignment cause an error.
|
|
29
32
|
|
|
@@ -46,9 +49,6 @@ npm i date-and-time
|
|
|
46
49
|
- **Breaking Changes!** Due to the above fix, the specifications of plugin, locale, and extension have been changed. The `meridiem` plugin and the `two-digit-year` plugin are now partially incompatible with previous ones. See [here](./PLUGINS.md) for details. Also the `extend()` function has changed. If you are using it, check [here](./EXTEND.md) for any impact. The locales are still compatible.
|
|
47
50
|
- Added `timezone` plugin. You can now use the IANA timezone name to output a datetime string or input a date object. See [PLUGINS.md](./PLUGINS.md) for details.
|
|
48
51
|
|
|
49
|
-
- 1.0.1
|
|
50
|
-
- Updated dev dependencies to resolve vulnerability.
|
|
51
|
-
|
|
52
52
|
## Usage
|
|
53
53
|
|
|
54
54
|
- ES Modules:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "date-and-time",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.1",
|
|
4
4
|
"description": "A Minimalist DateTime utility for Node.js and the browser",
|
|
5
5
|
"main": "date-and-time.js",
|
|
6
6
|
"module": "esm/date-and-time.es.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"devDependencies": {
|
|
47
47
|
"@ampproject/rollup-plugin-closure-compiler": "^0.27.0",
|
|
48
48
|
"expect.js": "^0.3.1",
|
|
49
|
-
"mocha": "^9.
|
|
50
|
-
"mocha-headless-chrome": "^
|
|
51
|
-
"rollup": "^2.
|
|
49
|
+
"mocha": "^9.2.0",
|
|
50
|
+
"mocha-headless-chrome": "^4.0.0",
|
|
51
|
+
"rollup": "^2.67.2"
|
|
52
52
|
}
|
|
53
53
|
}
|