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.4.0 to 1.4.1

./dist/index.cjs

2

dist/index.js

@@ -8,3 +8,3 @@ import { createContext, createSignal, useContext, DEV } from 'solid-js';

function deepReadObject(obj, path, defaultValue) {
const value = path.trim().split(".").reduce((a, b) => a ? a[b] : void 0, obj);
const value = obj[path] || path.trim().split(".").reduce((a, b) => a ? a[b] : void 0, obj);
return value !== void 0 ? value : defaultValue;

@@ -11,0 +11,0 @@ }

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

@@ -55,8 +55,12 @@ "author": "Alexandre Mouton-Brady <amoutonbrady@gmail.com>",

},
"devDependencies": {
"solid-js": "1.7.9"
},
"scripts": {
"dev": "jiti ../../scripts/dev.ts",
"build": "jiti ../../scripts/build.ts",
"test": "vitest -c ../../configs/vitest.config.ts",
"test:ssr": "pnpm run test --mode ssr"
"vitest": "vitest -c ../../configs/vitest.config.ts",
"test": "pnpm run vitest",
"test:ssr": "pnpm run vitest --mode ssr"
}
}

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