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

@babel/runtime

Package Overview
Dependencies
Maintainers
5
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@babel/runtime - npm Package Compare versions

Comparing version 7.5.3 to 7.5.4

9

helpers/esm/objectSpread2.js

@@ -18,4 +18,5 @@ import defineProperty from "./defineProperty";

for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
var source = arguments[i] != null ? arguments[i] : {};
ownKeys(source, true).forEach(function (key) {

@@ -25,6 +26,6 @@ defineProperty(target, key, source[key]);

} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i]));
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(arguments[i]).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(arguments[i], key));
ownKeys(source).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});

@@ -31,0 +32,0 @@ }

@@ -18,4 +18,5 @@ var defineProperty = require("./defineProperty");

for (var i = 1; i < arguments.length; i++) {
var source = arguments[i] != null ? arguments[i] : {};
if (i % 2) {
var source = arguments[i] != null ? arguments[i] : {};
ownKeys(source, true).forEach(function (key) {

@@ -25,6 +26,6 @@ defineProperty(target, key, source[key]);

} else if (Object.getOwnPropertyDescriptors) {
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i]));
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
} else {
ownKeys(arguments[i]).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(arguments[i], key));
ownKeys(source).forEach(function (key) {
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
});

@@ -31,0 +32,0 @@ }

{
"name": "@babel/runtime",
"version": "7.5.3",
"version": "7.5.4",
"description": "babel's modular runtime helpers",

@@ -15,5 +15,5 @@ "license": "MIT",

"devDependencies": {
"@babel/helpers": "^7.5.3"
"@babel/helpers": "^7.5.4"
},
"gitHead": "759ff4d6dfbfc2b6d86f2c2f2700a43557711af5"
"gitHead": "a9a7f4e690b15d569deb8a53719f37d6dc09393b"
}
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