Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

terra-i18n

Package Overview
Dependencies
Maintainers
10
Versions
113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

terra-i18n - npm Package Compare versions

Comparing version 2.21.2 to 2.21.3

scripts/post-install/write-default-loaders.js

5

CHANGELOG.md

@@ -7,2 +7,7 @@ Changelog

2.20.3 - (September 13, 2018)
------------------
### Fix
* Add post-install script which writes default loaders
2.20.2 - (September 12, 2018)

@@ -9,0 +14,0 @@ ------------------

4

package.json
{
"name": "terra-i18n",
"main": "lib/I18n.js",
"version": "2.21.2",
"version": "2.21.3",
"description": "The terra-i18n package provides on-demand internationalization of React components.",

@@ -51,4 +51,4 @@ "repository": {

"lint:js": "eslint --ext .js,.jsx . --ignore-path ../../.eslintignore",
"postinstall": "node scripts/post-install/write-default-loaders.js",
"test": "npm run test:jest && npm run test:wdio",
"pretest:jest": "node tests/jest/generate-aggregated-translations-directory.js",
"test:jest": "jest --config ../../jestconfig.js",

@@ -55,0 +55,0 @@ "test:wdio": "../../node_modules/.bin/wdio ../../node_modules/terra-dev-site/config/wdio/wdio.conf.js"

@@ -1,2 +0,2 @@

/* eslint-disable no-console, import/no-unresolved */
/* eslint-disable no-console */
import i18nLoader from '../../src/i18nLoader';

@@ -3,0 +3,0 @@

/* globals spyOn */
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, no-console */
/* eslint-disable import/no-extraneous-dependencies, no-console */
import intlLoaders from 'intlLoaders';

@@ -4,0 +4,0 @@ import loadIntl from '../../src/intlLoaders';

/* globals spyOn */
/* eslint-disable import/no-extraneous-dependencies, import/no-unresolved, no-console */
/* eslint-disable import/no-extraneous-dependencies, no-console */
import translationsLoaders from 'translationsLoaders';

@@ -4,0 +4,0 @@ import loadTranslations from '../../src/translationsLoaders';

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