reshow-runtime
Advanced tools
Comparing version 0.1.19 to 0.2.0
var defineProperties = function defineProperties(target, props) { | ||
for (var i = 0; i < props.length; i++) { | ||
for (var i = 0, j = props.length; i < j; i++) { | ||
var descriptor = props[i]; | ||
descriptor.enumerable = descriptor.enumerable || false; | ||
descriptor.configurable = true; | ||
if ('value' in descriptor) descriptor.writable = true; | ||
if ("value" in descriptor) descriptor.writable = true; | ||
Object.defineProperty(target, descriptor.key, descriptor); | ||
@@ -8,0 +8,0 @@ } |
export default function _defaults(obj, defaults) { | ||
var keys = Object.getOwnPropertyNames(defaults); | ||
for (var i = 0; i < keys.length; i++) { | ||
for (var i = 0, j = keys.length; i < j; i++) { | ||
var key = keys[i]; | ||
@@ -6,0 +6,0 @@ var value = Object.getOwnPropertyDescriptor(defaults, key); |
var _extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
var source = arguments[i]; | ||
@@ -4,0 +4,0 @@ |
@@ -1,6 +0,6 @@ | ||
import defineProperty from './defineProperty'; | ||
import typeIs from './getTypeOf'; | ||
import { FUNCTION } from 'reshow-constant'; | ||
import defineProperty from "./defineProperty"; | ||
import typeIs from "./getTypeOf"; | ||
import { FUNCTION } from "reshow-constant"; | ||
export default function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
@@ -7,0 +7,0 @@ var ownKeys = Object.keys(source); |
import defineProperty from "./defineProperty"; | ||
import typeIs from './getTypeOf'; | ||
import { FUNCTION } from 'reshow-constant'; | ||
import typeIs from "./getTypeOf"; | ||
import { FUNCTION } from "reshow-constant"; | ||
export default function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
if (i % 2 || !Object.getOwnPropertyDescriptors) { | ||
@@ -7,0 +7,0 @@ var source = arguments[i] != null ? arguments[i] : {}; |
var toConsumableArray = function toConsumableArray(arr) { | ||
if (Array.isArray(arr) || !Array.from) { | ||
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { | ||
for (var i = 0, arr2 = Array(arr.length), j = arr.length; i < j; i++) { | ||
arr2[i] = arr[i]; | ||
@@ -5,0 +5,0 @@ } |
@@ -9,7 +9,7 @@ "use strict"; | ||
var defineProperties = function defineProperties(target, props) { | ||
for (var i = 0; i < props.length; i++) { | ||
for (var i = 0, j = props.length; i < j; i++) { | ||
var descriptor = props[i]; | ||
descriptor.enumerable = descriptor.enumerable || false; | ||
descriptor.configurable = true; | ||
if ('value' in descriptor) descriptor.writable = true; | ||
if ("value" in descriptor) descriptor.writable = true; | ||
Object.defineProperty(target, descriptor.key, descriptor); | ||
@@ -16,0 +16,0 @@ } |
@@ -11,3 +11,3 @@ "use strict"; | ||
for (var i = 0; i < keys.length; i++) { | ||
for (var i = 0, j = keys.length; i < j; i++) { | ||
var key = keys[i]; | ||
@@ -14,0 +14,0 @@ var value = Object.getOwnPropertyDescriptor(defaults, key); |
@@ -9,3 +9,3 @@ "use strict"; | ||
var _extends = Object.assign || function (target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
var source = arguments[i]; | ||
@@ -12,0 +12,0 @@ |
@@ -17,3 +17,3 @@ "use strict"; | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
@@ -20,0 +20,0 @@ var ownKeys = Object.keys(source); |
@@ -17,3 +17,3 @@ "use strict"; | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
for (var i = 1, j = arguments.length; i < j; i++) { | ||
if (i % 2 || !Object.getOwnPropertyDescriptors) { | ||
@@ -20,0 +20,0 @@ var source = arguments[i] != null ? arguments[i] : {}; |
@@ -10,3 +10,3 @@ "use strict"; | ||
if (Array.isArray(arr) || !Array.from) { | ||
for (var i = 0, arr2 = Array(arr.length); i < arr.length; i++) { | ||
for (var i = 0, arr2 = Array(arr.length), j = arr.length; i < j; i++) { | ||
arr2[i] = arr[i]; | ||
@@ -13,0 +13,0 @@ } |
{ | ||
"name": "reshow-runtime", | ||
"version": "0.1.19", | ||
"version": "0.2.0", | ||
"description": "Babel runtime alternative", | ||
@@ -5,0 +5,0 @@ "repository": "react-atomic/reshow", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
41775