[Pkg-javascript-commits] [node-moment] 01/03: New upstream version 2.15.2+ds

Julien Puydt julien.puydt at laposte.net
Thu Oct 27 19:12:03 UTC 2016


This is an automated email from the git hooks/post-receive script.

jpuydt-guest pushed a commit to branch master
in repository node-moment.

commit 6427e6811cafb7534026ce4b524dff226ff95985
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Thu Oct 27 21:01:31 2016 +0200

    New upstream version 2.15.2+ds
---
 CHANGELOG.md               | 5 +++++
 Moment.js.nuspec           | 7 ++++---
 component.json             | 2 +-
 locale/jv.js               | 2 +-
 locale/lt.js               | 2 +-
 meteor/package.js          | 2 +-
 min/locales.js             | 4 ++--
 min/moment-with-locales.js | 8 ++++----
 moment.js                  | 6 +++---
 package.json               | 2 +-
 src/lib/units/month.js     | 2 +-
 src/locale/jv.js           | 2 +-
 src/locale/lt.js           | 2 +-
 src/moment.js              | 4 ++--
 14 files changed, 28 insertions(+), 22 deletions(-)

diff --git a/CHANGELOG.md b/CHANGELOG.md
index d53a561..db3e6d4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,11 @@
 Changelog
 =========
 
+### 2.15.2
+* Release Oct 23, 2016
+* [3525] [misc] Speedup month standalone/format regexes IMPORTANT
+* [3466] [misc] Fix typo of Javanese
+
 ### 2.15.1
 * Release Sept 20, 2016
 * [3438] [bugfix] Fix locale autoload, revert #3344
diff --git a/Moment.js.nuspec b/Moment.js.nuspec
index d6382a8..c7139ea 100644
--- a/Moment.js.nuspec
+++ b/Moment.js.nuspec
@@ -2,13 +2,14 @@
 <package xmlns="http://schemas.microsoft.com/packaging/2010/07/nuspec.xsd">
     <metadata>
         <id>Moment.js</id>
-        <version>2.15.1</version>
+        <version>2.15.2</version>
         <authors>Tim Wood, Iskren Chernev, Moment.js contributors</authors>
         <owners>Cory Deppen, Iskren Chernev</owners>
         <description>A lightweight javascript date library for parsing, manipulating, and formatting dates.</description>
         <releaseNotes>
-            * Release Sept 20, 2016
-            * [3438] [bugfix] Fix locale autoload, revert #3344
+            * Release Oct 23, 2016
+            * [3525] [misc] Speedup month standalone/format regexes IMPORTANT
+            * [3466] [misc] Fix typo of Javanese
         </releaseNotes>
         <projectUrl>http://momentjs.com/</projectUrl>
         <iconUrl>http://pbs.twimg.com/profile_images/482670411402858496/Xrtdc94q_normal.png</iconUrl>
