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

css-to-ts

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

css-to-ts - npm Package Compare versions

Comparing version 0.1.0-beta.8 to 0.1.0-beta.9

6

@types/contracts.d.ts

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

export interface Options extends CSSToTsOptions {
export interface Options extends CssToTsOptions {
removeSource?: boolean;

@@ -7,5 +7,5 @@ pattern: string;

delimitter?: string;
ignore?: Array<string>;
exclude?: Array<string>;
}
export interface CSSToTsOptions {
export interface CssToTsOptions {
rootDir: string;

@@ -12,0 +12,0 @@ outDir: string;

@@ -5,2 +5,2 @@ export { Arguments } from "./arguments";

export { ConvertCssToTs } from "./css-to-ts";
export { Options, CSSToTsOptions } from "./contracts";
export { Options, CssToTsOptions } from "./contracts";

@@ -55,6 +55,6 @@ Object.defineProperty(exports, "__esModule", { value: true });

})
.option("ignore", {
describe: "Specifies array of glob patterns to exclude matches.",
.option("exclude", {
describe: "Specifies an array of globs to exclude.",
type: "array"
})
.argv;

@@ -32,3 +32,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

this.options.delimitter = this.options.delimitter || helpers_1.CLIDefaults.delimitter;
this.options.ignore = this.options.ignore || helpers_1.CLIDefaults.ignore;
this.options.exclude = this.options.exclude || helpers_1.CLIDefaults.exclude;
if (this.options.watch) {

@@ -60,3 +60,3 @@ this.watchCss();

new glob_1.Glob(pattern, {
ignore: this.options.ignore,
ignore: this.options.exclude,
cwd: cwd

@@ -78,3 +78,3 @@ }, (error, filesArray) => {

let watcher = chokidar_1.watch(this.options.pattern, {
ignored: this.options.ignore,
ignored: this.options.exclude,
cwd: cwd

@@ -81,0 +81,0 @@ });

@@ -12,3 +12,3 @@ Object.defineProperty(exports, "__esModule", { value: true });

delimitter: "-",
ignore: ["**/node_modules/**"]
exclude: ["**/node_modules/**"]
};

@@ -15,0 +15,0 @@ function IsNodeError(error) {

{
"name": "css-to-ts",
"version": "0.1.0-beta.8",
"version": "0.1.0-beta.9",
"description": "css-to-ts takes css file and outputs TypeScript file with an exported string containing content of your css file.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -43,3 +43,3 @@ # css-to-ts

| --cwd | string | `process.cwd()` | Specifies current working directory. |
| --ignore | array | `["**/node_modules/**"]` | Array of globs to be ignored. |
| --exclude | array | `["**/node_modules/**"]` | Specifies an array of globs to exclude. |

@@ -46,0 +46,0 @@ ## Example

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