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

@solid-primitives/i18n

Package Overview
Dependencies
Maintainers
3
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solid-primitives/i18n - npm Package Compare versions

Comparing version 1.2.3 to 1.2.4

7

dist/index.js

@@ -1,5 +0,5 @@

import { createContext, createSignal, useContext } from 'solid-js';
import { createContext, createSignal, useContext, DEV } from 'solid-js';
import { createStore } from 'solid-js/store';
import { createContextProvider } from '@solid-primitives/context';
import { isDev } from 'solid-js/web';
import { isServer } from 'solid-js/web';

@@ -85,3 +85,4 @@ // src/i18n.ts

throw new Error(
isDev ? `Unsupported data format on the keys. Values must resolve to a string or a function that returns a string. Key name: "${key}"` : ""
// eslint-disable-next-line @typescript-eslint/no-unnecessary-condition
!isServer && DEV ? `Unsupported data format on the keys. Values must resolve to a string or a function that returns a string. Key name: "${key}"` : ""
);

@@ -88,0 +89,0 @@ }

{
"name": "@solid-primitives/i18n",
"version": "1.2.3",
"version": "1.2.4",
"description": "Primitive to create and use i18n primitives.",

@@ -5,0 +5,0 @@ "author": "Alexandre Mouton-Brady <amoutonbrady@gmail.com>",

Sorry, the diff of this file is not supported yet

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