d3-time-format
Advanced tools
Comparing version 0.1.3 to 0.1.4
@@ -5,2 +5,3 @@ import isoFormat from "./src/isoFormat"; | ||
import caEs from "./src/locale/ca-ES.js"; | ||
import deCh from "./src/locale/de-CH.js"; | ||
import deDe from "./src/locale/de-DE.js"; | ||
@@ -15,4 +16,6 @@ import enCa from "./src/locale/en-CA.js"; | ||
import heIl from "./src/locale/he-IL.js"; | ||
import huHu from "./src/locale/hu-HU.js"; | ||
import itIt from "./src/locale/it-IT.js"; | ||
import jaJp from "./src/locale/ja-JP.js"; | ||
import koKr from "./src/locale/ko-KR.js"; | ||
import mkMk from "./src/locale/mk-MK.js"; | ||
@@ -23,2 +26,3 @@ import nlNl from "./src/locale/nl-NL.js"; | ||
import ruRu from "./src/locale/ru-RU.js"; | ||
import svSe from "./src/locale/sv-SE.js"; | ||
import zhCn from "./src/locale/zh-CN.js"; | ||
@@ -28,2 +32,3 @@ | ||
"ca-ES": caEs, | ||
"de-CH": deCh, | ||
"de-DE": deDe, | ||
@@ -38,4 +43,6 @@ "en-CA": enCa, | ||
"he-IL": heIl, | ||
"hu-HU": huHu, | ||
"it-IT": itIt, | ||
"ja-JP": jaJp, | ||
"ko-KR": koKr, | ||
"mk-MK": mkMk, | ||
@@ -46,2 +53,3 @@ "nl-NL": nlNl, | ||
"ru-RU": ruRu, | ||
"sv-SE": svSe, | ||
"zh-CN": zhCn | ||
@@ -48,0 +56,0 @@ }; |
{ | ||
"name": "d3-time-format", | ||
"version": "0.1.3", | ||
"version": "0.1.4", | ||
"description": "A JavaScript time formatter and parser inspired by strftime and strptime.", | ||
@@ -18,3 +18,3 @@ "keywords": [ | ||
}, | ||
"main": "build/timeFormat", | ||
"main": "build/time-format.cjs", | ||
"jsnext:main": "index", | ||
@@ -26,9 +26,11 @@ "repository": { | ||
"scripts": { | ||
"pretest": "mkdir -p build && d3-bundler --format=umd --name=timeFormat -- index.js > build/timeFormat.js", | ||
"pretest": "mkdir -p build && d3-bundler -x -f cjs -o build/time-format.cjs.js", | ||
"test": "TZ=America/Los_Angeles faucet `find test -name '*-test.js'`", | ||
"prepublish": "npm run test && uglifyjs build/timeFormat.js -c -m -o build/timeFormat.min.js && rm -f build/timeFormat.zip && zip -j build/timeFormat.zip -- LICENSE README.md build/timeFormat.js build/timeFormat.min.js" | ||
"prepublish": "npm run test && d3-bundler -n timeFormat -o build/time-format.js && uglifyjs build/time-format.js -c -m -o build/time-format.min.js && rm -f build/time-format.zip && zip -j build/time-format.zip -- LICENSE README.md build/time-format.js build/time-format.min.js" | ||
}, | ||
"dependencies": { | ||
"d3-time": "~0.0.6" | ||
}, | ||
"devDependencies": { | ||
"d3-bundler": "~0.2.5", | ||
"d3-time": "~0.0.2", | ||
"d3-bundler": "~0.4.0", | ||
"faucet": "0.0", | ||
@@ -35,0 +37,0 @@ "tape": "4", |
@@ -137,2 +137,3 @@ # d3-time-format | ||
* `"ca-ES"` - [Catalan (Spain)](https://github.com/d3/d3-time-format/tree/master/src/locale/ca-ES.js) | ||
* `"de-CH"` - [German (Switzerland)](https://github.com/d3/d3-time-format/tree/master/src/locale/de-CH.js) | ||
* `"de-DE"` - [German (Germany)](https://github.com/d3/d3-time-format/tree/master/src/locale/de-DE.js) | ||
@@ -147,4 +148,6 @@ * `"en-CA"` - [English (Canada)](https://github.com/d3/d3-time-format/tree/master/src/locale/en-CA.js) | ||
* `"he-IL"` - [Hebrew (Israel)](https://github.com/d3/d3-time-format/tree/master/src/locale/he-IL.js) | ||
* `"hu-HU"` - [Hungarian (Hungary)](https://github.com/d3/d3-time-format/tree/master/src/locale/hu-HU.js) | ||
* `"it-IT"` - [Italian (Italy)](https://github.com/d3/d3-time-format/tree/master/src/locale/it-IT.js) | ||
* `"ja-JP"` - [Japanese (Japan)](https://github.com/d3/d3-time-format/tree/master/src/locale/ja-JP.js) | ||
* `"ko-KR"` - [Korean (South Korea)](https://github.com/d3/d3-time-format/tree/master/src/locale/ko-KR.js) | ||
* `"mk-MK"` - [Macedonian (Macedonia)](https://github.com/d3/d3-time-format/tree/master/src/locale/mk-MK.js) | ||
@@ -155,2 +158,3 @@ * `"nl-NL"` - [Dutch (Netherlands)](https://github.com/d3/d3-time-format/tree/master/src/locale/nl-NL.js) | ||
* `"ru-RU"` - [Russian (Russia)](https://github.com/d3/d3-time-format/tree/master/src/locale/ru-RU.js) | ||
* `"sv-SE"` - [Swedish (Sweden)](https://github.com/d3/d3-time-format/tree/master/src/locale/sv-SE.js) | ||
* `"zh-CN"` - [Chinese (China)](https://github.com/d3/d3-time-format/tree/master/src/locale/zh-CN.js) | ||
@@ -157,0 +161,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
123259
4
32
2341
177
1
1
+ Addedd3-time@~0.0.6
+ Addedd3-time@0.0.7(transitive)