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

ng1-shift

Package Overview
Dependencies
Maintainers
7
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.1.3 to 0.2.0

0

dist/decorators/component/helpers.d.ts
import { IComponentClass } from "./interfaces";
export declare function replaceTwoWayBindings(target: IComponentClass): void;

@@ -0,0 +0,0 @@ interface ComponentConfig {

@@ -0,0 +0,0 @@ export interface IComponentClass extends Function {

@@ -0,0 +0,0 @@ import { IComponentClass } from "./interfaces";

export declare function DirectiveFactory(type: any): () => any;

@@ -0,0 +0,0 @@ type RestrictString = "A" | "E" | "C";

export declare function Directive<IComponentClass>({ selector }: {
selector?: string;
}): ClassDecorator;

@@ -0,0 +0,0 @@ /// <reference types="@types/angular" />

export declare function NgModule({ id, imports, declarations, providers, directRegister }: any): (target: any) => void;

@@ -0,0 +0,0 @@ interface NgModule {

export default function daclarationHandler(ng1Module: any, declarations: any): void;
export default function providerHandler(ng1Module: any, providers: any, declarations: any): void;
export declare function findFirst<T>(array: Array<T>, expression: (value: T) => boolean): T | null;
export default function counter(entity: string): number;
export declare function isClass(value: any): boolean;
export default function kebabCaseToCamelCase(str: string): string;

@@ -0,0 +0,0 @@ export * from "./decorators/ng-module";

@@ -0,0 +0,0 @@ (function (global, factory) {

@@ -0,0 +0,0 @@ export declare const DeclarationType: {

@@ -0,0 +0,0 @@ export declare const Metakeys: {

export default interface Type extends Function {
new (...args: any[]): any;
}

6

package.json
{
"name": "ng1-shift",
"version": "0.1.3",
"version": "0.2.0",
"description": "Angular 1.5+ decorators for writing Angular2 like.",

@@ -51,3 +51,3 @@ "files": [

"angular": "^1.5.0",
"typescript": "^4.0.5",
"typescript": "^5.x",
"tslib": "^2.4.0"

@@ -71,4 +71,4 @@ },

"tslint": "^5.9.1",
"typescript": "^4.0.5"
"typescript": "^5.2.2"
}
}

Sorry, the diff of this file is not supported yet

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