Socket
Socket
Sign inDemoInstall

@styled-system/variant

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@styled-system/variant - npm Package Compare versions

Comparing version 5.0.0-5 to 5.0.0-alpha.0

14

dist/index.js
"use strict";
exports.__esModule = true;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports["default"] = exports.variant = void 0;

@@ -8,5 +10,5 @@

function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
var variant = function variant(_ref) {
var _config;
var key = _ref.key,

@@ -21,3 +23,5 @@ _ref$prop = _ref.prop,

sx.scale = key;
var config = (_config = {}, _config[prop] = sx, _config);
var config = _defineProperty({}, prop, sx);
var parser = (0, _core.createParser)(config);

@@ -29,2 +33,2 @@ return parser;

var _default = variant;
exports["default"] = _default;
exports["default"] = _default;
{
"name": "@styled-system/variant",
"version": "5.0.0-5",
"version": "5.0.0-alpha.0",
"main": "dist/index.js",
"module": "dist/index.esm.js",
"author": "Brent Jackson <jxnblk@gmail.com>",
"license": "MIT",
"scripts": {
"prepare": "mkdir -p dist && npm run build:cjs && npm run build:esm",
"build:cjs": "NODE_ENV=cjs babel src/index.js -o dist/index.js",
"build:esm": "NODE_ENV=esm babel src/index.js -o dist/index.esm.js"
"prepare": "babel src -d dist"
},
"dependencies": {
"@styled-system/core": "^5.0.0-5"
"@styled-system/core": "^5.0.0-alpha.0"
},
"gitHead": "2ff17e9f5bf9925e9dd6d7d43c77e924b8dd1b20",
"gitHead": "5357d5b7338f1236054dcd026bb27d8ca6a8e146",
"publishConfig": {

@@ -18,0 +15,0 @@ "access": "public"

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc