diff --git a/package-lock.json b/package-lock.json index fe925bb..ff0eb02 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "angular2-prettyjson", - "version": "3.0.10", + "version": "3.0.11", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "angular2-prettyjson", - "version": "3.0.10", + "version": "3.0.11", "dependencies": { "@angular/animations": "19.2.15", "@angular/common": "19.2.15", diff --git a/package.json b/package.json index 1e7fc2c..748401d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular2-prettyjson", - "version": "3.0.10", + "version": "3.0.11", "scripts": { "ng": "ng", "build": "npm-run-all -s clean:build build:prod", diff --git a/projects/angular2-prettyjson/package.json b/projects/angular2-prettyjson/package.json index a24600f..cc52d8e 100644 --- a/projects/angular2-prettyjson/package.json +++ b/projects/angular2-prettyjson/package.json @@ -2,7 +2,7 @@ "name": "@talentia/angular2-prettyjson", "title": "Angular Pretty JSON", "description": "An Angular module to pretty print JSON objects.", - "version": "3.0.10", + "version": "3.0.11", "license": "MIT", "licenseFilename": "LICENSE", "peerDependencies": { diff --git a/projects/angular2-prettyjson/src/lib/prettyjson.component.ts b/projects/angular2-prettyjson/src/lib/prettyjson.component.ts index 80e930e..7354982 100644 --- a/projects/angular2-prettyjson/src/lib/prettyjson.component.ts +++ b/projects/angular2-prettyjson/src/lib/prettyjson.component.ts @@ -1,4 +1,4 @@ -import { Component, input } from "@angular/core"; +import { Component, Input } from "@angular/core"; @Component({ standalone: false, @@ -17,5 +17,5 @@ import { Component, input } from "@angular/core"; `, }) export class PrettyJsonComponent { - public readonly obj = input(); + @Input() public obj: any; }