Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sketch-hq/sketch-file-format-ts

Package Overview
Dependencies
Maintainers
3
Versions
31
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sketch-hq/sketch-file-format-ts - npm Package Compare versions

Comparing version 5.2.2 to 5.2.3

8

CHANGELOG.md
# @sketch-hq/sketch-file-format-ts
## 5.2.3
### Patch Changes
- Updated dependencies [34bb488]
- Updated dependencies [0ec06d1]
- @sketch-hq/sketch-file-format@5.2.3
## 5.2.2

@@ -4,0 +12,0 @@

17

dist/cjs/index.js
"use strict";
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
Object.defineProperty(o, "default", { enumerable: true, value: v });
}) : function(o, v) {
o["default"] = v;
});
var __importStar = (this && this.__importStar) || function (mod) {
if (mod && mod.__esModule) return mod;
var result = {};
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k];
result["default"] = mod;
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
__setModuleDefault(result, mod);
return result;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.FileFormat3 = exports.FileFormat2 = exports.FileFormat1 = void 0;
const FileFormat1 = __importStar(require("./v1-types.js"));

@@ -11,0 +24,0 @@ exports.FileFormat1 = FileFormat1;

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0;
/**

@@ -4,0 +5,0 @@ * Enumeration of the gradient types

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0;
/**

@@ -4,0 +5,0 @@ * Enumeration of the gradient types

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.ClassValue = exports.NumericalBool = exports.BundleId = exports.TextBehaviour = exports.LineSpacingBehaviour = exports.CurveMode = exports.PointsRadiusBehaviour = exports.InferredLayoutAnchor = exports.InferredLayoutAxis = exports.ResizeType = exports.LayerListExpanded = exports.AnimationType = exports.VisibleScaleType = exports.ExportFormatNamingScheme = exports.ExportFileFormat = exports.BooleanOperation = exports.UnderlineStyle = exports.TextTransform = exports.TextHorizontalAlignment = exports.TextVerticalAlignment = exports.WindingRule = exports.MarkerType = exports.PatternFillType = exports.BlurType = exports.LineJoinStyle = exports.LineCapStyle = exports.BlendMode = exports.BorderPosition = exports.FillType = exports.ColorSpace = exports.GradientType = void 0;
/**

@@ -323,2 +324,3 @@ * Enumeration of the gradient types

ClassValue["MSImmutableOverrideProperty"] = "MSImmutableOverrideProperty";
ClassValue["MSImmutablePatchInfo"] = "MSImmutablePatchInfo";
ClassValue["MSJSONFileReference"] = "MSJSONFileReference";

@@ -325,0 +327,0 @@ ClassValue["MSJSONOriginalDataReference"] = "MSJSONOriginalDataReference";

@@ -321,2 +321,3 @@ /**

ClassValue["MSImmutableOverrideProperty"] = "MSImmutableOverrideProperty";
ClassValue["MSImmutablePatchInfo"] = "MSImmutablePatchInfo";
ClassValue["MSJSONFileReference"] = "MSJSONFileReference";

@@ -323,0 +324,0 @@ ClassValue["MSJSONOriginalDataReference"] = "MSJSONOriginalDataReference";

23

package.json
{
"name": "@sketch-hq/sketch-file-format-ts",
"description": "TypeScript types for the Sketch File Format",
"version": "5.2.2",
"version": "5.2.3",
"main": "dist/cjs/index",

@@ -12,3 +12,3 @@ "types": "dist/cjs/index",

],
"repository": "github:sketch-hq/sketch-file-format-ts",
"repository": "github:sketch-hq/sketch-document",
"keywords": [

@@ -22,17 +22,11 @@ "sketch",

],
"devDependencies": {
"@changesets/cli": "2.12.0",
"dependencies": {
"@sketch-hq/sketch-file-format-1": "npm:@sketch-hq/sketch-file-format@1.1.7",
"@sketch-hq/sketch-file-format-2": "npm:@sketch-hq/sketch-file-format@2.0.3",
"@sketch-hq/sketch-file-format-3": "npm:@sketch-hq/sketch-file-format@3.7.2",
"@sketch-hq/sketch-file-format": "5.2.3"
},
"devDependencies": {
"@types/humps": "2.0.0",
"@types/jest": "26.0.16",
"@types/node": "14.14.10",
"@types/prettier": "2.1.5",
"humps": "2.0.1",
"jest": "26.6.2",
"prettier": "2.2.1",
"ts-jest": "26.4.4",
"ts-node": "9.1.0",
"typescript": "3.8.3"
"ts-node": "9.1.1"
},

@@ -43,5 +37,4 @@ "scripts": {

"test": "jest",
"release": "yarn build && changeset publish",
"format-check": "prettier --check {**/,}*.{ts,md,json}"
"format-check": "prettier --check {**/,}*.{ts,md,json} --ignore-path ../../.prettierignore"
}
}
# Sketch File Format TS
> TypeScript types for the Sketch File Format
Contains TypeScript types automatically generated from the
[Sketch File Format](../file-format) JSON Schemas.
## Overview
This repo contains TypeScript types automatically generated from the
[Sketch File Format](https://github.com/sketch-hq/sketch-file-format) JSON
Schemas.
Types are maintained and exported for each Sketch File Format major version. See
usage instructions below for more information.
## Use cases
- Strongly type objects representing Sketch documents, or fragments of Sketch
documents in TypeScript projects
## Related projects
- [sketch-file-format](https://github.com/sketch-hq/sketch-file-format)
## Usage

@@ -103,4 +91,4 @@

This section of the readme is related to developing the file format spec. If you
just want to consume the schemas you can safely ignore this.
Following is further information for making changes to how the types are
generated.

@@ -118,2 +106,5 @@ ### Approach

Please note that the latest version of the schemas is referenced directly within
the monorepo and **not** using aliases.
### Scripts

@@ -153,6 +144,1 @@

1. Open a PR to `main`
#### Release
1. Merge the release PR maintained by the changesets
[GitHub Action](https://github.com/changesets/action).
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