Socket
Socket
Sign inDemoInstall

@springernature/global-javascript

Package Overview
Dependencies
0
Maintainers
13
Versions
12
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.2 to 3.0.3

5

HISTORY.md
# History
## 3.0.3 (2021-06-03)
* Replace for .. in loop in `makeArray` to iterate safely over a `NodeList` in old browsers
## 3.0.2 (2021-04-15)
* Replace use of for of loop to generate smaller transpiled bundle
* Replace for .. of loop in `makeArray` to generate a smaller transpiled bundle

@@ -6,0 +9,0 @@ ## 3.0.1 (2020-11-19)

4

package.json
{
"name": "@springernature/global-javascript",
"version": "3.0.2",
"version": "3.0.3",
"license": "MIT",
"description": "Globally shared Javascript helpers",
"description": "Globally shared JavaScript helpers",
"keywords": [

@@ -7,0 +7,0 @@ "javascript",

@@ -8,7 +8,5 @@ const makeArray = iterable => {

for (const key in iterable) {
if (Object.prototype.hasOwnProperty.call(iterable, key)) {
list.push(iterable[key]);
}
}
Array.prototype.forEach.call(iterable, function (item) {
list.push(item);
});

@@ -15,0 +13,0 @@ return list;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc