Socket
Socket
Sign inDemoInstall

startijenn-rem

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

startijenn-rem - npm Package Compare versions

Comparing version 1.0.0 to 1.0.1

2

index.cjs.js

@@ -51,3 +51,3 @@ 'use strict';

const em = (value, options) => convert(value, 'em', options);
const em = (value, baseline, options) => convert(value, 'em', { baseline, ...options });

@@ -54,0 +54,0 @@ const px = (value, options) => convert(value, 'px', options);

{
"name": "startijenn-rem",
"version": "1.0.0",
"version": "1.0.1",
"description": "JavaScript function to convert CSS rem units.",

@@ -12,3 +12,2 @@ "keywords": [

],
"type": "module",
"main": "./index.cjs.js",

@@ -15,0 +14,0 @@ "module": "./index.js",

@@ -58,3 +58,3 @@ # Startijenn Rem [![Build Status][ci-img]][ci]

font-size: ${(fontSize) => rem(fontSize)};
padding: ${(fontSize) => em(12, baseline)};
padding: ${(fontSize) => em(12, fontSize)};
margin: ${rem("8px 16px")};

@@ -61,0 +61,0 @@ `;

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