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

@eik/common

Package Overview
Dependencies
Maintainers
0
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@eik/common - npm Package Compare versions

Comparing version 4.0.7 to 4.0.8

8

CHANGELOG.md

@@ -0,1 +1,9 @@

## [4.0.8](https://github.com/eik-lib/common/compare/v4.0.7...v4.0.8) (2024-08-12)
### Bug Fixes
* allow specifying $schema ([bfc6b0f](https://github.com/eik-lib/common/commit/bfc6b0f5c878f14a7e3d78c4555779247e96a766))
* use the correct upstream schema link for ajv ([90ca025](https://github.com/eik-lib/common/commit/90ca025d67a9b8f2cf900ead23f1cfb1cddb0c2a)), closes [/ajv.js.org/guide/schema-language.html#draft-07-and-draft-06](https://github.com//ajv.js.org/guide/schema-language.html/issues/draft-07-and-draft-06)
## [4.0.7](https://github.com/eik-lib/common/compare/v4.0.6...v4.0.7) (2024-08-09)

@@ -2,0 +10,0 @@

1

eikjson.d.ts

@@ -9,2 +9,3 @@ /* eslint-disable */

export interface EikjsonSchema {
$schema?: string;
/**

@@ -11,0 +12,0 @@ * The URL address of the Eik server where packages are published to.

{
"$schema": "http://json-schema.org/schema#",
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"type": "object",
"properties": {
"$schema": {
"type": "string",
"format": "uri"
},
"server": {

@@ -7,0 +11,0 @@ "description": "The URL address of the Eik server where packages are published to.",

5

lib/schemas/validate.js

@@ -22,6 +22,3 @@ import { readFileSync } from 'node:fs';

formats(ajv); // Needed to support "uri"
const validate = ajv.compile({
$schema: 'http://json-schema.org/schema#',
...schema,
});
const validate = ajv.compile(schema);

@@ -28,0 +25,0 @@ // @ts-ignore

{
"name": "@eik/common",
"version": "4.0.7",
"version": "4.0.8",
"description": "Common utilities for Eik modules",

@@ -16,3 +16,3 @@ "main": "lib/index.js",

"scripts": {
"clean": "rimraf node_modules",
"clean": "rimraf .tap node_modules types",
"lint": "eslint .",

@@ -19,0 +19,0 @@ "lint:fix": "eslint --fix .",

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