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

@sketch-hq/sketch-file-format

Package Overview
Dependencies
Maintainers
3
Versions
61
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

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

Comparing version 3.7.3 to 5.2.3

dist/index.d.ts.map

7

CHANGELOG.md
# @sketch-hq/sketch-file-format
## 5.2.3
### Patch Changes
- 34bb488: Add schemas for coedit patch info.
- 0ec06d1: Migration to monorepo
## 3.7.3

@@ -4,0 +11,0 @@

1

dist/index.d.ts

@@ -16,1 +16,2 @@ /**

export default schemas;
//# sourceMappingURL=index.d.ts.map

148

dist/meta.schema.json

@@ -5,2 +5,76 @@ {

"type": "object",
"$id": "https://unpkg.com/@sketch-hq/sketch-file-format@5.2.3/dist/meta.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Uuid": {
"title": "UUID",
"description": "UUID string.",
"type": "string",
"pattern": "^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$",
"$id": "#Uuid"
},
"BundleId": {
"title": "Sketch Bundle Identifier",
"description": "Enumeration of the Apple bundle ids for the various variants of Sketch",
"type": "string",
"enum": [
"com.bohemiancoding.sketch3",
"com.bohemiancoding.sketch3.beta",
"com.bohemiancoding.sketch3.private",
"com.bohemiancoding.sketch3.feature-preview",
"com.bohemiancoding.sketch3.internal",
"com.bohemiancoding.sketch3.experimental",
"com.bohemiancoding.sketch3.testing"
],
"enumDescriptions": [
"Public release",
"Beta",
"Private",
"Feature preview",
"Internal",
"Experimental",
"Testing"
],
"$id": "#BundleId"
},
"NumericalBool": {
"title": "Numerical Boolean",
"description": "A numerical boolean where 0 is false, and 1 is true.",
"type": "integer",
"enum": [0, 1],
"enumDescriptions": ["True", "False"],
"$id": "#NumericalBool"
},
"SketchVariant": {
"title": "Sketch Variant",
"description": "Enumeration of the Sketch variants",
"type": "string",
"enum": [
"NONAPPSTORE",
"APPSTORE",
"BETA",
"PRIVATE",
"FEATURE_PREVIEW",
"INTERNAL",
"EXPERIMENTAL",
"TESTING",
"UNITTEST"
],
"$id": "#SketchVariant"
}
},
"required": [
"commit",
"pagesAndArtboards",
"version",
"fonts",
"compatibilityVersion",
"app",
"autosaved",
"variant",
"created",
"saveHistory",
"appVersion",
"build"
],
"properties": {

@@ -142,77 +216,3 @@ "commit": {

},
"$id": "https://unpkg.com/@sketch-hq/sketch-file-format@3.7.3/dist/meta.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"definitions": {
"Uuid": {
"title": "UUID",
"description": "UUID string.",
"type": "string",
"pattern": "^[0-9A-F]{8}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{4}-[0-9A-F]{12}$",
"$id": "#Uuid"
},
"BundleId": {
"title": "Sketch Bundle Identifier",
"description": "Enumeration of the Apple bundle ids for the various variants of Sketch",
"type": "string",
"enum": [
"com.bohemiancoding.sketch3",
"com.bohemiancoding.sketch3.beta",
"com.bohemiancoding.sketch3.private",
"com.bohemiancoding.sketch3.feature-preview",
"com.bohemiancoding.sketch3.internal",
"com.bohemiancoding.sketch3.experimental",
"com.bohemiancoding.sketch3.testing"
],
"enumDescriptions": [
"Public release",
"Beta",
"Private",
"Feature preview",
"Internal",
"Experimental",
"Testing"
],
"$id": "#BundleId"
},
"NumericalBool": {
"title": "Numerical Boolean",
"description": "A numerical boolean where 0 is false, and 1 is true.",
"type": "integer",
"enum": [0, 1],
"enumDescriptions": ["True", "False"],
"$id": "#NumericalBool"
},
"SketchVariant": {
"title": "Sketch Variant",
"description": "Enumeration of the Sketch variants",
"type": "string",
"enum": [
"NONAPPSTORE",
"APPSTORE",
"BETA",
"PRIVATE",
"FEATURE_PREVIEW",
"INTERNAL",
"EXPERIMENTAL",
"TESTING",
"UNITTEST"
],
"$id": "#SketchVariant"
}
},
"required": [
"commit",
"pagesAndArtboards",
"version",
"fonts",
"compatibilityVersion",
"app",
"autosaved",
"variant",
"created",
"saveHistory",
"appVersion",
"build"
],
"additionalProperties": false
}

@@ -14,40 +14,3 @@ {

},
"properties": {
"document": {
"type": "object",
"required": ["pageListHeight", "pageListCollapsed"],
"properties": {
"pageListHeight": {
"type": "integer"
},
"pageListCollapsed": {
"$ref": "#/definitions/NumericalBool"
},
"expandedSymbolPathsInSidebar": {
"type": "array"
},
"expandedTextStylePathsInPopover": {
"type": "array"
},
"libraryListCollapsed": {
"$ref": "#/definitions/NumericalBool"
}
},
"additionalProperties": false
}
},
"additionalProperties": {
"type": "object",
"required": ["scrollOrigin", "zoomValue"],
"properties": {
"scrollOrigin": {
"$ref": "#/definitions/PointString"
},
"zoomValue": {
"type": "number"
}
},
"additionalProperties": false
},
"$id": "https://unpkg.com/@sketch-hq/sketch-file-format@3.7.3/dist/user.schema.json",
"$id": "https://unpkg.com/@sketch-hq/sketch-file-format@5.2.3/dist/user.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",

@@ -78,3 +41,40 @@ "definitions": {

},
"required": ["document"]
"required": ["document"],
"additionalProperties": {
"type": "object",
"required": ["scrollOrigin", "zoomValue"],
"properties": {
"scrollOrigin": {
"$ref": "#/definitions/PointString"
},
"zoomValue": {
"type": "number"
}
},
"additionalProperties": false
},
"properties": {
"document": {
"type": "object",
"required": ["pageListHeight", "pageListCollapsed"],
"properties": {
"pageListHeight": {
"type": "integer"
},
"pageListCollapsed": {
"$ref": "#/definitions/NumericalBool"
},
"expandedSymbolPathsInSidebar": {
"type": "array"
},
"expandedTextStylePathsInPopover": {
"type": "array"
},
"libraryListCollapsed": {
"$ref": "#/definitions/NumericalBool"
}
},
"additionalProperties": false
}
}
}
{
"name": "@sketch-hq/sketch-file-format",
"version": "3.7.3",
"version": "5.2.3",
"license": "MIT",
"main": "dist/index",
"types": "dist/index",
"repository": "github:sketch-hq/sketch-file-format",
"repository": "github:sketch-hq/sketch-document",
"keywords": [

@@ -16,28 +16,23 @@ "sketch",

],
"files": ["dist"],
"files": [
"dist"
],
"dependencies": {
"@types/json-schema": "7.0.4"
"@types/json-schema": "7.0.7"
},
"devDependencies": {
"@changesets/cli": "2.5.1",
"@commitlint/cli": "8.2.0",
"@commitlint/config-conventional": "8.2.0",
"@commitlint/prompt-cli": "8.3.5",
"@sketch-hq/sketch-reference-files": "2.2.0",
"@types/js-yaml": "3.12.2",
"@sketch-hq/sketch-reference-files": "2.3.0",
"@types/js-yaml": "4.0.0",
"@types/json-schema-merge-allof": "0.6.0",
"@types/lodash": "4.14.149",
"@types/node": "13.7.1",
"ajv": "6.11.0",
"chalk": "3.0.0",
"change-case": "4.1.1",
"deepdash": "4.5.1",
"globby": "11.0.0",
"js-yaml": "3.13.1",
"json-schema-merge-allof": "0.6.0",
"@types/lodash": "4.14.168",
"ajv": "6.12.6",
"chalk": "4.1.0",
"change-case": "4.1.2",
"deepdash": "5.3.5",
"globby": "11.0.3",
"js-yaml": "4.0.0",
"json-schema-merge-allof": "0.8.1",
"json-transforms": "1.1.2",
"lodash": "4.17.15",
"node-stream-zip": "1.9.1",
"prettier": "1.19.1",
"typescript": "3.8.1-rc"
"lodash": "4.17.21",
"node-stream-zip": "1.13.2"
},

@@ -53,5 +48,4 @@ "scripts": {

"test": "echo \"No test specified\"",
"format-check": "prettier --check {schema/{**/,}*.yaml,*.md,src/*.ts}",
"release": "yarn build && changeset publish"
"format-check": "prettier --check {schema/{**/,}*.yaml,*.md,src/*.ts} --ignore-path ../../.prettierignore"
}
}

@@ -191,25 +191,2 @@ # Sketch File Format

#### Pre-release
> ℹī¸ This section is work in progress until we release our first pre-release.
> Pre-releases will be used as a staging area to publish changes to the
> specification required by an as-yet unreleased version of the Sketch Mac app.
1. Create a new branch to track the pre-release, e.g. `v5`
1. Read the changesets pre-release
[docs](https://github.com/atlassian/changesets/blob/main/docs/prereleases.md)
1. Enter pre-release mode on the branch `yarn changeset pre enter {tag}`
1. Commit the changes and push the branch. This branch will act as a stand-in
for `main` for all work related to the pre-release
1. PR into the new branch with feature branches, calling `yarn changeset` as per
normal to signal intents to publish. Since this is a pre-release it's likely
that we'll be marshalling a major version bump
1. Publishing pre-releases is not automated, so when you're ready to publish the
pre-release call `yarn changeset version` and then `yarn release`
#### Release
1. Merge the release PR maintained by the changesets
[GitHub Action](https://github.com/changesets/action).
### Processing during build

@@ -216,0 +193,0 @@

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

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