New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript/angular

Package Overview
Dependencies
Maintainers
0
Versions
172
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript/angular - npm Package Compare versions

Comparing version 19.0.0-rc.0 to 19.0.0-rc.1

3

lib/application.d.ts

@@ -1,2 +0,2 @@

import { ApplicationRef, EnvironmentProviders, NgModuleRef, PlatformRef, Provider, Type } from '@angular/core';
import { ApplicationRef, EnvironmentProviders, NgModuleRef, PlatformRef, Provider } from '@angular/core';
import { LayoutBase } from '@nativescript/core';

@@ -65,3 +65,2 @@ import { Observable, Subject } from 'rxjs';

}
export declare function bootstrapApplication(rootComponent: Type<unknown>, options?: ApplicationConfig): Promise<ApplicationRef>;
export declare function runNativeScriptAngularApp<T, K>(options: AppRunOptions<T, K>): void;

@@ -8,6 +8,6 @@ /**

*/
import { OnChanges, OnInit, SimpleChanges, ElementRef } from '@angular/core';
import { ElementRef, OnChanges, OnInit, SimpleChanges } from '@angular/core';
import { View } from '@nativescript/core';
import { NativeDialogService } from './dialog-services';
import { NativeDialogRef } from './dialog-ref';
import { NativeDialog } from './dialog-services';
import * as i0 from "@angular/core";

@@ -24,3 +24,3 @@ /**

_matDialogClose: any;
constructor(dialogRef: NativeDialogRef<any>, _elementRef: ElementRef<View>, _dialog: NativeDialogService);
constructor(dialogRef: NativeDialogRef<any>, _elementRef: ElementRef<View>, _dialog: NativeDialog);
ngOnInit(): void;

@@ -27,0 +27,0 @@ ngOnChanges(changes: SimpleChanges): void;

@@ -8,9 +8,7 @@ /**

*/
import { InjectionToken, Injector, OnDestroy, TemplateRef, Type } from '@angular/core';
import { InjectionToken, OnDestroy, TemplateRef } from '@angular/core';
import { Observable, Subject } from 'rxjs';
import { NSLocationStrategy } from '../../legacy/router/ns-location-strategy';
import { ComponentType } from '../../utils/general';
import { NativeDialogConfig } from './dialog-config';
import { NativeDialogRef } from './dialog-ref';
import { NativeModalRef } from './native-modal-ref';
import * as i0 from "@angular/core";

@@ -25,10 +23,3 @@ /** Injection token that can be used to access the data that was passed in to a dialog. */

*/
export declare abstract class _NativeDialogBase<C extends NativeModalRef> implements OnDestroy {
private _injector;
private _defaultOptions;
private _parentDialog;
private _dialogRefConstructor;
private _nativeModalType;
private _dialogDataToken;
private locationStrategy;
export declare class NativeDialog implements OnDestroy {
private _openDialogsAtThisLevel;

@@ -47,3 +38,9 @@ private readonly _afterAllClosedAtThisLevel;

_getAfterAllClosed(): Subject<void>;
constructor(_injector: Injector, _defaultOptions: NativeDialogConfig | undefined, _parentDialog: _NativeDialogBase<C> | undefined, _dialogRefConstructor: Type<NativeDialogRef<any>>, _nativeModalType: Type<C>, _dialogDataToken: InjectionToken<any>, locationStrategy: NSLocationStrategy);
private _injector;
private _defaultOptions;
private _parentDialog;
private _dialogRefConstructor;
private _nativeModalType;
private _dialogDataToken;
private locationStrategy;
/**

@@ -100,12 +97,9 @@ * Opens a modal dialog containing the given component.

private _closeDialogs;
static ɵfac: i0.ɵɵFactoryDeclaration<_NativeDialogBase<any>, never>;
static ɵdir: i0.ɵɵDirectiveDeclaration<_NativeDialogBase<any>, never, never, {}, {}, never, never, true, never>;
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDialog, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<NativeDialog>;
}
export {
/**
* Service to open Material Design modal dialogs.
* @deprecated Use `NativeDialog` instead.
*/
export declare class NativeDialogService extends _NativeDialogBase<NativeModalRef> {
constructor(injector: Injector, defaultOptions: NativeDialogConfig, parentDialog: NativeDialogService, location: NSLocationStrategy);
static ɵfac: i0.ɵɵFactoryDeclaration<NativeDialogService, [null, { optional: true; }, { optional: true; skipSelf: true; }, { optional: true; }]>;
static ɵprov: i0.ɵɵInjectableDeclaration<NativeDialogService>;
}
NativeDialog as NativeDialogService, };

@@ -0,7 +1,8 @@

import { HttpFeature, HttpFeatureKind } from '@angular/common/http';
import * as i0 from "@angular/core";
import * as i1 from "@angular/common/http";
export declare function provideNativeScriptHttpClient(...features: HttpFeature<HttpFeatureKind>[]): import("@angular/core").EnvironmentProviders;
export declare class NativeScriptHttpClientModule {
static ɵfac: i0.ɵɵFactoryDeclaration<NativeScriptHttpClientModule, never>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeScriptHttpClientModule, never, [typeof i1.HttpClientModule], [typeof i1.HttpClientModule]>;
static ɵmod: i0.ɵɵNgModuleDeclaration<NativeScriptHttpClientModule, never, never, never>;
static ɵinj: i0.ɵɵInjectorDeclaration<NativeScriptHttpClientModule>;
}

@@ -1,2 +0,2 @@

import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, InjectionToken, Injector, OnDestroy, EventEmitter, Type, ViewContainerRef, ElementRef, InjectFlags, NgZone, EnvironmentInjector, InjectOptions } from '@angular/core';
import { ChangeDetectorRef, ComponentFactoryResolver, ComponentRef, ElementRef, EnvironmentInjector, EventEmitter, InjectFlags, InjectionToken, InjectOptions, Injector, NgZone, OnDestroy, Type, ViewContainerRef } from '@angular/core';
import { ActivatedRoute, ChildrenOutletContexts, Data, Router, RouterOutletContract } from '@angular/router';

