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

@tamagui/shapes

Package Overview
Dependencies
Maintainers
1
Versions
1090
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tamagui/shapes - npm Package Compare versions

Comparing version 1.0.1-beta.72 to 1.0.1-beta.73

5

dist/cjs/getShapeSize.js

@@ -5,3 +5,2 @@ var __defProp = Object.defineProperty;

var __hasOwnProp = Object.prototype.hasOwnProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
var __export = (target, all) => {

@@ -25,3 +24,3 @@ for (var name in all)

module.exports = __toCommonJS(getShapeSize_exports);
const getShapeSize = /* @__PURE__ */ __name((size, { tokens }) => {
const getShapeSize = (size, { tokens }) => {
const width = tokens.size[size] ?? size;

@@ -37,3 +36,3 @@ const height = tokens.size[size] ?? size;

};
}, "getShapeSize");
};
// Annotate the CommonJS export names for ESM import in node:

@@ -40,0 +39,0 @@ 0 && (module.exports = {

6

dist/esm/getShapeSize.js

@@ -1,4 +0,2 @@

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
const getShapeSize = /* @__PURE__ */ __name((size, { tokens }) => {
const getShapeSize = (size, { tokens }) => {
var _a, _b;

@@ -15,3 +13,3 @@ const width = (_a = tokens.size[size]) != null ? _a : size;

};
}, "getShapeSize");
};
export {

@@ -18,0 +16,0 @@ getShapeSize

@@ -1,4 +0,2 @@

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
const getShapeSize = /* @__PURE__ */ __name((size, { tokens }) => {
const getShapeSize = (size, { tokens }) => {
var _a, _b;

@@ -15,5 +13,5 @@ const width = (_a = tokens.size[size]) != null ? _a : size;

};
}, "getShapeSize");
};
export {
getShapeSize
};
{
"name": "@tamagui/shapes",
"version": "1.0.1-beta.72",
"version": "1.0.1-beta.73",
"sideEffects": [

@@ -24,4 +24,4 @@ "*.css"

"dependencies": {
"@tamagui/core": "^1.0.1-beta.72",
"@tamagui/stacks": "^1.0.1-beta.72"
"@tamagui/core": "^1.0.1-beta.73",
"@tamagui/stacks": "^1.0.1-beta.73"
},

@@ -32,3 +32,3 @@ "peerDependencies": {

"devDependencies": {
"@tamagui/build": "^1.0.1-beta.72",
"@tamagui/build": "^1.0.1-beta.73",
"react": "*"

@@ -35,0 +35,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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