@transloadit/analyze-step
Advanced tools
Comparing version 0.4.0 to 0.4.1
type Condition = [value: string, operator: string, value: string]; | ||
type FileFilterStep = { | ||
interface FileFilterStep { | ||
accepts?: string | Condition[]; | ||
declines?: string | Condition[]; | ||
condition_type?: 'or' | 'and'; | ||
}; | ||
type StepWithDimensions = { | ||
} | ||
interface StepWithDimensions { | ||
width?: number | string; | ||
@@ -16,22 +16,18 @@ height?: number | string; | ||
}; | ||
}; | ||
type PresetStep = { | ||
} | ||
interface PresetStep { | ||
preset?: string; | ||
}; | ||
type ExtraMeta = { | ||
} | ||
interface ExtraMeta { | ||
deviceName?: string; | ||
}; | ||
type FormatStep = { | ||
} | ||
interface FormatStep { | ||
format?: string; | ||
}; | ||
type Robots = { | ||
[key: string]: { | ||
rname: string; | ||
purpose_words: string; | ||
}; | ||
}; | ||
type Step = Partial<FileFilterStep> & Partial<StepWithDimensions> & Partial<PresetStep> & Partial<FormatStep> & { | ||
[key: string]: any; | ||
}; | ||
} | ||
type Robots = Record<string, { | ||
rname: string; | ||
purpose_words: string; | ||
}>; | ||
type Step = Partial<FileFilterStep> & Partial<StepWithDimensions> & Partial<PresetStep> & Partial<FormatStep> & Record<string, any>; | ||
declare const _default: (step: Step, robots: Robots, extrameta?: ExtraMeta) => string; | ||
export = _default; |
{ | ||
"name": "@transloadit/analyze-step", | ||
"version": "0.4.0", | ||
"version": "0.4.1", | ||
"repository": { | ||
@@ -16,5 +16,2 @@ "type": "git", | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
@@ -25,4 +22,4 @@ "test": "echo \"Error: run tests from root\" && exit 1", | ||
"dependencies": { | ||
"@transloadit/format-duration-ms": "^0.4.0", | ||
"@transloadit/prettier-bytes": "^0.3.1", | ||
"@transloadit/format-duration-ms": "^0.4.1", | ||
"@transloadit/prettier-bytes": "^0.3.2", | ||
"inflection": "^3.0.0", | ||
@@ -39,3 +36,3 @@ "jsonpath-plus": "^7.2.0", | ||
}, | ||
"gitHead": "2ecaca98e3fd0b6804d925b8e071c3d37a3532a3" | ||
"gitHead": "0a3041d61326d5de201cb1728e1a1a2d7a0cd5bc" | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
119086
10
1082
1