@carbon/type
Advanced tools
Comparing version
@@ -174,16 +174,20 @@ import { baseFontSize, px, breakpoint, breakpoints, rem } from '@carbon/layout'; | ||
function _objectSpread(target) { | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (i % 2) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i])); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
@@ -252,3 +256,3 @@ | ||
fluidBreakpointNames.forEach(function (name) { | ||
styles[breakpoint(name)] = _objectSpread({}, fluidBreakpoints[name], { | ||
styles[breakpoint(name)] = _objectSpread2({}, fluidBreakpoints[name], { | ||
fontSize: fluidTypeSize(styles, name, fluidBreakpoints) | ||
@@ -255,0 +259,0 @@ }); |
@@ -178,16 +178,20 @@ 'use strict'; | ||
function _objectSpread(target) { | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (i % 2) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i])); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
@@ -256,3 +260,3 @@ | ||
fluidBreakpointNames.forEach(function (name) { | ||
styles[layout.breakpoint(name)] = _objectSpread({}, fluidBreakpoints[name], { | ||
styles[layout.breakpoint(name)] = _objectSpread2({}, fluidBreakpoints[name], { | ||
fontSize: fluidTypeSize(styles, name, fluidBreakpoints) | ||
@@ -259,0 +263,0 @@ }); |
{ | ||
"name": "@carbon/type", | ||
"description": "Typography for digital and software products using the Carbon Design System", | ||
"version": "10.4.0-alpha.5518+1a786efd8", | ||
"version": "10.4.0-alpha.5613+5c4a25e91", | ||
"license": "Apache-2.0", | ||
@@ -35,7 +35,7 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@carbon/import-once": "^10.4.0-alpha.5518+1a786efd8", | ||
"@carbon/layout": "^10.4.0-alpha.5518+1a786efd8" | ||
"@carbon/import-once": "^10.3.0", | ||
"@carbon/layout": "^10.4.0-alpha.5613+5c4a25e91" | ||
}, | ||
"devDependencies": { | ||
"@carbon/bundler": "^10.4.0-alpha.5518+1a786efd8", | ||
"@carbon/bundler": "^10.4.0-alpha.5613+5c4a25e91", | ||
"rimraf": "^2.6.2" | ||
@@ -49,3 +49,3 @@ }, | ||
}, | ||
"gitHead": "1a786efd8ef95572699cc00a03bc2858c794ca08" | ||
"gitHead": "5c4a25e9107cc91af7383cb74139d9680891d289" | ||
} |
@@ -178,16 +178,20 @@ (function (global, factory) { | ||
function _objectSpread(target) { | ||
function _objectSpread2(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (i % 2) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
var ownKeys = Object.keys(source); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
if (typeof Object.getOwnPropertySymbols === 'function') { | ||
ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(source, sym).enumerable; | ||
})); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(arguments[i])); | ||
} | ||
ownKeys.forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} | ||
@@ -256,3 +260,3 @@ | ||
fluidBreakpointNames.forEach(function (name) { | ||
styles[layout.breakpoint(name)] = _objectSpread({}, fluidBreakpoints[name], { | ||
styles[layout.breakpoint(name)] = _objectSpread2({}, fluidBreakpoints[name], { | ||
fontSize: fluidTypeSize(styles, name, fluidBreakpoints) | ||
@@ -259,0 +263,0 @@ }); |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
295377
0.14%2909
0.41%