Comparing version 7.0.0 to 8.0.0
@@ -0,1 +1,15 @@ | ||
## 8.0.0 (2019-06-27) | ||
##### Chores | ||
* update dependencies ([10005664](https://github.com/MichaelSolati/ngmeta/commit/100056649a9485a8b5cf266bb30f47542f2f3d30)) | ||
##### Documentation Changes | ||
* **README.md:** update readme with better code examples ([810f60a5](https://github.com/MichaelSolati/ngmeta/commit/810f60a5308c228c3d6746caca7ec1b3572768d1)) | ||
##### Refactors | ||
* change interfaces to types ([fd206528](https://github.com/MichaelSolati/ngmeta/commit/fd20652873395126ab685766633444821e6bfe80)) | ||
## 7.0.0 (2018-10-26) | ||
@@ -2,0 +16,0 @@ |
export * from './ngmeta.module'; | ||
export * from './ngmeta.service'; | ||
export * from './tag-data.interface'; | ||
export * from './ngmeta.types'; |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./ngmeta.module"},{"from":"./ngmeta.service"},{"from":"./tag-data.interface"}]}] | ||
[{"__symbolic":"module","version":4,"metadata":{},"exports":[{"from":"./ngmeta.module"},{"from":"./ngmeta.service"},{"from":"./ngmeta.types"}]}] |
import { Router } from '@angular/router'; | ||
import { TagData, MetaData } from './tag-data.interface'; | ||
import { TagData, MetaData } from './ngmeta.types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Service that allows setting and updating of meta tags, title tags, and canonical tags. |
@@ -15,2 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
var common_1 = require("@angular/common"); | ||
var core_1 = require("@angular/core"); | ||
@@ -175,3 +176,3 @@ var platform_browser_1 = require("@angular/platform-browser"); | ||
core_1.Injectable(), | ||
__param(0, core_1.Inject(platform_browser_1.DOCUMENT)), | ||
__param(0, core_1.Inject(common_1.DOCUMENT)), | ||
__metadata("design:paramtypes", [Object, router_1.Router]) | ||
@@ -178,0 +179,0 @@ ], NgMetaService); |
@@ -1,1 +0,1 @@ | ||
[{"__symbolic":"module","version":4,"metadata":{"NgMetaService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/platform-browser","name":"DOCUMENT","line":18,"character":22}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":73}]}],"createMeta":[{"__symbolic":"method"}],"setHead":[{"__symbolic":"method"}],"_removeTag":[{"__symbolic":"method"}],"_scrollToTop":[{"__symbolic":"method"}]}}}}] | ||
[{"__symbolic":"module","version":4,"metadata":{"NgMetaService":{"__symbolic":"class","decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":10,"character":1}}],"members":{"__ctor__":[{"__symbolic":"constructor","parameterDecorators":[[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Inject","line":18,"character":15},"arguments":[{"__symbolic":"reference","module":"@angular/common","name":"DOCUMENT","line":18,"character":22}]}],null],"parameters":[{"__symbolic":"reference","name":"any"},{"__symbolic":"reference","module":"@angular/router","name":"Router","line":18,"character":73}]}],"createMeta":[{"__symbolic":"method"}],"setHead":[{"__symbolic":"method"}],"_removeTag":[{"__symbolic":"method"}],"_scrollToTop":[{"__symbolic":"method"}]}}}}] |
{ | ||
"name": "ngmeta", | ||
"version": "7.0.0", | ||
"version": "8.0.0", | ||
"description": "A tool for updating meta tags in an Angular application.", | ||
@@ -27,3 +27,3 @@ "main": "dist/index.js", | ||
], | ||
"author": "Michael Solati", | ||
"author": "Michael Solati <mkslt04@gmail.com>", | ||
"license": "ISC", | ||
@@ -42,16 +42,21 @@ "bugs": { | ||
], | ||
"dependencies": { | ||
"@angular/common": "7.x.x", | ||
"@angular/core": "7.x.x", | ||
"@angular/platform-browser": "7.x.x", | ||
"@angular/router": "7.x.x", | ||
"rxjs": "6.3.x" | ||
"peerDependencies": { | ||
"@angular/common": "8.x.x", | ||
"@angular/core": "8.x.x", | ||
"@angular/platform-browser": "8.x.x", | ||
"@angular/router": "8.x.x", | ||
"rxjs": "6.x.x" | ||
}, | ||
"devDependencies": { | ||
"@angular/compiler": "7.x.x", | ||
"@angular/compiler-cli": "7.x.x", | ||
"generate-changelog": "^1.7.1", | ||
"typedoc": "^0.13.0", | ||
"typescript": "^3.1.1" | ||
"@angular/common": "8.x.x", | ||
"@angular/compiler": "8.x.x", | ||
"@angular/compiler-cli": "8.x.x", | ||
"@angular/core": "8.x.x", | ||
"@angular/platform-browser": "8.x.x", | ||
"@angular/router": "8.x.x", | ||
"generate-changelog": "^1.x.x", | ||
"rxjs": "6.x.x", | ||
"typedoc": "^0.x.x", | ||
"typescript": "~3.4.3" | ||
} | ||
} |
@@ -17,9 +17,9 @@ # ngmeta [![Build Status](https://travis-ci.org/MichaelSolati/ngmeta.svg?branch=master)](https://travis-ci.org/MichaelSolati/ngmeta) | ||
## How To Use | ||
First import the `NGMetaModule` into your app. | ||
First import the `NgMetaModule` into your app. | ||
```typescript | ||
import { NGMetaModule } from 'ngmeta'; | ||
import { NgMetaModule } from 'ngmeta'; | ||
... | ||
@NgModule({ | ||
imports: [ | ||
NGMetaModule.forRoot() | ||
NgMetaModule.forRoot() | ||
], | ||
@@ -37,3 +37,3 @@ bootstrap: [ | ||
export class HomePage { | ||
constructor(private _ngmeta: NGMeta) {} | ||
constructor(private _ngmeta: NgMetaService) {} | ||
} | ||
@@ -97,2 +97,2 @@ ``` | ||
## Changes | ||
Changes happen, check out [the changelog](https://github.com/MichaelSolati/ngmeta/blob/master/CHANGELOG.md) to see the latest changes. | ||
Changes happen, check out [the changelog](https://github.com/MichaelSolati/ngmeta/blob/master/CHANGELOG.md) to see the latest changes. |
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
96
127339
10
3138
+ Added@angular/common@8.2.14(transitive)
+ Added@angular/core@8.2.14(transitive)
+ Added@angular/platform-browser@8.2.14(transitive)
+ Added@angular/router@8.2.14(transitive)
+ Addedrxjs@6.6.7(transitive)
+ Addedzone.js@0.9.1(transitive)
- Removed@angular/common@7.x.x
- Removed@angular/core@7.x.x
- Removed@angular/platform-browser@7.x.x
- Removed@angular/router@7.x.x
- Removedrxjs@6.3.x
- Removed@angular/common@7.2.16(transitive)
- Removed@angular/core@7.2.16(transitive)
- Removed@angular/platform-browser@7.2.16(transitive)
- Removed@angular/router@7.2.16(transitive)
- Removedrxjs@6.3.3(transitive)
- Removedzone.js@0.8.29(transitive)