french-contractions
Advanced tools
Comparing version 5.1.0 to 5.2.0
@@ -14,2 +14,2 @@ /** | ||
} | ||
export declare function contracts(word: string, contractsData: ContractsData): boolean; | ||
export declare function contracts(word: string, contractsData: ContractsData | undefined): boolean; |
@@ -9,3 +9,7 @@ "use strict"; | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -28,6 +32,6 @@ if (k2 === undefined) k2 = k; | ||
} | ||
else if (vowel_1.beginsWithVowel(word) && vowel_1.isContractedVowelWord(word)) { | ||
else if ((0, vowel_1.beginsWithVowel)(word) && (0, vowel_1.isContractedVowelWord)(word)) { | ||
return true; | ||
} | ||
else if (hmuet_1.isH(word) && !hmuet_1.isHAspire(word)) { | ||
else if ((0, hmuet_1.isH)(word) && !(0, hmuet_1.isHAspire)(word)) { | ||
return true; | ||
@@ -34,0 +38,0 @@ } |
{ | ||
"name": "french-contractions", | ||
"version": "5.1.0", | ||
"version": "5.2.0", | ||
"description": "French contractions: le hérisson, l'homme, ce yaourt, cet arbre", | ||
@@ -60,3 +60,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "11645a24749c02832b29d6ef71cdf943f89ea81a" | ||
"gitHead": "e4e8082280b13351e9b82b8ff49beebf56103ea9" | ||
} |
Sorry, the diff of this file is not supported yet
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
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
123576
1093