react-metatags-hook
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -0,26 +1,50 @@ | ||
## [1.3.1] - 2020-04-12 | ||
### Added | ||
- Exported `MetaTag`, `LinkTag`, `MetaTagsConfig` types | ||
- Added prettier | ||
### Changed | ||
- Upgraded some dependencies to fix vulnerabilities | ||
## [1.3.0] - 2020-04-12 | ||
### Added | ||
* Added resetMetaTags function to clear tags definitions stored in the library. | ||
- Added resetMetaTags function to clear tags definitions stored in the library. | ||
### Changed | ||
* Fixed how meta tags definitions are merged (only defined values overwrites previously set values). | ||
* Upgraded all dependencies. | ||
- Fixed how meta tags definitions are merged (only defined values overwrites previously set values). | ||
- Upgraded all dependencies. | ||
## [1.2.0] - 2020-04-12 | ||
### Changed | ||
* `id` is used to identify unique tags. | ||
* Upgraded all dependencies. | ||
- `id` is used to identify unique tags. | ||
- Upgraded all dependencies. | ||
## [1.1.1] - 2019-10-09 | ||
### Added | ||
* Added unit tests. | ||
- Added unit tests. | ||
### Changed | ||
* Upgraded all dependencies. | ||
* Improved internal tag representation. | ||
* Changed js bundle generation. Removed es module version, now only the commonjs version is created. | ||
- Upgraded all dependencies. | ||
- Improved internal tag representation. | ||
- Changed js bundle generation. Removed es module version, now only the commonjs version is created. | ||
## [1.0.3] - 2019-05-12 | ||
### Changed | ||
* Updated npmignore. | ||
- Updated npmignore. | ||
## [1.0.1] - 2019-05-12 | ||
Initial Release. |
export { default } from './use-meta-tags'; | ||
export { generateStaticHtml, resetMetaTags } from './generate-static-html'; | ||
export type { MetaTag, LinkTag, MetaTagsConfig } from './types'; |
export interface MetaTag { | ||
name?: string; | ||
property?: string; | ||
'name'?: string; | ||
'property'?: string; | ||
'http-equiv'?: string; | ||
content?: string; | ||
'content'?: string; | ||
[attributeKey: string]: string | undefined; | ||
@@ -7,0 +7,0 @@ } |
{ | ||
"name": "react-metatags-hook", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "React Hook to manage html meta tags", | ||
@@ -45,2 +45,4 @@ "main": "./dist/index.cjs.js", | ||
"pre-commit": "^1.2.2", | ||
"prettier": "^2.0.5", | ||
"prettier-tslint": "^0.4.2", | ||
"react": "^16.13.1", | ||
@@ -47,0 +49,0 @@ "react-dom": "^16.13.1", |
Sorry, the diff of this file is not supported yet
42490
115
27