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

@angular/upgrade

Package Overview
Dependencies
Maintainers
2
Versions
851
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@angular/upgrade - npm Package Compare versions

Comparing version 19.0.0-next.1 to 19.0.0-next.2

2

index.d.ts
/**
* @license Angular v19.0.0-next.1
* @license Angular v19.0.0-next.2
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

{
"name": "@angular/upgrade",
"version": "19.0.0-next.1",
"version": "19.0.0-next.2",
"description": "Angular - the library for easing update from v1 to v2",

@@ -14,6 +14,6 @@ "author": "angular",

"peerDependencies": {
"@angular/core": "19.0.0-next.1",
"@angular/compiler": "19.0.0-next.1",
"@angular/platform-browser": "19.0.0-next.1",
"@angular/platform-browser-dynamic": "19.0.0-next.1"
"@angular/core": "19.0.0-next.2",
"@angular/compiler": "19.0.0-next.2",
"@angular/platform-browser": "19.0.0-next.2",
"@angular/platform-browser-dynamic": "19.0.0-next.2"
},

@@ -55,4 +55,2 @@ "repository": {

"types": "./index.d.ts",
"esm2022": "./esm2022/upgrade.mjs",
"esm": "./esm2022/upgrade.mjs",
"default": "./fesm2022/upgrade.mjs"

@@ -62,4 +60,2 @@ },

"types": "./static/index.d.ts",
"esm2022": "./esm2022/static/static.mjs",
"esm": "./esm2022/static/static.mjs",
"default": "./fesm2022/static.mjs"

@@ -69,4 +65,2 @@ },

"types": "./static/testing/index.d.ts",
"esm2022": "./esm2022/static/testing/testing.mjs",
"esm": "./esm2022/static/testing/testing.mjs",
"default": "./fesm2022/static/testing.mjs"

@@ -73,0 +67,0 @@ }

/**
* @license Angular v19.0.0-next.1
* @license Angular v19.0.0-next.2
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -815,2 +815,26 @@ * License: MIT

/**
* @fileoverview
* While Angular only uses Trusted Types internally for the time being,
* references to Trusted Types could leak into our public API, which would force
* anyone compiling against @angular/upgrade to provide the @types/trusted-types
* package in their compilation unit.
*
* Until https://github.com/microsoft/TypeScript/issues/30024 is resolved, we
* will keep Angular's public API surface free of references to Trusted Types.
* For internal and semi-private APIs that need to reference Trusted Types, the
* minimal type definitions for the Trusted Types API provided by this module
* should be used instead. They are marked as "declare" to prevent them from
* being renamed by compiler optimization.
*
* Adapted from
* https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/trusted-types/index.d.ts
* but restricted to the API surface used within Angular, mimicking the approach
* in packages/core/src/util/security/trusted_type_defs.ts.
*/
declare type TrustedHTML = string & {
__brand__: 'TrustedHTML';
};
declare const UPGRADE_APP_TYPE_KEY = "$$angularUpgradeAppType";

@@ -915,5 +939,5 @@

static getDirective($injector: IInjectorService, name: string): IDirective;
static getTemplate($injector: IInjectorService, directive: IDirective, fetchRemoteTemplate?: boolean, $element?: IAugmentedJQuery): string | Promise<string>;
static getTemplate($injector: IInjectorService, directive: IDirective, fetchRemoteTemplate?: boolean, $element?: IAugmentedJQuery): string | TrustedHTML | Promise<string | TrustedHTML>;
buildController(controllerType: IController, $scope: IScope): any;
compileTemplate(template?: string): ILinkFn;
compileTemplate(template?: string | TrustedHTML): ILinkFn;
onDestroy($scope: IScope, controllerInstance?: any): void;

@@ -920,0 +944,0 @@ prepareTransclusion(): ILinkFn | undefined;

/**
* @license Angular v19.0.0-next.1
* @license Angular v19.0.0-next.2
* (c) 2010-2024 Google LLC. https://angular.io/

@@ -4,0 +4,0 @@ * License: MIT

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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