New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@formatjs/intl-durationformat

Package Overview
Dependencies
Maintainers
0
Versions
17
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@formatjs/intl-durationformat - npm Package Compare versions

Comparing version 0.3.0 to 0.4.0

8

package.json
{
"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;
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc