@stylin/ts-loader
Advanced tools
Comparing version 0.4.3 to 0.5.0-alpha.0
import { SharedData } from '@stylin/msa-loader/index'; | ||
declare function loader(content: string, sourceMap: string, meta: SharedData): void; | ||
export default loader; |
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
11823
3
64
+ Added@stylin/msa-loader@0.5.1(transitive)
+ Addedramda@0.29.1(transitive)
- Removedramda@0.28.0(transitive)
Updatedhandlebars@^4.7.8
Updatedramda@^0.29.1