@formatjs/intl-durationformat
Advanced tools
Comparing version 0.3.0 to 0.4.0
{ | ||
"name": "@formatjs/intl-durationformat", | ||
"version": "0.3.0", | ||
"version": "0.4.0", | ||
"description": "Intl.DurationFormat polyfill", | ||
@@ -28,6 +28,6 @@ "keywords": [ | ||
"dependencies": { | ||
"tslib": "^2.4.0", | ||
"@formatjs/ecma402-abstract": "2.1.0", | ||
"@formatjs/intl-localematcher": "0.5.4" | ||
"tslib": "^2.7.0", | ||
"@formatjs/intl-localematcher": "0.5.5", | ||
"@formatjs/ecma402-abstract": "2.2.0" | ||
} | ||
} |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.shouldPolyfill = void 0; | ||
exports.shouldPolyfill = shouldPolyfill; | ||
function shouldPolyfill() { | ||
return typeof Intl === 'undefined' || !('DurationFormat' in Intl); | ||
} | ||
exports.shouldPolyfill = shouldPolyfill; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.DurationRecordSign = void 0; | ||
exports.DurationRecordSign = DurationRecordSign; | ||
var constants_1 = require("../constants"); | ||
@@ -17,2 +17,1 @@ function DurationRecordSign(record) { | ||
} | ||
exports.DurationRecordSign = DurationRecordSign; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.GetDurationUnitOptions = void 0; | ||
exports.GetDurationUnitOptions = GetDurationUnitOptions; | ||
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); | ||
@@ -47,2 +47,1 @@ function GetDurationUnitOptions(unit, options, baseStyle, stylesList, digitalBase, prevStyle) { | ||
} | ||
exports.GetDurationUnitOptions = GetDurationUnitOptions; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.IsValidDurationRecord = void 0; | ||
exports.IsValidDurationRecord = IsValidDurationRecord; | ||
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); | ||
@@ -22,2 +22,1 @@ var constants_1 = require("../constants"); | ||
} | ||
exports.IsValidDurationRecord = IsValidDurationRecord; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.PartitionDurationFormatPattern = void 0; | ||
exports.PartitionDurationFormatPattern = PartitionDurationFormatPattern; | ||
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); | ||
@@ -153,2 +153,1 @@ var constants_1 = require("../constants"); | ||
} | ||
exports.PartitionDurationFormatPattern = PartitionDurationFormatPattern; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ToDurationRecord = void 0; | ||
exports.ToDurationRecord = ToDurationRecord; | ||
var IsValidDurationRecord_1 = require("./IsValidDurationRecord"); | ||
@@ -72,2 +72,1 @@ var ToIntegerIfIntegral_1 = require("./ToIntegerIfIntegral"); | ||
} | ||
exports.ToDurationRecord = ToDurationRecord; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.ToIntegerIfIntegral = void 0; | ||
exports.ToIntegerIfIntegral = ToIntegerIfIntegral; | ||
var ecma402_abstract_1 = require("@formatjs/ecma402-abstract"); | ||
@@ -12,2 +12,1 @@ function ToIntegerIfIntegral(arg) { | ||
} | ||
exports.ToIntegerIfIntegral = ToIntegerIfIntegral; |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.getInternalSlots = void 0; | ||
exports.getInternalSlots = getInternalSlots; | ||
var internalSlotMap = new WeakMap(); | ||
@@ -13,2 +13,1 @@ function getInternalSlots(x) { | ||
} | ||
exports.getInternalSlots = getInternalSlots; |
309866
13136
+ Added@formatjs/ecma402-abstract@2.2.0(transitive)
+ Added@formatjs/fast-memoize@2.2.1(transitive)
+ Added@formatjs/intl-localematcher@0.5.5(transitive)
- Removed@formatjs/ecma402-abstract@2.1.0(transitive)
- Removed@formatjs/fast-memoize@2.2.0(transitive)
- Removed@formatjs/intl-localematcher@0.5.4(transitive)
Updatedtslib@^2.7.0