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

@podium/schemas

Package Overview
Dependencies
Maintainers
6
Versions
68
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 5.0.0-next.3 to 5.0.0-next.4

dist/package.json

7

CHANGELOG.md

@@ -0,1 +1,8 @@

# [5.0.0-next.4](https://github.com/podium-lib/schemas/compare/v5.0.0-next.3...v5.0.0-next.4) (2021-04-25)
### Bug Fixes
* Use ESM workaround for dirname to find path to schema ([#113](https://github.com/podium-lib/schemas/issues/113)) ([ed40808](https://github.com/podium-lib/schemas/commit/ed408081e4c56e4ba794839459331d5454e0c5f3))
# [5.0.0-next.3](https://github.com/podium-lib/schemas/compare/v5.0.0-next.2...v5.0.0-next.3) (2021-04-25)

@@ -2,0 +9,0 @@

11

package.json
{
"name": "@podium/schemas",
"version": "5.0.0-next.3",
"version": "5.0.0-next.4",
"type": "module",

@@ -30,6 +30,6 @@ "description": "Schemas for validating the @podium contract.",

],
"main": "./dist/cjs/validate.js",
"main": "./dist/validate.js",
"exports": {
"import": "./dist/esm/validate.js",
"require": "./dist/cjs/validate.js"
"require": "./dist/validate.js",
"import": "./src/validate.js"
},

@@ -45,4 +45,3 @@ "scripts": {

"ajv": "8.1.0",
"ajv-formats": "2.0.2",
"find-up": "5.0.0"
"ajv-formats": "2.0.2"
},

@@ -49,0 +48,0 @@ "devDependencies": {

@@ -1,7 +0,10 @@

import findUp from 'find-up';
import { join, dirname } from 'path';
import { fileURLToPath } from 'url';
import fs from 'fs';
const schema = findUp.sync('schema/manifest.schema.json');
const currentDirectory = dirname(fileURLToPath(import.meta.url));
const schema = join(currentDirectory, '../schema/manifest.schema.json');
const file = fs.readFileSync(schema, 'utf-8');
export default JSON.parse(file);
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