From 6a69346fd5d3338607d31d402ecde7db339b4f10 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=B6rje=20Karlsson?= Date: Wed, 19 Sep 2018 20:15:57 -0700 Subject: [PATCH] Preparing for release 1.1.2 after rolling back tooling versions in publish pipeline. (#874) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Preparing for release 1.1.2 after rolling back tooling versions in publish pipeline Co-authored-by: Sanxing Chen Co-authored-by: Juan Arguello Co-authored-by: Börje Karlsson --- JavaScript/lerna.json | 2 +- JavaScript/package-lock.json | 80 +++--- JavaScript/package.json | 2 +- .../datatypes-date-time/package-lock.json | 2 +- .../packages/datatypes-date-time/package.json | 2 +- .../recognizers-choice/package-lock.json | 2 +- .../packages/recognizers-choice/package.json | 4 +- .../recognizers-date-time/package-lock.json | 2 +- .../recognizers-date-time/package.json | 8 +- .../package-lock.json | 2 +- .../recognizers-number-with-unit/package.json | 6 +- .../recognizers-number/package-lock.json | 5 +- .../packages/recognizers-number/package.json | 4 +- .../src/resources/frenchNumeric.ts | 4 +- .../recognizers-sequence/package-lock.json | 2 +- .../recognizers-sequence/package.json | 4 +- .../recognizers-text-suite/package.json | 14 +- .../packages/recognizers-text/package.json | 2 +- .../samples/simple-console/package-lock.json | 255 ++++++++++++++++++ appveyor.yml | 10 - 20 files changed, 328 insertions(+), 84 deletions(-) create mode 100644 JavaScript/samples/simple-console/package-lock.json diff --git a/JavaScript/lerna.json b/JavaScript/lerna.json index 0212a555e6..dbe0a6ea20 100644 --- a/JavaScript/lerna.json +++ b/JavaScript/lerna.json @@ -4,5 +4,5 @@ "packages/recognizers-*", "packages/datatypes-date-time" ], - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/package-lock.json b/JavaScript/package-lock.json index 32a23201ac..d8e4c7824f 100644 --- a/JavaScript/package-lock.json +++ b/JavaScript/package-lock.json @@ -77,12 +77,12 @@ "@microsoft/recognizers-text-choice": { "version": "file:packages/recognizers-choice", "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true } } @@ -93,22 +93,22 @@ "@microsoft/recognizers-text-date-time": { "version": "file:packages/recognizers-date-time", "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", - "@microsoft/recognizers-text-number-with-unit": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", + "@microsoft/recognizers-text-number-with-unit": "~1.1.2", "lodash.isequal": "^4.5.0", "lodash.tonumber": "^4.0.3" }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true }, "@microsoft/recognizers-text-number": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "bignumber.js": "^4.1.0", "lodash.escaperegexp": "^4.1.2", "lodash.sortby": "^4.7.0", @@ -117,11 +117,11 @@ } }, "@microsoft/recognizers-text-number-with-unit": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", "lodash.escaperegexp": "^4.1.2", "lodash.last": "^3.0.0", "lodash.max": "^4.0.1" @@ -140,7 +140,7 @@ "@microsoft/recognizers-text-number": { "version": "file:packages/recognizers-number", "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "bignumber.js": "^7.2.1", "lodash.escaperegexp": "^4.1.2", "lodash.sortby": "^4.7.0", @@ -148,7 +148,7 @@ }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true }, "bignumber.js": { @@ -164,22 +164,22 @@ "@microsoft/recognizers-text-number-with-unit": { "version": "file:packages/recognizers-number-with-unit", "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", "lodash.escaperegexp": "^4.1.2", "lodash.last": "^3.0.0", "lodash.max": "^4.0.1" }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true }, "@microsoft/recognizers-text-number": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "bignumber.js": "^4.1.0", "lodash.escaperegexp": "^4.1.2", "lodash.sortby": "^4.7.0", @@ -200,12 +200,12 @@ "@microsoft/recognizers-text-sequence": { "version": "file:packages/recognizers-sequence", "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true } } @@ -213,42 +213,42 @@ "@microsoft/recognizers-text-suite": { "version": "file:packages/recognizers-text-suite", "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-choice": "~1.1.1", - "@microsoft/recognizers-text-date-time": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", - "@microsoft/recognizers-text-number-with-unit": "~1.1.1", - "@microsoft/recognizers-text-sequence": "~1.1.1" + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-choice": "~1.1.2", + "@microsoft/recognizers-text-date-time": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", + "@microsoft/recognizers-text-number-with-unit": "~1.1.2", + "@microsoft/recognizers-text-sequence": "~1.1.2" }, "dependencies": { "@microsoft/recognizers-text": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true }, "@microsoft/recognizers-text-choice": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" } }, "@microsoft/recognizers-text-date-time": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", - "@microsoft/recognizers-text-number-with-unit": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", + "@microsoft/recognizers-text-number-with-unit": "~1.1.2", "lodash.isequal": "^4.5.0", "lodash.tonumber": "^4.0.3" } }, "@microsoft/recognizers-text-number": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "bignumber.js": "^4.1.0", "lodash.escaperegexp": "^4.1.2", "lodash.sortby": "^4.7.0", @@ -257,11 +257,11 @@ } }, "@microsoft/recognizers-text-number-with-unit": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", "lodash.escaperegexp": "^4.1.2", "lodash.last": "^3.0.0", "lodash.max": "^4.0.1" @@ -272,10 +272,10 @@ "bundled": true }, "@microsoft/recognizers-text-sequence": { - "version": "1.1.1", + "version": "1.1.2", "bundled": true, "requires": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" } }, diff --git a/JavaScript/package.json b/JavaScript/package.json index cad223e906..6f12587645 100644 --- a/JavaScript/package.json +++ b/JavaScript/package.json @@ -1,6 +1,6 @@ { "name": "recognizers", - "version": "1.1.1", + "version": "1.1.2", "license": "MIT", "repository": { "type": "git", diff --git a/JavaScript/packages/datatypes-date-time/package-lock.json b/JavaScript/packages/datatypes-date-time/package-lock.json index 42bd45588f..18797f7d92 100644 --- a/JavaScript/packages/datatypes-date-time/package-lock.json +++ b/JavaScript/packages/datatypes-date-time/package-lock.json @@ -57,5 +57,5 @@ "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==" } }, - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/packages/datatypes-date-time/package.json b/JavaScript/packages/datatypes-date-time/package.json index a34c427fba..d852f51110 100644 --- a/JavaScript/packages/datatypes-date-time/package.json +++ b/JavaScript/packages/datatypes-date-time/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-data-types-timex-expression", - "version": "1.1.1", + "version": "1.1.2", "description": "Support for TIMEX representation of data time", "author": "Microsoft", "license": "MIT", diff --git a/JavaScript/packages/recognizers-choice/package-lock.json b/JavaScript/packages/recognizers-choice/package-lock.json index df2c99c401..9a7b5c1c13 100644 --- a/JavaScript/packages/recognizers-choice/package-lock.json +++ b/JavaScript/packages/recognizers-choice/package-lock.json @@ -8,5 +8,5 @@ "integrity": "sha1-Y56dwb8GWJLGQ94x2qJ89YsQaOI=" } }, - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/packages/recognizers-choice/package.json b/JavaScript/packages/recognizers-choice/package.json index 87feeea293..33ab384793 100644 --- a/JavaScript/packages/recognizers-choice/package.json +++ b/JavaScript/packages/recognizers-choice/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-choice", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text-choice provides recognition of Boolean (yes/no) answers expressed in multiple languages, as well as base classes to support lists of alternative choices.", "author": "Microsoft Corp.", "license": "MIT", @@ -33,7 +33,7 @@ "prepare": "npm run build-resources && npm run clean-build && tsc && rollup -c" }, "dependencies": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" } } diff --git a/JavaScript/packages/recognizers-date-time/package-lock.json b/JavaScript/packages/recognizers-date-time/package-lock.json index 2f5407496b..414f758719 100644 --- a/JavaScript/packages/recognizers-date-time/package-lock.json +++ b/JavaScript/packages/recognizers-date-time/package-lock.json @@ -13,5 +13,5 @@ "integrity": "sha1-C5azGzVnJ5Prf1pj7nkfG56QJdk=" } }, - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/packages/recognizers-date-time/package.json b/JavaScript/packages/recognizers-date-time/package.json index 5a4de9f9d9..740c581321 100644 --- a/JavaScript/packages/recognizers-date-time/package.json +++ b/JavaScript/packages/recognizers-date-time/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-date-time", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text provides robust recognition and resolution of date/time expressed in multiple languages.", "author": "Microsoft Corp.", "license": "MIT", @@ -35,8 +35,8 @@ "dependencies": { "lodash.isequal": "^4.5.0", "lodash.tonumber": "^4.0.3", - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", - "@microsoft/recognizers-text-number-with-unit": "~1.1.1" + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", + "@microsoft/recognizers-text-number-with-unit": "~1.1.2" } } diff --git a/JavaScript/packages/recognizers-number-with-unit/package-lock.json b/JavaScript/packages/recognizers-number-with-unit/package-lock.json index b8de3b5e9c..0e758e66bb 100644 --- a/JavaScript/packages/recognizers-number-with-unit/package-lock.json +++ b/JavaScript/packages/recognizers-number-with-unit/package-lock.json @@ -18,5 +18,5 @@ "integrity": "sha1-hzVWbGGLNan3YFILSHrnllivE2o=" } }, - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/packages/recognizers-number-with-unit/package.json b/JavaScript/packages/recognizers-number-with-unit/package.json index 79d4849da5..7a01220cd4 100644 --- a/JavaScript/packages/recognizers-number-with-unit/package.json +++ b/JavaScript/packages/recognizers-number-with-unit/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-number-with-unit", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text-number-with-unit provides robust recognition and resolution of numbers with units expressed in multiple languages.", "author": "Microsoft Corp.", "license": "MIT", @@ -34,7 +34,7 @@ "lodash.escaperegexp": "^4.1.2", "lodash.last": "^3.0.0", "lodash.max": "^4.0.1", - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1" + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2" } } diff --git a/JavaScript/packages/recognizers-number/package-lock.json b/JavaScript/packages/recognizers-number/package-lock.json index e6a089c3a8..347fbe7375 100644 --- a/JavaScript/packages/recognizers-number/package-lock.json +++ b/JavaScript/packages/recognizers-number/package-lock.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-number", - "version": "1.1.0", + "version": "1.1.2", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -24,6 +24,5 @@ "resolved": "https://registry.npmjs.org/lodash.trimend/-/lodash.trimend-4.5.1.tgz", "integrity": "sha1-EoBENyhrmMrYmWt5QU4RMAEUCC8=" } - }, - "version": "1.1.1" + } } diff --git a/JavaScript/packages/recognizers-number/package.json b/JavaScript/packages/recognizers-number/package.json index 0a43ad0ae1..b6b72d49df 100644 --- a/JavaScript/packages/recognizers-number/package.json +++ b/JavaScript/packages/recognizers-number/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-number", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text-number provides robust recognition and resolution of numbers expressed in multiple languages.", "author": "Microsoft Corp.", "license": "MIT", @@ -31,7 +31,7 @@ "prepare": "npm run build-resources && npm run clean-build && tsc && rollup -c" }, "dependencies": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "bignumber.js": "^7.2.1", "lodash.escaperegexp": "^4.1.2", "lodash.sortby": "^4.7.0", diff --git a/JavaScript/packages/recognizers-number/src/resources/frenchNumeric.ts b/JavaScript/packages/recognizers-number/src/resources/frenchNumeric.ts index fd9622e9ac..31f791dad8 100644 --- a/JavaScript/packages/recognizers-number/src/resources/frenchNumeric.ts +++ b/JavaScript/packages/recognizers-number/src/resources/frenchNumeric.ts @@ -75,7 +75,7 @@ export namespace FrenchNumeric { export const AmbiguousFractionConnectorsRegex = `^[.]`; export const CardinalNumberMap: ReadonlyMap = new Map([["zéro", 0],["zero", 0],["un", 1],["une", 1],["deux", 2],["trois", 3],["quatre", 4],["cinq", 5],["six", 6],["sept", 7],["huit", 8],["neuf", 9],["dix", 10],["onze", 11],["douze", 12],["treize", 13],["quatorze", 14],["quinze", 15],["seize", 16],["dix-sept", 17],["dix-huit", 18],["dix-neuf", 19],["vingt", 20],["trente", 30],["quarante", 40],["cinquante", 50],["soixante", 60],["soixante-dix", 70],["septante", 70],["quatre-vingts", 80],["quatre-vingt", 80],["quatre vingts", 80],["quatre vingt", 80],["quatre-vingt-dix", 90],["quatre-vingt dix", 90],["quatre vingt dix", 90],["quatre-vingts-dix", 90],["quatre-vingts-onze", 91],["quatre-vingt-onze", 91],["quatre-vingts-douze", 92],["quatre-vingt-douze", 92],["quatre-vingts-treize", 93],["quatre-vingt-treize", 93],["quatre-vingts-quatorze", 94],["quatre-vingt-quatorze", 94],["quatre-vingts-quinze", 95],["quatre-vingt-quinze", 95],["quatre-vingts-seize", 96],["quatre-vingt-seize", 96],["huitante", 80],["octante", 80],["nonante", 90],["cent", 100],["mille", 1000],["un million", 1000000],["million", 1000000],["millions", 1000000],["un milliard", 1000000000],["milliard", 1000000000],["milliards", 1000000000],["un mille milliards", 1000000000000],["un billion", 1000000000000]]); export const OrdinalNumberMap: ReadonlyMap = new Map([["premier", 1],["première", 1],["premiere", 1],["deuxième", 2],["deuxieme", 2],["second", 2],["seconde", 2],["troisième", 3],["demi", 2],["tiers", 3],["tierce", 3],["quart", 4],["quarts", 4],["troisieme", 3],["quatrième", 4],["quatrieme", 4],["cinquième", 5],["cinquieme", 5],["sixième", 6],["sixieme", 6],["septième", 7],["septieme", 7],["huitième", 8],["huitieme", 8],["neuvième", 9],["neuvieme", 9],["dixième", 10],["dixieme", 10],["onzième", 11],["onzieme", 11],["douzième", 12],["douzieme", 12],["treizième", 13],["treizieme", 13],["quatorzième", 14],["quatorizieme", 14],["quinzième", 15],["quinzieme", 15],["seizième", 16],["seizieme", 16],["dix-septième", 17],["dix-septieme", 17],["dix-huitième", 18],["dix-huitieme", 18],["dix-neuvième", 19],["dix-neuvieme", 19],["vingtième", 20],["vingtieme", 20],["trentième", 30],["trentieme", 30],["quarantième", 40],["quarantieme", 40],["cinquantième", 50],["cinquantieme", 50],["soixantième", 60],["soixantieme", 60],["soixante-dixième", 70],["soixante-dixieme", 70],["septantième", 70],["septantieme", 70],["quatre-vingtième", 80],["quatre-vingtieme", 80],["huitantième", 80],["huitantieme", 80],["octantième", 80],["octantieme", 80],["quatre-vingt-dixième", 90],["quatre-vingt-dixieme", 90],["nonantième", 90],["nonantieme", 90],["centième", 100],["centieme", 100],["millième", 1000],["millieme", 1000],["millionième", 1000000],["millionieme", 1000000],["milliardième", 1000000000],["milliardieme", 1000000000],["billionieme", 1000000000000],["billionième", 1000000000000],["trillionième", 1000000000000000000],["trillionieme", 1000000000000000000]]); - export const PrefixCardinalDictionary: ReadonlyMap = new Map([["deux", 2],["trois", 3],["quatre", 4],["cinq", 5],["six", 6],["sept", 7],["huit", 8],["neuf", 9],["dix", 10],["onze", 11],["douze", 12],["treize", 13],["quatorze", 14],["quinze", 15],["seize", 16],["dix sept", 17],["dix-sept", 17],["dix-huit", 18],["dix huit", 18],["dix-neuf", 19],["dix neuf", 19],["vingt", 20],["vingt-et-un", 21],["vingt et un", 21],["vingt-deux", 21],["vingt deux", 22],["vingt-trois", 23],["vingt trois", 23],["vingt-quatre", 24],["vingt quatre", 24],["vingt-cinq", 25],["vingt cinq", 25],["vingt-six", 26],["vingt six", 26],["vingt-sept", 27],["vingt sept", 27],["vingt-huit", 28],["vingt huit", 28],["vingt-neuf", 29],["vingt neuf", 29],["trente", 30],["quarante", 40],["cinquante", 50],["soixante", 60],["soixante-dix", 70],["soixante dix", 70],["septante", 70],["quatre-vingt", 80],["quatre vingt", 80],["huitante", 80],["octante", 80],["nonante", 90],["quatre vingt dix", 90],["quatre-vingt-dix", 90],["cent", 100],["deux cent", 200],["trois cents", 300],["quatre cents", 400],["cinq cent", 500],["six cent", 600],["sept cent", 700],["huit cent", 800],["neuf cent", 900]]); - export const SufixOrdinalDictionary: ReadonlyMap = new Map([["millième", 1000],["million", 1000000],["milliardième", 1000000000000]]); + export const PrefixCardinalMap: ReadonlyMap = new Map([["deux", 2],["trois", 3],["quatre", 4],["cinq", 5],["six", 6],["sept", 7],["huit", 8],["neuf", 9],["dix", 10],["onze", 11],["douze", 12],["treize", 13],["quatorze", 14],["quinze", 15],["seize", 16],["dix sept", 17],["dix-sept", 17],["dix-huit", 18],["dix huit", 18],["dix-neuf", 19],["dix neuf", 19],["vingt", 20],["vingt-et-un", 21],["vingt et un", 21],["vingt-deux", 21],["vingt deux", 22],["vingt-trois", 23],["vingt trois", 23],["vingt-quatre", 24],["vingt quatre", 24],["vingt-cinq", 25],["vingt cinq", 25],["vingt-six", 26],["vingt six", 26],["vingt-sept", 27],["vingt sept", 27],["vingt-huit", 28],["vingt huit", 28],["vingt-neuf", 29],["vingt neuf", 29],["trente", 30],["quarante", 40],["cinquante", 50],["soixante", 60],["soixante-dix", 70],["soixante dix", 70],["septante", 70],["quatre-vingt", 80],["quatre vingt", 80],["huitante", 80],["octante", 80],["nonante", 90],["quatre vingt dix", 90],["quatre-vingt-dix", 90],["cent", 100],["deux cent", 200],["trois cents", 300],["quatre cents", 400],["cinq cent", 500],["six cent", 600],["sept cent", 700],["huit cent", 800],["neuf cent", 900]]); + export const SuffixOrdinalMap: ReadonlyMap = new Map([["millième", 1000],["million", 1000000],["milliardième", 1000000000000]]); export const RoundNumberMap: ReadonlyMap = new Map([["cent", 100],["mille", 1000],["million", 1000000],["millions", 1000000],["milliard", 1000000000],["milliards", 1000000000],["billion", 1000000000000],["billions", 1000000000000],["centieme", 100],["centième", 100],["millieme", 1000],["millième", 1000],["millionième", 1000000],["millionieme", 1000000],["milliardième", 1000000000],["milliardieme", 1000000000],["billionième", 1000000000000],["billionieme", 1000000000000],["centiemes", 100],["centièmes", 100],["millièmes", 1000],["milliemes", 1000],["millionièmes", 1000000],["millioniemes", 1000000],["milliardièmes", 1000000000],["milliardiemes", 1000000000],["billionièmes", 1000000000000],["billioniemes", 1000000000000],["douzaine", 12],["douzaines", 12],["k", 1000],["m", 1000000],["g", 1000000000],["b", 1000000000],["t", 1000000000000]]); } diff --git a/JavaScript/packages/recognizers-sequence/package-lock.json b/JavaScript/packages/recognizers-sequence/package-lock.json index 30be6eb2c6..47a61f5935 100644 --- a/JavaScript/packages/recognizers-sequence/package-lock.json +++ b/JavaScript/packages/recognizers-sequence/package-lock.json @@ -8,5 +8,5 @@ "integrity": "sha1-Y56dwb8GWJLGQ94x2qJ89YsQaOI=" } }, - "version": "1.1.1" + "version": "1.1.2" } diff --git a/JavaScript/packages/recognizers-sequence/package.json b/JavaScript/packages/recognizers-sequence/package.json index d800293938..58dca53e31 100644 --- a/JavaScript/packages/recognizers-sequence/package.json +++ b/JavaScript/packages/recognizers-sequence/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-sequence", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text-sequence provides robust recognition and resolution of series entities like phone numbers and IP addresses.", "author": "Microsoft Corp.", "license": "MIT", @@ -32,7 +32,7 @@ "prepare": "npm run build-resources && npm run clean-build && tsc && rollup -c" }, "dependencies": { - "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text": "~1.1.2", "grapheme-splitter": "^1.0.2" } } diff --git a/JavaScript/packages/recognizers-text-suite/package.json b/JavaScript/packages/recognizers-text-suite/package.json index 0f3a280268..af0338d39b 100644 --- a/JavaScript/packages/recognizers-text-suite/package.json +++ b/JavaScript/packages/recognizers-text-suite/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text-suite", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text-suite provides robust recognition and resolution of numbers, units, date/time, and more; expressed in multiple languages.", "author": "Microsoft Corp.", "license": "MIT", @@ -32,11 +32,11 @@ "prepare": "npm run clean-build && tsc && rollup -c" }, "dependencies": { - "@microsoft/recognizers-text": "~1.1.1", - "@microsoft/recognizers-text-number": "~1.1.1", - "@microsoft/recognizers-text-number-with-unit": "~1.1.1", - "@microsoft/recognizers-text-date-time": "~1.1.1", - "@microsoft/recognizers-text-sequence": "~1.1.1", - "@microsoft/recognizers-text-choice": "~1.1.1" + "@microsoft/recognizers-text": "~1.1.2", + "@microsoft/recognizers-text-number": "~1.1.2", + "@microsoft/recognizers-text-number-with-unit": "~1.1.2", + "@microsoft/recognizers-text-date-time": "~1.1.2", + "@microsoft/recognizers-text-sequence": "~1.1.2", + "@microsoft/recognizers-text-choice": "~1.1.2" } } diff --git a/JavaScript/packages/recognizers-text/package.json b/JavaScript/packages/recognizers-text/package.json index dd9975ee0d..92b6878d20 100644 --- a/JavaScript/packages/recognizers-text/package.json +++ b/JavaScript/packages/recognizers-text/package.json @@ -1,6 +1,6 @@ { "name": "@microsoft/recognizers-text", - "version": "1.1.1", + "version": "1.1.2", "description": "recognizers-text provides base classes for robust recognition and resolution of text entities.", "author": "Microsoft Corp.", "license": "MIT", diff --git a/JavaScript/samples/simple-console/package-lock.json b/JavaScript/samples/simple-console/package-lock.json new file mode 100644 index 0000000000..b05648fa96 --- /dev/null +++ b/JavaScript/samples/simple-console/package-lock.json @@ -0,0 +1,255 @@ +{ + "name": "recognizers-text-console-sample", + "version": "1.0.0", + "lockfileVersion": 1, + "requires": true, + "dependencies": { + "@microsoft/recognizers-text-suite": { + "version": "file:../../packages/recognizers-text-suite", + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text-choice": "~1.1.1", + "@microsoft/recognizers-text-date-time": "~1.1.1", + "@microsoft/recognizers-text-number": "~1.1.1", + "@microsoft/recognizers-text-number-with-unit": "~1.1.1", + "@microsoft/recognizers-text-sequence": "~1.1.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "@microsoft/recognizers-text-choice": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "grapheme-splitter": "^1.0.2" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "grapheme-splitter": { + "version": "1.0.4", + "bundled": true + } + } + }, + "@microsoft/recognizers-text-date-time": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text-number": "~1.1.1", + "@microsoft/recognizers-text-number-with-unit": "~1.1.1", + "lodash.isequal": "^4.5.0", + "lodash.tonumber": "^4.0.3" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "@microsoft/recognizers-text-number": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "bignumber.js": "^7.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.sortby": "^4.7.0", + "lodash.trimend": "^4.5.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "bignumber.js": { + "version": "7.2.1", + "bundled": true + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "bundled": true + }, + "lodash.sortby": { + "version": "4.7.0", + "bundled": true + }, + "lodash.trimend": { + "version": "4.5.1", + "bundled": true + } + } + }, + "@microsoft/recognizers-text-number-with-unit": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text-number": "~1.1.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.last": "^3.0.0", + "lodash.max": "^4.0.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "@microsoft/recognizers-text-number": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "bignumber.js": "^7.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.sortby": "^4.7.0", + "lodash.trimend": "^4.5.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "bignumber.js": { + "version": "7.2.1", + "bundled": true + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "bundled": true + }, + "lodash.sortby": { + "version": "4.7.0", + "bundled": true + }, + "lodash.trimend": { + "version": "4.5.1", + "bundled": true + } + } + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "bundled": true + }, + "lodash.last": { + "version": "3.0.0", + "bundled": true + }, + "lodash.max": { + "version": "4.0.1", + "bundled": true + } + } + }, + "lodash.isequal": { + "version": "4.5.0", + "bundled": true + }, + "lodash.tonumber": { + "version": "4.0.3", + "bundled": true + } + } + }, + "@microsoft/recognizers-text-number": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "bignumber.js": "^7.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.sortby": "^4.7.0", + "lodash.trimend": "^4.5.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "bignumber.js": { + "version": "7.2.1", + "bundled": true + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "bundled": true + }, + "lodash.sortby": { + "version": "4.7.0", + "bundled": true + }, + "lodash.trimend": { + "version": "4.5.1", + "bundled": true + } + } + }, + "@microsoft/recognizers-text-number-with-unit": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "@microsoft/recognizers-text-number": "~1.1.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.last": "^3.0.0", + "lodash.max": "^4.0.1" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "@microsoft/recognizers-text-number": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "bignumber.js": "^7.2.1", + "lodash.escaperegexp": "^4.1.2", + "lodash.sortby": "^4.7.0", + "lodash.trimend": "^4.5.1" + }, + "dependencies": {} + }, + "lodash.escaperegexp": { + "version": "4.1.2", + "bundled": true + }, + "lodash.last": { + "version": "3.0.0", + "bundled": true + }, + "lodash.max": { + "version": "4.0.1", + "bundled": true + } + } + }, + "@microsoft/recognizers-text-sequence": { + "version": "1.1.1", + "bundled": true, + "requires": { + "@microsoft/recognizers-text": "~1.1.1", + "grapheme-splitter": "^1.0.2" + }, + "dependencies": { + "@microsoft/recognizers-text": { + "version": "1.1.1", + "bundled": true + }, + "grapheme-splitter": { + "version": "1.0.4", + "bundled": true + } + } + } + } + } + } +} diff --git a/appveyor.yml b/appveyor.yml index e7b5b0b6d8..cd052c0412 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -29,22 +29,12 @@ build: build_script: - cmd: >- - @ECHO # Build env info - - @ECHO OS info - CALL wmic os get caption, version, osarchitecture - @ECHO Node version - CALL node -v - @ECHO NPM version - CALL npm -v - @ECHO V8 version - CALL node -e "console.log(process.versions.v8);" cd .NET\