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.3.0 to 0.4.0-alpha.0

6

dist/index.js

@@ -11,6 +11,6 @@ "use strict";

const toDTS = Handlebars.compile(template, { noEscape: true });
const defOptions = {
const makeOptions = R.merge({
propsType: (name) => `${name}Props`,
styledPropsType: (name) => `Styled${name}Props`,
};
});
const nameFile = (path) => {

@@ -23,3 +23,3 @@ const dirName = path_1.dirname(path);

const onComplete = this.async();
const { propsType, styledPropsType } = R.merge(defOptions, loader_utils_1.getOptions(this));
const { propsType, styledPropsType } = makeOptions(loader_utils_1.getOptions(this));
const exports = meta.msa.map(({ componentName, className, properties, tagName, variables }) => {

@@ -26,0 +26,0 @@ const parsedProperties = parser_1.parseProperty(properties);

{
"name": "@stylin/ts-loader",
"version": "0.3.0",
"version": "0.4.0-alpha.0",
"description": "Stylin TypeScript typing loader module for webpack",

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

},
"gitHead": "132c38e58c7319ba7c1d45fb20358db2ac713ae4"
"gitHead": "9a6d4aa09a11822768a04ece5221d1b518b23ab0"
}

@@ -5,3 +5,3 @@ # @stylin/ts-loader

<img src="./typing-support.gif" width="500px"/>
<img src="./typing-support.gif"/>
<br/>

@@ -8,0 +8,0 @@

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