@messageformat/date-skeleton
Advanced tools
Comparing version
@@ -6,2 +6,10 @@ # Change Log | ||
# [1.0.0](https://github.com/messageformat/messageformat/compare/@messageformat/date-skeleton@1.0.0-beta.1...@messageformat/date-skeleton@1.0.0) (2021-05-13) | ||
**Note:** Version bump only for package @messageformat/date-skeleton | ||
# 1.0.0-beta.1 (2020-11-29) | ||
@@ -8,0 +16,0 @@ |
@@ -161,9 +161,6 @@ /** | ||
const opt = compileOptions(token, (msg, isWarning) => onError(new DateFormatError(msg, token, isWarning))); | ||
if (opt) { | ||
const keys = Object.keys(opt); | ||
for (const key of keys) | ||
options[key] = opt[key]; | ||
} | ||
if (opt) | ||
Object.assign(options, opt); | ||
} | ||
return options; | ||
} |
@@ -62,3 +62,3 @@ export const fields = { | ||
while (true) { | ||
let next = src[++pos]; | ||
const next = src[++pos]; | ||
++width; | ||
@@ -65,0 +65,0 @@ if (next === undefined) { |
{ | ||
"name": "@messageformat/date-skeleton", | ||
"version": "1.0.0-beta.1", | ||
"version": "1.0.0", | ||
"description": "A parser & formatter for ICU DateFormat skeleton strings", | ||
@@ -13,5 +13,7 @@ "keywords": [ | ||
], | ||
"author": "Eemeli Aro <eemeli@gmail.com>", | ||
"contributors": [ | ||
"Eemeli Aro <eemeli@gmail.com>" | ||
], | ||
"license": "MIT", | ||
"homepage": "https://github.com/messageformat/messageformat/tree/master/packages/date-skeleton#readme", | ||
"homepage": "http://messageformat.github.io/messageformat/api/date-skeleton/", | ||
"repository": { | ||
@@ -31,3 +33,3 @@ "type": "git", | ||
}, | ||
"gitHead": "af63ee0186c6f9ac2255da2ad476fd3d74cfa6ed" | ||
"gitHead": "33ca9027809512d85bd7d212957afb85e7dd39c4" | ||
} |
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
27796
0.46%0
-100%574
-0.52%