
Research
Security News
Malicious PyPI Package Exploits Deezer API for Coordinated Music Piracy
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
angular-create-pdf
Advanced tools
angular5+以上的版本可以使用
npm i angular-create-pdf
AngularCreatePdfModule
需添加到使用的module
的文件中。此处以AppModule
为例:
import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { AngularCreatePdfModule } from 'angular-create-pdf';
import { AppRoutingModule } from './app-routing.module';
import { AppComponent } from './app.component';
@NgModule({
declarations: [
AppComponent
],
imports: [
BrowserModule,
AngularCreatePdfModule,
AppRoutingModule,
],
providers: [],
bootstrap: [AppComponent]
})
export class AppModule { }
import { Component, OnInit } from '@angular/core';
import { AngularCreatePdfService } from 'angular-create-pdf';
@Component({
selector: 'app-pdf-demo',
template: `
<div #pdfContainer>
<p>A cookie associated with a cross-site resource at was set without the `SameSite` attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with `SameSite=None` and `Secure`. You can review cookies in developer tools under Application>Storage>Cookies and see more details at and .</p>
</div>
<button (click)="createPdfTem(pdfContainer)">生成PDF</button>
`
})
export class AppPadDemoComponent {
constructor(
private pdfService: AngularCreatePdfService,
) { }
ngOnInit() {
}
public createPdfTem(ele: any) {
this.pdfService.createPdf(ele, '我的PDF');
}
}
FAQs
angular7.0+ ViewInfo
The npm package angular-create-pdf receives a total of 1 weekly downloads. As such, angular-create-pdf popularity was classified as not popular.
We found that angular-create-pdf demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncovered a malicious PyPI package exploiting Deezer’s API to enable coordinated music piracy through API abuse and C2 server control.
Research
The Socket Research Team discovered a malicious npm package, '@ton-wallet/create', stealing cryptocurrency wallet keys from developers and users in the TON ecosystem.
Security News
Newly introduced telemetry in devenv 1.4 sparked a backlash over privacy concerns, leading to the removal of its AI-powered feature after strong community pushback.