Research
Security News
Malicious npm Package Targets Solana Developers and Hijacks Funds
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
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 64 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
A malicious npm package targets Solana developers, rerouting funds in 2% of transactions to a hardcoded address.
Security News
Research
Socket researchers have discovered malicious npm packages targeting crypto developers, stealing credentials and wallet data using spyware delivered through typosquats of popular cryptographic libraries.
Security News
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.