@lion/localize
Advanced tools
Comparing version 0.16.0 to 0.16.1
# 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 @@ |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
373645
10006
+ Added@lion/core@0.14.1(transitive)
- Removed@lion/core@0.14.0(transitive)
Updated@lion/core@0.14.1