@@ -3,0 +3,0 @@ import { BehaviorSubject } from 'rxjs';

import { ModuleWithProviders } from '@angular/core';
import { Routes, ExtraOptions } from '@angular/router';
import { Routes, ExtraOptions, RouterFeatures, ActivatedRoute, Router } from '@angular/router';
import { NSLocationStrategy } from './ns-location-strategy';

@@ -28,1 +28,3 @@ import { FrameService } from '../frame.service';

}
export declare function rootRoute(router: Router): ActivatedRoute;
export declare function provideNativeScriptRouter(routes: Routes, ...features: RouterFeatures[]): import("@angular/core").EnvironmentProviders;

@@ -8,3 +8,3 @@ /**

*/
import { EventEmitter, NgZone } from '@angular/core';
import { EventEmitter, NgZone, NgZoneOptions } from '@angular/core';
/**

@@ -111,3 +111,3 @@ * An injectable service for executing work inside or outside of the Angular zone.

readonly onError: EventEmitter<any>;
constructor({ enableLongStackTrace, shouldCoalesceEventChangeDetection, shouldCoalesceRunChangeDetection }?: {
constructor({ enableLongStackTrace, shouldCoalesceEventChangeDetection, shouldCoalesceRunChangeDetection, }?: {
enableLongStackTrace?: boolean;

@@ -166,1 +166,2 @@ shouldCoalesceEventChangeDetection?: boolean;

}
export declare function provideNativeScriptNgZone(options?: NgZoneOptions): import("@angular/core").StaticProvider[];

@@ -1,2 +0,3 @@

import { Type, PlatformRef, NgModuleFactory, Sanitizer, InjectionToken, StaticProvider } from '@angular/core';
import { Type, PlatformRef, NgModuleFactory, Sanitizer, InjectionToken, StaticProvider, ApplicationConfig } from '@angular/core';
import { LocationChangeListener, LocationStrategy, PlatformLocation } from '@angular/common';
import { NativeScriptPlatformRefProxy } from './platform-ref';

@@ -15,22 +16,34 @@ import { AppLaunchView } from './application';

}
export declare const COMMON_PROVIDERS: ({
provide: InjectionToken<import("./tokens").PageFactory>;
useValue: import("./tokens").PageFactory;
} | {
provide: typeof Sanitizer;
useClass: typeof NativeScriptSanitizer;
deps: any[];
useValue?: undefined;
} | {
provide: InjectionToken<Document>;
useClass: typeof NativeScriptDocument;
deps: any[];
useValue?: undefined;
} | {
provide: InjectionToken<Object>;
useValue: string;
useClass?: undefined;
deps?: undefined;
})[];
export declare class DummyLocationStrategy extends LocationStrategy {
path(includeHash?: boolean): string;
prepareExternalUrl(internal: string): string;
getState(): unknown;
pushState(state: any, title: string, url: string, queryParams: string): void;
replaceState(state: any, title: string, url: string, queryParams: string): void;
forward(): void;
back(): void;
onPopState(fn: LocationChangeListener): void;
getBaseHref(): string;
}
export declare class DummyPlatformLocation extends PlatformLocation {
getBaseHrefFromDOM(): string;
getState(): unknown;
onPopState(fn: LocationChangeListener): VoidFunction;
onHashChange(fn: LocationChangeListener): VoidFunction;
get href(): string;
get protocol(): string;
get hostname(): string;
get port(): string;
get pathname(): string;
get search(): string;
get hash(): string;
replaceState(state: any, title: string, url: string): void;
pushState(state: any, title: string, url: string): void;
forward(): void;
back(): void;
}
export declare const COMMON_PROVIDERS: StaticProvider[];
export declare const platformNativeScript: (extraProviders?: StaticProvider[]) => PlatformRef;
export declare function bootstrapApplication(rootComponent: Type<any>, options?: ApplicationConfig): Promise<import("@angular/core").ApplicationRef>;
export declare function createApplication(options?: ApplicationConfig): Promise<import("@angular/core").ApplicationRef>;
export interface HmrOptions {

@@ -37,0 +50,0 @@ /**

@@ -6,5 +6,5 @@ export * from './views';

export * from './app-host-view';
export { AppOptions, COMMON_PROVIDERS, HmrOptions, NativeScriptDocument, NativeScriptSanitizer, defaultPageFactoryProvider, platformNativeScriptDynamic, platformNativeScript } from './platform-nativescript';
export { AppOptions, COMMON_PROVIDERS, HmrOptions, NativeScriptDocument, NativeScriptSanitizer, defaultPageFactoryProvider, platformNativeScriptDynamic, platformNativeScript, bootstrapApplication, } from './platform-nativescript';
export * from './cdk/detached-loader';
export { NATIVESCRIPT_MODULE_PROVIDERS, NATIVESCRIPT_MODULE_STATIC_PROVIDERS, NativeScriptModule, errorHandler, generateFallbackRootView, generateRandomId } from './nativescript';
export { NATIVESCRIPT_MODULE_PROVIDERS, NATIVESCRIPT_MODULE_STATIC_PROVIDERS, NativeScriptModule, errorHandler, generateFallbackRootView, generateRandomId, } from './nativescript';
export { ActionBarComponent, ActionBarScope, ActionItemDirective, NavigationButtonDirective } from './cdk/action-bar';

@@ -24,6 +24,6 @@ export * from './cdk/frame-page';

export * from './detached-loader-utils';
export { AppLaunchView, AppRunOptions, NgModuleEvent, NgModuleReason, disableRootViewHanding, onAfterLivesync, onBeforeLivesync, postAngularBootstrap$, preAngularDisposal$, runNativeScriptAngularApp, ApplicationConfig, bootstrapApplication } from './application';
export { AppLaunchView, AppRunOptions, NgModuleEvent, NgModuleReason, disableRootViewHanding, onAfterLivesync, onBeforeLivesync, postAngularBootstrap$, preAngularDisposal$, runNativeScriptAngularApp, ApplicationConfig, } from './application';
export * from './element-registry';
export * from './nativescript-xhr-factory';
export { EmulatedRenderer, NativeScriptRendererFactory, COMPONENT_VARIABLE as ɵCOMPONENT_VARIABLE, CONTENT_ATTR as ɵCONTENT_ATTR, HOST_ATTR as ɵHOST_ATTR, NativeScriptRendererHelperService } from './nativescript-renderer';
export { EmulatedRenderer, NativeScriptRendererFactory, COMPONENT_VARIABLE as ɵCOMPONENT_VARIABLE, CONTENT_ATTR as ɵCONTENT_ATTR, HOST_ATTR as ɵHOST_ATTR, NativeScriptRendererHelperService, } from './nativescript-renderer';
export * from './utils';

@@ -30,0 +30,0 @@ export * from './forms';

{
"name": "@nativescript/angular",
"version": "19.0.0-rc.0",
"version": "19.0.0-rc.1",
"homepage": "https://nativescript.org/",

@@ -5,0 +5,0 @@ "repository": {

Sorry, the diff of this file is not supported yet

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