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

@atlaskit/adf-schema

Package Overview
Dependencies
Maintainers
1
Versions
407
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaskit/adf-schema - npm Package Compare versions

Comparing version 1.5.2 to 1.5.3

5

CHANGELOG.md
# @atlaskit/adf-schema
## 1.5.3
- [patch] [775da616c6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/775da616c6):
- [ED-5910] Keep width & height on media node as number
## 1.5.2

@@ -4,0 +9,0 @@ - [patch] [e83a441140](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e83a441140):

@@ -34,2 +34,8 @@ import { N30 } from '../../utils/colors';

}
if (typeof attrs.width !== 'undefined' && !isNaN(attrs.width)) {
attrs.width = Number(attrs.width);
}
if (typeof attrs.height !== 'undefined' && !isNaN(attrs.height)) {
attrs.height = Number(attrs.height);
}
return attrs;

@@ -105,2 +111,6 @@ },

}
if (['width', 'height'].indexOf(key) !== -1) {
obj[key] = Number(node.attrs[key]);
return obj;
}
obj[key] = node.attrs[key];

@@ -107,0 +117,0 @@ return obj;

@@ -36,2 +36,8 @@ "use strict";

}
if (typeof attrs.width !== 'undefined' && !isNaN(attrs.width)) {
attrs.width = Number(attrs.width);
}
if (typeof attrs.height !== 'undefined' && !isNaN(attrs.height)) {
attrs.height = Number(attrs.height);
}
return attrs;

@@ -107,2 +113,6 @@ },

}
if (['width', 'height'].indexOf(key) !== -1) {
obj[key] = Number(node.attrs[key]);
return obj;
}
obj[key] = node.attrs[key];

@@ -109,0 +119,0 @@ return obj;

2

dist/package.json
{
"name": "@atlaskit/adf-schema",
"version": "1.5.2",
"version": "1.5.3",
"sideEffects": false
}
{
"name": "@atlaskit/adf-schema",
"version": "1.5.2",
"version": "1.5.3",
"description": "Shared package that contains the ADF-schema (json) and ProseMirror node/mark specs",

@@ -45,5 +45,5 @@ "license": "Apache-2.0",

"axios": "^0.17.1",
"json-schema-diff-validator": "^0.2.0"
"json-schema-diff-validator": "^0.3.0"
},
"repository": "https://bitbucket.org/atlassian/atlaskit-mk-2"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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