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

@vocab/react

Package Overview
Dependencies
Maintainers
4
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@vocab/react - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

7

CHANGELOG.md
# @vocab/react
## 0.0.2
## 0.0.3
### Patch Changes
- [`f79c85e`](https://github.com/seek-oss/vocab/commit/f79c85e37c5b927306866961cf6cb3c541d0d6cf) Thanks [@mattcompiles](https://github.com/mattcompiles)! - Add @vocab/types dep
## 0.0.2
### Patch Changes
- [`9f99ea7`](https://github.com/seek-oss/vocab/commit/9f99ea7c827ec4d7c21a485e17e3adbbd1c49319) Thanks [@jahredhope](https://github.com/jahredhope)! - Remove React as dependency and target node

4

dist/vocab-react.cjs.dev.js

@@ -55,3 +55,5 @@ 'use strict';

function t(key, params) {
if (!translationsObject?.[key]) {
var _translationsObject;
if (!((_translationsObject = translationsObject) === null || _translationsObject === void 0 ? void 0 : _translationsObject[key])) {
trace('useTranslation', 't', 'Missing value', key);

@@ -58,0 +60,0 @@ return null;

@@ -55,3 +55,5 @@ 'use strict';

function t(key, params) {
if (!translationsObject?.[key]) {
var _translationsObject;
if (!((_translationsObject = translationsObject) === null || _translationsObject === void 0 ? void 0 : _translationsObject[key])) {
trace('useTranslation', 't', 'Missing value', key);

@@ -58,0 +60,0 @@ return null;

@@ -47,3 +47,5 @@ import React, { useContext, useReducer } from 'react';

function t(key, params) {
if (!translationsObject?.[key]) {
var _translationsObject;
if (!((_translationsObject = translationsObject) === null || _translationsObject === void 0 ? void 0 : _translationsObject[key])) {
trace('useTranslation', 't', 'Missing value', key);

@@ -50,0 +52,0 @@ return null;

{
"name": "@vocab/react",
"version": "0.0.2",
"version": "0.0.3",
"main": "dist/vocab-react.cjs.js",

@@ -12,8 +12,9 @@ "module": "dist/vocab-react.esm.js",

"dependencies": {
"@vocab/types": "^0.0.2",
"intl-messageformat": "^9.3.18"
},
"devDependencies": {
"@types/react": "^16.9.56",
"@types/react": "^17.0.0",
"react": "^17.0.1"
}
}
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