Security News
pnpm 10.0.0 Blocks Lifecycle Scripts by Default
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
@box/cldr-data
Advanced tools
This is a package that contains the subset of CLDR data that is needed for box-ui-elements and possibly other React apps within Box.
To use data for a locale:
import loadLocaleData from '@box/cldr-data';
or
var loadLocaleData = require('@box/cldr-data'); // from commonjs
then:
const germanData = loadLocaleData("de-DE");
If you are using webpack and do not want to get all of the locale data for all locales at once built into your package, you should directly require only the locales that you need:
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
Copyright 2020-present Box, Inc. All Rights Reserved.
Licensed under the Box Software License Agreement v.20170516. You may not use this file except in compliance with the License. You may obtain a copy of the License at
https://developer.box.com/docs/box-sdk-license
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.
FAQs
CLDR Data that box-ui-elements and other Box code needs
The npm package @box/cldr-data receives a total of 3,280 weekly downloads. As such, @box/cldr-data popularity was classified as popular.
We found that @box/cldr-data demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 5 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
pnpm 10 blocks lifecycle scripts by default to improve security, addressing supply chain attack risks but sparking debate over compatibility and workflow changes.
Product
Socket now supports uv.lock files to ensure consistent, secure dependency resolution for Python projects and enhance supply chain security.
Research
Security News
Socket researchers have discovered multiple malicious npm packages targeting Solana private keys, abusing Gmail to exfiltrate the data and drain Solana wallets.