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

@2sic.com/dnn-sxc-angular

Package Overview
Dependencies
Maintainers
3
Versions
96
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@2sic.com/dnn-sxc-angular - npm Package Compare versions

Comparing version 10.25.3-pre2 to 10.25.3-pre3

6

dist/context/context.service.d.ts

@@ -6,5 +6,11 @@ import { ElementRef } from '@angular/core';

appTagService: AppTagService;
preConfiguration: ContextInfo;
constructor();
private check2sxcVersion;
/**
* Pre-Configure this context - can be used to configure values in a subclass
* @param preConfig Pre-Configuration values for this context
*/
preConfigure(preConfig: ContextInfo): this;
/**
* Configure 2sxc in the context of a HTMLNode.

@@ -11,0 +17,0 @@ * @param htmlNode the HTMLNode

19

dist/context/context.service.js

@@ -49,2 +49,10 @@ var __extends = (this && this.__extends) || (function () {

/**
* Pre-Configure this context - can be used to configure values in a subclass
* @param preConfig Pre-Configuration values for this context
*/
Context.prototype.preConfigure = function (preConfig) {
this.preConfiguration = preConfig;
return this;
};
/**
* Configure 2sxc in the context of a HTMLNode.

@@ -55,6 +63,5 @@ * @param htmlNode the HTMLNode

this.appTagService = new AppTagService(htmlNode);
var settings = __assign({}, runtimeDefaults, this.getContextFromAppTag() // app tags override settings
);
// use moduleid from current object
// if injector got a module-id, use that, otherwise auto-detect
var settings = __assign({}, runtimeDefaults, this.getContextFromAppTag(), this.preConfiguration);
// Use pre-configured value already in settings if defined; otherwise
// get from HTMLNode
settings.sxc = settings.sxc ||

@@ -67,4 +74,4 @@ settings.moduleId

}
this.moduleId = settings.moduleId;
this.contentBlockId = settings.contentBlockId;
this.moduleId = settings.sxc.id;
this.contentBlockId = settings.sxc.cbid;
this.sxc = settings.sxc;

@@ -71,0 +78,0 @@ this.addHttpHeaders = settings.addHttpHeaders;

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

[{"__symbolic":"module","version":4,"metadata":{"Context":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./context-info","name":"ContextInfo","line":17,"character":29},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"check2sxcVersion":[{"__symbolic":"method"}],"autoConfigure":[{"__symbolic":"method"}],"getContextFromAppTag":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}}}]
[{"__symbolic":"module","version":4,"metadata":{"Context":{"__symbolic":"class","extends":{"__symbolic":"reference","module":"./context-info","name":"ContextInfo","line":17,"character":29},"decorators":[{"__symbolic":"call","expression":{"__symbolic":"reference","module":"@angular/core","name":"Injectable","line":12,"character":1},"arguments":[{"providedIn":"root"}]}],"members":{"__ctor__":[{"__symbolic":"constructor"}],"check2sxcVersion":[{"__symbolic":"method"}],"preConfigure":[{"__symbolic":"method"}],"autoConfigure":[{"__symbolic":"method"}],"getContextFromAppTag":[{"__symbolic":"method"}]},"statics":{"ngInjectableDef":{}}}}}]

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

{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbol":1,"members":[]},"members":{"__ctor__":[{"__symbolic":"constructor"}],"check2sxcVersion":[{"__symbolic":"method"}],"autoConfigure":[{"__symbolic":"method"}],"getContextFromAppTag":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"Context","filePath":"./context.service"},{"__symbol":1,"name":"ContextInfo","filePath":"./context-info"}]}
{"moduleName":null,"summaries":[{"symbol":{"__symbol":0,"members":[]},"metadata":{"__symbolic":"class","extends":{"__symbol":1,"members":[]},"members":{"__ctor__":[{"__symbolic":"constructor"}],"check2sxcVersion":[{"__symbolic":"method"}],"preConfigure":[{"__symbolic":"method"}],"autoConfigure":[{"__symbolic":"method"}],"getContextFromAppTag":[{"__symbolic":"method"}]}},"type":{"summaryKind":3,"type":{"reference":{"__symbol":0,"members":[]},"diDeps":[],"lifecycleHooks":[]}}}],"symbols":[{"__symbol":0,"name":"Context","filePath":"./context.service"},{"__symbol":1,"name":"ContextInfo","filePath":"./context-info"}]}
{
"name": "@2sic.com/dnn-sxc-angular",
"version": "10.25.3-pre2",
"version": "10.25.3-pre3",
"author": "2sic.com - daniel mettler and raphael müller",

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

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