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

angular-prism

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-prism - npm Package Compare versions

Comparing version 0.1.11 to 0.1.12

5

dist/src/prism.component.d.ts

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

import { Renderer2, ElementRef, AfterViewInit, OnInit } from '@angular/core';
export declare class PrismComponent implements AfterViewInit, OnInit {
import { Renderer2, ElementRef, AfterViewInit } from '@angular/core';
export declare class PrismComponent implements AfterViewInit {
private _renderer;

@@ -10,5 +10,4 @@ private _el;

private nativeElement;
ngOnInit(): void;
ngAfterViewInit(): void;
constructor(_renderer: Renderer2, _el: ElementRef);
}

2

dist/src/prism.component.js

@@ -19,4 +19,2 @@ "use strict";

}
ngOnInit() {
}
ngAfterViewInit() {

@@ -23,0 +21,0 @@ this.preNode = this._renderer.createElement('pre');

{
"name": "angular-prism",
"version": "0.1.11",
"version": "0.1.12",
"scripts": {

@@ -5,0 +5,0 @@ "build": "ngc -p tsconfig.json",

@@ -1,3 +0,4 @@

import { Component, Input, Renderer2, ElementRef, AfterViewInit, OnInit } from '@angular/core';
import { Component, Input, Renderer2, ElementRef, AfterViewInit } from '@angular/core';
declare var Prism: any;
@Component({

@@ -7,3 +8,3 @@ selector: 'prism-block',

})
export class PrismComponent implements AfterViewInit, OnInit {
export class PrismComponent implements AfterViewInit {
@Input() code: string;

@@ -14,5 +15,2 @@ @Input() language: string;

private nativeElement: Node;
ngOnInit() {
}
ngAfterViewInit () {

@@ -19,0 +17,0 @@ this.preNode = this._renderer.createElement('pre');

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