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

@lion/localize

Package Overview
Dependencies
Maintainers
1
Versions
102
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@lion/localize - npm Package Compare versions

Comparing version 0.16.0 to 0.16.1

8

CHANGELOG.md
# Change Log
## 0.16.1
### Patch Changes
- 701aadce: Fix types of mixins to include LitElement static props and methods, and use Pick generic type instead of fake constructors.
- Updated dependencies [701aadce]
- @lion/core@0.14.1
## 0.16.0

@@ -4,0 +12,0 @@

12

package.json
{
"name": "@lion/localize",
"version": "0.16.0",
"version": "0.16.1",
"description": "The localization system helps to manage localization data split into locales and automate its loading",

@@ -27,3 +27,3 @@ "license": "MIT",

"scripts": {
"custom-elements-manifest": "custom-elements-manifest analyze --exclude 'docs/**/*'",
"custom-elements-manifest": "custom-elements-manifest analyze --litelement --exclude 'docs/**/*' 'test-helpers/**/*'",
"debug": "cd ../../ && npm run debug -- --group localize",

@@ -38,3 +38,3 @@ "debug:firefox": "cd ../../ && npm run debug:firefox -- --group localize",

"@bundled-es-modules/message-format": "6.0.4",
"@lion/core": "0.14.0",
"@lion/core": "0.14.1",
"singleton-manager": "1.3.0"

@@ -50,7 +50,7 @@ },

},
"customElementsManifest": "custom-elements.json",
"exports": {
".": "./index.js",
"./test-helpers": "./test-helpers.js"
},
"customElementsManifest": "custom-elements.json"
}
}
}

@@ -243,5 +243,3 @@ import { expect } from '@open-wc/testing';

*/
const upperCaseProcessor = str => {
return str.toUpperCase();
};
const upperCaseProcessor = str => str.toUpperCase();

@@ -254,5 +252,3 @@ /**

*/
const lowerCaseProcessor = str => {
return str.toLocaleLowerCase();
};
const lowerCaseProcessor = str => str.toLocaleLowerCase();

@@ -259,0 +255,0 @@ it('displays the appropriate date after post processor set in options', async () => {

@@ -382,5 +382,3 @@ import { expect } from '@open-wc/testing';

*/
const commaToSpaceProcessor = str => {
return str.replace(/,/g, ' ');
};
const commaToSpaceProcessor = str => str.replace(/,/g, ' ');

@@ -393,5 +391,3 @@ /**

*/
const firstSpaceToDotProcessor = str => {
return str.replace(' ', '.');
};
const firstSpaceToDotProcessor = str => str.replace(' ', '.');

@@ -398,0 +394,0 @@ it('uses `options.postProcessors`', () => {

@@ -59,3 +59,2 @@ import { Constructor } from '@open-wc/dedupe-mixin';

declare class LocalizeMixinHost {
constructor(...args: any[]);
static get localizeNamespaces(): StringToFunctionMap[];

@@ -87,4 +86,7 @@

superclass: T,
): T & Constructor<LocalizeMixinHost> & typeof LocalizeMixinHost;
): T &
Constructor<LocalizeMixinHost> &
Pick<typeof LocalizeMixinHost, keyof typeof LocalizeMixinHost> &
Pick<typeof LitElement, keyof typeof LitElement>;
export type LocalizeMixin = typeof LocalizeMixinImplementation;

Sorry, the diff of this file is too big to display

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