diff --git a/component.json b/component.json
index 3c4a67f..4d1e37f 100644
--- a/component.json
+++ b/component.json
@@ -1,6 +1,6 @@
 {
   "name": "moment",
-  "version": "2.15.1",
+  "version": "2.15.2",
   "main": "moment.js",
   "description": "Parse, validate, manipulate, and display dates in JavaScript.",
   "files": [
diff --git a/locale/jv.js b/locale/jv.js
index c58e076..cf067be 100644
--- a/locale/jv.js
+++ b/locale/jv.js
@@ -1,5 +1,5 @@
 //! moment.js locale configuration
-//! locale : Japanese [jv]
+//! locale : Javanese [jv]
 //! author : Rony Lantip : https://github.com/lantip
 //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
 
diff --git a/locale/lt.js b/locale/lt.js
index 2bb9a36..8b1c04f 100644
--- a/locale/lt.js
+++ b/locale/lt.js
@@ -56,7 +56,7 @@
         months : {
             format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
             standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
-            isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/
+            isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
         },
         monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
         weekdays : {
diff --git a/meteor/package.js b/meteor/package.js
index 75b98fb..3b8af06 100644
--- a/meteor/package.js
+++ b/meteor/package.js
@@ -6,7 +6,7 @@ var packageName = 'momentjs:moment';  // https://atmospherejs.com/momentjs/momen
 Package.describe({
   name: packageName,
   summary: 'Moment.js (official): parse, validate, manipulate, and display dates - official Meteor packaging',
-  version: '2.15.1',
+  version: '2.15.2',
   git: 'https://github.com/moment/moment.git'
 });
 
diff --git a/min/locales.js b/min/locales.js
index fc79c6f..ff9a66a 100644
--- a/min/locales.js
+++ b/min/locales.js
@@ -3966,7 +3966,7 @@
     });
 
     //! moment.js locale configuration
-    //! locale : Japanese [jv]
+    //! locale : Javanese [jv]
     //! author : Rony Lantip : https://github.com/lantip
     //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
 
@@ -4604,7 +4604,7 @@
         months : {
             format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
             standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
-            isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/
+            isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
         },
         monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
         weekdays : {
diff --git a/min/moment-with-locales.js b/min/moment-with-locales.js
index 1388ae6..8e21c95 100644
--- a/min/moment-with-locales.js
+++ b/min/moment-with-locales.js
@@ -1,5 +1,5 @@
 //! moment.js
-//! version : 2.15.1
+//! version : 2.15.2
 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
 //! license : MIT
 //! momentjs.com
@@ -830,7 +830,7 @@
 
     // LOCALES
 
-    var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;
+    var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
     var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
     function localeMonths (m, format) {
         if (!m) {
@@ -4197,7 +4197,7 @@
     ;
 
 
-    utils_hooks__hooks.version = '2.15.1';
+    utils_hooks__hooks.version = '2.15.2';
 
     setHookCallback(local__createLocal);
 
@@ -8628,7 +8628,7 @@
         months : {
             format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
             standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
-            isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/
+            isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
         },
         monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
         weekdays : {
diff --git a/moment.js b/moment.js
index b78115b..3fdaacb 100644
--- a/moment.js
+++ b/moment.js
@@ -1,5 +1,5 @@
 //! moment.js
-//! version : 2.15.1
+//! version : 2.15.2
 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
 //! license : MIT
 //! momentjs.com
@@ -830,7 +830,7 @@
 
     // LOCALES
 
-    var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;
+    var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
     var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
     function localeMonths (m, format) {
         if (!m) {
@@ -4195,7 +4195,7 @@
     // Side effect imports
 
 
-    utils_hooks__hooks.version = '2.15.1';
+    utils_hooks__hooks.version = '2.15.2';
 
     setHookCallback(local__createLocal);
 
diff --git a/package.json b/package.json
index cc66d64..0c36036 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
 {
     "name": "moment",
-    "version": "2.15.1",
+    "version": "2.15.2",
     "description": "Parse, validate, manipulate, and display dates",
     "homepage": "http://momentjs.com",
     "author": "Iskren Ivov Chernev <iskren.chernev at gmail.com> (https://github.com/ichernev)",
diff --git a/src/lib/units/month.js b/src/lib/units/month.js
index 5f590b0..5d5ec57 100644
--- a/src/lib/units/month.js
+++ b/src/lib/units/month.js
@@ -66,7 +66,7 @@ addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {
 
 // LOCALES
 
-var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?/;
+var MONTHS_IN_FORMAT = /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/;
 export var defaultLocaleMonths = 'January_February_March_April_May_June_July_August_September_October_November_December'.split('_');
 export function localeMonths (m, format) {
     if (!m) {
diff --git a/src/locale/jv.js b/src/locale/jv.js
index c4b77d7..e5e25f9 100644
--- a/src/locale/jv.js
+++ b/src/locale/jv.js
@@ -1,5 +1,5 @@
 //! moment.js locale configuration
-//! locale : Japanese [jv]
+//! locale : Javanese [jv]
 //! author : Rony Lantip : https://github.com/lantip
 //! reference: http://jv.wikipedia.org/wiki/Basa_Jawa
 
diff --git a/src/locale/lt.js b/src/locale/lt.js
index d937113..363f193 100644
--- a/src/locale/lt.js
+++ b/src/locale/lt.js
@@ -50,7 +50,7 @@ export default moment.defineLocale('lt', {
     months : {
         format: 'sausio_vasario_kovo_balandžio_gegužės_birželio_liepos_rugpjūčio_rugsėjo_spalio_lapkričio_gruodžio'.split('_'),
         standalone: 'sausis_vasaris_kovas_balandis_gegužė_birželis_liepa_rugpjūtis_rugsėjis_spalis_lapkritis_gruodis'.split('_'),
-        isFormat: /D[oD]?(\[[^\[\]]*\]|\s+)+MMMM?|MMMM?(\[[^\[\]]*\]|\s+)+D[oD]?/
+        isFormat: /D[oD]?(\[[^\[\]]*\]|\s)+MMMM?|MMMM?(\[[^\[\]]*\]|\s)+D[oD]?/
     },
     monthsShort : 'sau_vas_kov_bal_geg_bir_lie_rgp_rgs_spa_lap_grd'.split('_'),
     weekdays : {
diff --git a/src/moment.js b/src/moment.js
index 4151e33..c1766be 100644
--- a/src/moment.js
+++ b/src/moment.js
@@ -1,12 +1,12 @@
 //! moment.js
-//! version : 2.15.1
+//! version : 2.15.2
 //! authors : Tim Wood, Iskren Chernev, Moment.js contributors
 //! license : MIT
 //! momentjs.com
 
 import { hooks as moment, setHookCallback } from './lib/utils/hooks';
 
-moment.version = '2.15.1';
+moment.version = '2.15.2';
 
 import {
     min,

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-moment.git



More information about the Pkg-javascript-commits mailing list