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

@akinon/akilocale

Package Overview
Dependencies
Maintainers
0
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@akinon/akilocale - npm Package Compare versions

Comparing version 0.10.1 to 0.11.0

8

dist/cjs/index.js

@@ -19,3 +19,5 @@ "use strict";

debug,
lng: localStorage.getItem(exports.AKILOCALE_STORAGE_KEY) || undefined,
lng: (typeof localStorage !== 'undefined' &&
localStorage.getItem(exports.AKILOCALE_STORAGE_KEY)) ||
undefined,
fallbackLng: fallbackLng || 'en',

@@ -25,3 +27,5 @@ resources

// should pass cb to init automatically
() => { });
() => {
/* do nothing */
});
return {

@@ -28,0 +32,0 @@ lng: localInstance.language,

@@ -16,3 +16,5 @@ import i18next from 'i18next';

debug,
lng: localStorage.getItem(AKILOCALE_STORAGE_KEY) || undefined,
lng: (typeof localStorage !== 'undefined' &&
localStorage.getItem(AKILOCALE_STORAGE_KEY)) ||
undefined,
fallbackLng: fallbackLng || 'en',

@@ -22,3 +24,5 @@ resources

// should pass cb to init automatically
() => { });
() => {
/* do nothing */
});
return {

@@ -25,0 +29,0 @@ lng: localInstance.language,

{
"name": "@akinon/akilocale",
"description": "AkiLocale is a localization library for Akinon projects.",
"version": "0.10.1",
"version": "0.11.0",
"type": "module",

@@ -11,2 +11,18 @@ "main": "dist/esm/index.js",

],
"scripts": {
"build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
"build:esm": "tsc --outDir dist/esm",
"build:commonjs": "tsc --module commonjs --outDir dist/cjs",
"copy:files": "copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
"clean": "rimraf dist/",
"lint": "eslint *.ts*",
"test": "vitest run",
"test:coverage": "vitest run --coverage",
"test:ui": "vitest --ui",
"test:watch": "vitest watch",
"typecheck": "tsc --noEmit",
"prepublishOnly": "pnpm run build",
"prepack": "clean-package",
"postpack": "clean-package restore"
},
"dependencies": {

@@ -18,9 +34,9 @@ "i18next": "23.11.2",

"devDependencies": {
"@akinon/eslint-config": "workspace:*",
"@akinon/typescript-config": "workspace:*",
"@akinon/vite-config": "workspace:*",
"clean-package": "2.2.0",
"copyfiles": "^2.4.1",
"rimraf": "^5.0.5",
"typescript": "^5.2.2",
"@akinon/vite-config": "0.4.0",
"@akinon/typescript-config": "0.2.0",
"@akinon/eslint-config": "0.1.0"
"typescript": "^5.2.2"
},

@@ -41,15 +57,3 @@ "clean-package": "./clean-package.config.json",

"./package.json": "./package.json"
},
"scripts": {
"build": "pnpm run build:esm && pnpm run build:commonjs && pnpm run copy:files",
"build:esm": "tsc --outDir dist/esm",
"build:commonjs": "tsc --module commonjs --outDir dist/cjs",
"copy:files": "copyfiles -u 1 src/**/*.css dist/esm && copyfiles -u 1 src/**/*.css dist/cjs",
"clean": "rimraf dist/",
"lint": "eslint *.ts*",
"test": "vitest run",
"test:ui": "vitest --ui",
"test:watch": "vitest watch",
"typecheck": "tsc --noEmit"
}
}
}

Sorry, the diff of this file is not supported yet

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