New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@prop-styles/core

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@prop-styles/core - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6

4

dist/index.es.js
/*!
* @prop-styles/core version 0.0.5
* @prop-styles/core version 0.0.6
* Author: Capricorncd<capricorncd@qq.com>
* Homepage: https://github.com/capricorncd/prop-styles#readme
* Released on: 2024-04-25 23:13:06 (GMT+0900)
* Released on: 2024-04-25 23:51:02 (GMT+0900)
*/

@@ -7,0 +7,0 @@ /*!

/*!
* @prop-styles/core version 0.0.5
* @prop-styles/core version 0.0.6
* Author: Capricorncd<capricorncd@qq.com>
* Homepage: https://github.com/capricorncd/prop-styles#readme
* Released on: 2024-04-25 23:13:06 (GMT+0900)
* Released on: 2024-04-25 23:51:02 (GMT+0900)
*/

@@ -7,0 +7,0 @@ (function(o,a){typeof exports=="object"&&typeof module<"u"?a(exports):typeof define=="function"&&define.amd?define(["exports"],a):(o=typeof globalThis<"u"?globalThis:o||self,a(o["prop-styles-core"]={}))})(this,function(o){"use strict";/*!

@@ -5,4 +5,6 @@ /**

*/
import type { Property } from 'csstype';
export function createPropStyles<T extends BaseProps>(props: T, mappings?: PropMappings): Record<string, string>;
export function formatReturn(key: string, value: V, strValue?: string): PropMappingHandlerReturn;
export function formatReturn<K extends string, V>(key: string, value: V, strValue?: string): PropMappingHandlerReturn;
export interface BaseProps {

@@ -9,0 +11,0 @@ // style

{
"name": "@prop-styles/core",
"version": "0.0.5",
"version": "0.0.6",
"description": "The library provides a static method createPropStyles to create Style objects.",

@@ -43,2 +43,3 @@ "main": "src/index.ts",

"devDependencies": {
"csstype": "^3.1.3",
"vitest": "^1.5.0"

@@ -45,0 +46,0 @@ },

@@ -80,2 +80,4 @@ # @prop-styles/core

- @generic `K extends string, V`
- @returns `PropMappingHandlerReturn` see [PropMappingHandlerReturn](#PropMappingHandlerReturn)

@@ -82,0 +84,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