
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.
gl-sp-frontend
Advanced tools
Common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript
This package (glaucioleonardo-sharepoint-frontend) is a common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript.
This package contains the types for using with Typescript.
The easiest way to install this library is via npm using the following commands:
npm install gl-sp-frontend --save
;npm install gl-sp-frontend@version --save
;npm install es6-promise --save
npm install whatwg-fetch --save
This is how you should include in your code and voila \o/:
import * as promise from 'es6-promise';
import 'whatwg-fetch';
class MyBeautifulClass {
constructor() {
promise.polyfill();
}
}
If you are using Angular 2+, just import these packages inside polyfill.js and in the section:
/** IE10 and IE11 requires the following for external source of SVG when using <use> tag */
include promise.polyfill();
and everything should work fine!
If you are using only browser version:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>gl-sp-frontend</title>
...
</head>
<body>
...
<!-- Include here -->
<script src="https://github.com/glaucioleonardo/gl-sp-frontend/tree/master/lib/bundle.js"></script>
<!-- or just download this repo and refer to the bundle.js like this -->
<script src="js/bundle.js"></script>
</body>
</html>
bundle.js
inside lib/es6
Other features is going to be included frequently.
I'm really thankful for those packages creators!
FAQs
Common code for SharePoint 2013/2016 using among web front-end development such as ES6+ and TypeScript
The npm package gl-sp-frontend receives a total of 5 weekly downloads. As such, gl-sp-frontend popularity was classified as not popular.
We found that gl-sp-frontend demonstrated a healthy version release cadence and project activity because the last version was released less than 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.