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

@stylin/ts-loader

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@stylin/ts-loader - npm Package Compare versions

Comparing version 0.2.0 to 0.3.0

5

dist/index.js

@@ -20,3 +20,2 @@ "use strict";

};
const toCamelCase = R.pipe(R.toLower, R.replace(/(^\w|[-_][a-z])/g, R.pipe(R.toUpper, R.replace(`-`, ``), R.replace(`_`, ``))));
function loader(content, sourceMap, meta) {

@@ -31,7 +30,7 @@ const onComplete = this.async();

componentName,
isExtended: tagName && !!(parsedVariables || parsedVariables),
isExtended: tagName && (parsedProperties || parsedVariables) && true,
isStyled: !tagName,
properties: parsedProperties,
propsType: propsType(componentName, this.resource),
styledPropsType: styledPropsType(componentName || toCamelCase(className)),
styledPropsType: styledPropsType(componentName),
tagName,

@@ -38,0 +37,0 @@ variables: parsedVariables,

4

package.json
{
"name": "@stylin/ts-loader",
"version": "0.2.0",
"version": "0.3.0",
"description": "Stylin TypeScript typing loader module for webpack",

@@ -44,3 +44,3 @@ "license": "MIT",

},
"gitHead": "226894fec336c3f532652ca9f9c62297e2a2d242"
"gitHead": "132c38e58c7319ba7c1d45fb20358db2ac713ae4"
}

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