Socket
Socket
Sign inDemoInstall

@box/cldr-data

Package Overview
Dependencies
0
Maintainers
5
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 34.7.1 to 34.8.0

index.js

65

package.json
{
"name": "@box/cldr-data",
"version": "34.7.1",
"version": "34.8.0",
"description": "CLDR Data that box-ui-elements and other Box code needs",

@@ -8,3 +8,4 @@ "author": "Box (https://www.box.com/)",

"homepage": "https://developer.box.com/docs/box-ui-elements",
"main": "index.ts",
"main": "./index.js",
"module": "./src/index.ts",
"types": "./types.ts",

@@ -28,3 +29,4 @@ "publishConfig": {

"files": [
"index.ts",
"src",
"index.js",
"types.ts",

@@ -36,6 +38,9 @@ "locale-data",

"scripts": {
"build": "node scripts/build.js",
"build": "npm-run-all build:scripts build:prod",
"build:prod": "grunt babel --mode=prod",
"build:dev": "grunt babel --mode=dev",
"build:scripts": "node scripts/build.js",
"clean": "rm -rf locale-data *.tgz",
"pack": "npm pack",
"test": "jest",
"test": "npm run build:dev ; jest",
"debug": "node --inspect-brk node_modules/.bin/jest -i --debug",

@@ -46,27 +51,39 @@ "lint": "tsc && eslint --ext=.ts --max-warnings=0 .",

"devDependencies": {
"@box/frontend": "^6.3.1",
"@babel/core": "^7.18.5",
"@babel/plugin-transform-modules-commonjs": "^7.18.2",
"@babel/preset-env": "^7.18.2",
"@babel/preset-typescript": "^7.17.12",
"@babel/runtime": "^7.18.3",
"@box/frontend": "^8.0.0",
"@box/languages": "^1.1.0",
"@types/jest": "^25.1.2",
"@typescript-eslint/eslint-plugin": "^2.19.2",
"@typescript-eslint/parser": "^2.19.2",
"@types/jest": "^28.1.3",
"@typescript-eslint/eslint-plugin": "^5.29.0",
"@typescript-eslint/parser": "^5.29.0",
"babel-plugin-add-module-exports": "^1.0.4",
"cldr-data": "34.0.0",
"enzyme": "^3.11.0",
"eslint": "^6.8.0",
"eslint-config-airbnb": "^18.0.1",
"eslint": "^8.18.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-babel": "^9.0.0",
"eslint-config-prettier": "^6.10.0",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-cypress": "^2.9.0",
"eslint-plugin-formatjs": "^1.5.11",
"eslint-plugin-import": "^2.20.1",
"eslint-plugin-jest": "^23.7.0",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.18.3",
"ilib": "^14.5.0",
"jest": "^25.1.0",
"ts-jest": "^25.2.0",
"typescript": "^3.7.5"
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-cypress": "^2.12.1",
"eslint-plugin-formatjs": "^4.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jest": "^26.5.3",
"eslint-plugin-jsx-a11y": "^6.5.1",
"eslint-plugin-prettier": "^4.0.0",
"eslint-plugin-react": "^7.30.0",
"grunt": "^1.5.3",
"grunt-babel": "^8.0.0",
"grunt-cli": "^1.4.3",
"grunt-contrib-clean": "^2.0.1",
"ilib": "^14.14.0",
"jest": "^28.1.1",
"load-grunt-tasks": "^5.1.0",
"npm-run-all": "^4.1.5",
"ts-jest": "^28.0.5",
"typescript": "^4.7.4"
},
"cldr-data-coverage": "full"
}

@@ -15,5 +15,9 @@ # Box CLDR Data

```javascript
const boxCldrData = require("@box/cldr-data");
import loadLocaleData from '@box/cldr-data';
or
var loadLocaleData = require('@box/cldr-data'); // from commonjs
const germanData = boxCldrData("de-DE");
then:
const germanData = loadLocaleData("de-DE");
```

@@ -26,3 +30,7 @@

```javascript
const germanData = require("@box/cldr-data/locale-data/de-DE.js");
import germanData from '@box/cldr-data/locale-data/de-DE'; // for typescript
or
const germanData = require("@box/cldr-data/locale-data/de-DE.js"); // for commonjs
```

@@ -32,2 +40,8 @@

## v34.8.0
- now ships with both commonjs and typescript sources at the same time
- package.json has the "main" property set to the commonjs sources, and "module" set to the typescript
- api and return values for the locale data did not change
## v34.7.1

@@ -34,0 +48,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc