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

ng1-shift

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ng1-shift - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

6

index.ts

@@ -10,3 +10,3 @@ interface IComponentClass extends Function {

export function Input(alias: string): PropertyDecorator {
export function Input(alias?: string): PropertyDecorator {
return function (target: IComponentClass, property: string) {

@@ -21,3 +21,3 @@ if (!target.constructor.bindings) {

export function Output(alias: string): PropertyDecorator {
export function Output(alias?: string): PropertyDecorator {
return function (target: IComponentClass, property: string) {

@@ -73,3 +73,3 @@ if (!target.constructor.bindings) {

export function Component<IComponentClass>(config: {template?: string}): ClassDecorator {
export function Component<IComponentClass>(config?: {template?: string}): ClassDecorator {
return function (target: any) {

@@ -76,0 +76,0 @@ if (config) {

{
"name": "ng1-shift",
"version": "0.0.5",
"version": "0.0.6",
"description": "Angular 1.5+ decorators for writing Angular2 like.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

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