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

@brightspace-ui/intl

Package Overview
Dependencies
Maintainers
3
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@brightspace-ui/intl - npm Package Compare versions

Comparing version 3.0.6 to 3.0.7

4

lib/common.js

@@ -139,2 +139,3 @@ export const defaultLocale = 'en';

this._listeners = [];
this.oslo = {batch: null, collection: null};
}

@@ -147,2 +148,3 @@

this.timezone = this._tryParseHtmlElemAttr('data-timezone', {name: '', identifier: ''});
this.oslo = this._tryParseHtmlElemAttr('data-oslo', {batch: null, collection: null});
}

@@ -161,2 +163,4 @@

this.timezone = this._tryParseHtmlElemAttr('data-timezone', {name: '', identifier: ''});
} else if (mutation.attributeName === 'data-oslo') {
this.oslo = this._tryParseHtmlElemAttr('data-oslo', {batch: null, collection: null});
}

@@ -163,0 +167,0 @@ }

3

lib/number.js

@@ -14,3 +14,3 @@ import {

const groupSizes = [3];
const groupSizes = Array.isArray(descriptor.groupSize) ? descriptor.groupSize : [descriptor.groupSize];
let currentGroupSizeIndex = -1;

@@ -161,2 +161,3 @@ const maxGroupSizeIndex = groupSizes.length - 1;

const descriptor = {
groupSize: 3,
patterns: {

@@ -163,0 +164,0 @@ decimal: {

{
"name": "@brightspace-ui/intl",
"version": "3.0.6",
"version": "3.0.7",
"description": "Internationalization APIs for number, date, time and file size formatting and parsing in D2L Brightspace.",

@@ -5,0 +5,0 @@ "main": "lib/number.js",

@@ -5,3 +5,3 @@ # intl

[![NPM downloads](https://img.shields.io/npm/dt/@brightspace-ui/intl.svg)](https://www.npmjs.com/package/@brightspace-ui/intl)
[![Greenkeeper badge](https://badges.greenkeeper.io/BrightspaceUI/intl.svg)](https://greenkeeper.io/)
[![Dependabot badge](https://flat.badgen.net/dependabot/BrightspaceUI/intl?icon=dependabot)](https://app.dependabot.com/)
[![Build status](https://travis-ci.com/BrightspaceUI/intl.svg?branch=master)](https://travis-ci.com/BrightspaceUI/intl)

@@ -8,0 +8,0 @@

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