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.4.3 to 0.5.0-alpha.0

0

dist/index.d.ts
import { SharedData } from '@stylin/msa-loader/index';
declare function loader(content: string, sourceMap: string, meta: SharedData): void;
export default loader;

3

dist/index.js

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

const path_1 = require("path");
const loader_utils_1 = require("loader-utils");
const parser_1 = require("./parser");

@@ -23,3 +22,3 @@ const fs_1 = require("fs");

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

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

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

export declare const parseProperty: (obj: Record<string | number, unknown>) => unknown;
export declare const parseVariable: (obj: Record<string | number, unknown>) => string;
export declare const parseProperty: (obj: any) => unknown;
export declare const parseVariable: (obj: any) => string;

@@ -0,0 +0,0 @@ "use strict";

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

@@ -28,14 +28,15 @@ "license": "MIT",

"devDependencies": {
"@types/node": "^17.0.24",
"@types/ramda": "^0.28.11",
"@typescript-eslint/eslint-plugin": "^5.19.0",
"@typescript-eslint/parser": "^5.19.0",
"eslint": "^8.13.0",
"eslint-plugin-react": "^7.29.4",
"loader-utils": "^3.2.0",
"typescript": "^4.6.3"
"@types/node": "^20.11.30",
"@types/ramda": "^0.29.11",
"@typescript-eslint/eslint-plugin": "^7.3.1",
"@typescript-eslint/parser": "^7.3.1",
"eslint": "^8.57.0",
"eslint-plugin-react": "^7.34.1",
"loader-utils": "^3.2.1",
"typescript": "^5.4.3"
},
"dependencies": {
"handlebars": "^4.7.7",
"ramda": "^0.28.0"
"@stylin/msa-loader": "^0.5.0-alpha.0",
"handlebars": "^4.7.8",
"ramda": "^0.29.1"
},

@@ -45,3 +46,3 @@ "publishConfig": {

},
"gitHead": "acca0a0747fa56042492654894124c3e8ddabcb2"
"gitHead": "8f4a94510b57de4702761606cdcd6eeffa6c6f83"
}

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