Socket
Socket
Sign inDemoInstall

@podium/schemas

Package Overview
Dependencies
Maintainers
6
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@podium/schemas - npm Package Compare versions

Comparing version 4.0.3-next.1 to 5.0.0-next.1

16

CHANGELOG.md

@@ -0,1 +1,17 @@

# [5.0.0-next.1](https://github.com/podium-lib/schemas/compare/v4.0.3-next.1...v5.0.0-next.1) (2020-07-11)
### chore
* Remove .assets.js and .assets.css ([#62](https://github.com/podium-lib/schemas/issues/62)) ([6468f69](https://github.com/podium-lib/schemas/commit/6468f69b7d51cffef06d9d5c2d7d05b67b1af575))
### BREAKING CHANGES
* .assets.js and .assets.css is now replaced by .js and .css
Resolves: https://github.com/podium-lib/issues/issues/26
Co-authored-by: Trygve Lie <trygve.lie@finn.no>
## [4.0.3-next.1](https://github.com/podium-lib/schemas/compare/v4.0.2...v4.0.3-next.1) (2020-07-11)

@@ -2,0 +18,0 @@

19

lib/manifest.schema.json

@@ -26,21 +26,2 @@ {

},
"assets": {
"type": "object",
"properties": {
"css": {
"type": "string",
"format": "uri-reference",
"default": ""
},
"js": {
"type": "string",
"format": "uri-reference",
"default": ""
}
},
"default": {
"css": "",
"js": ""
}
},
"css": {

@@ -47,0 +28,0 @@ "type": "array",

4

lib/validate.js

@@ -35,4 +35,4 @@ 'use strict';

const fallback = createValidator(manifestSchema.properties.fallback);
const js = createValidator(manifestSchema.properties.assets.properties.js);
const css = createValidator(manifestSchema.properties.assets.properties.css);
const js = createValidator(manifestSchema.properties.js);
const css = createValidator(manifestSchema.properties.css);
const proxy = createValidator(manifestSchema.properties.proxy);

@@ -39,0 +39,0 @@ const team = createValidator(manifestSchema.properties.team);

{
"name": "@podium/schemas",
"version": "4.0.3-next.1",
"version": "5.0.0-next.1",
"description": "Schemas for validating the @podium contract.",

@@ -5,0 +5,0 @@ "license": "MIT",

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