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.0-next.7 to 4.0.0

lib/classes/custom-error.js

108

CHANGELOG.md

@@ -1,2 +0,2 @@

# [4.0.0-next.7](https://github.com/eik-lib/common/compare/v4.0.0-next.6...v4.0.0-next.7) (2022-07-26)
# [4.0.0](https://github.com/eik-lib/common/compare/v3.0.1...v4.0.0) (2024-08-06)

@@ -6,14 +6,52 @@

* run semantic release in each package ([84ace0c](https://github.com/eik-lib/common/commit/84ace0c3359b42bf20461318afc2ef67faaba11b))
* update ajv-formats ([131dbf2](https://github.com/eik-lib/common/commit/131dbf25fcf8e2d128ac9e660076b538c441fa55))
* update glob to 9.0.0 ([ee132ce](https://github.com/eik-lib/common/commit/ee132ceb256244df74839dc9495c57c1e2b36af2))
* update glog to 11.0.0 ([ae24324](https://github.com/eik-lib/common/commit/ae2432458bd8c3ec95f7ca59d6d86ed87e1686d2))
* update validate-npm-package-name ([00c57e7](https://github.com/eik-lib/common/commit/00c57e7a2c6f0c2666493ebb1a6eae446582037f))
# [4.0.0-next.6](https://github.com/eik-lib/common/compare/v4.0.0-next.5...v4.0.0-next.6) (2022-07-26)
### chore
* convert codebase to ESM ([1a83a26](https://github.com/eik-lib/common/commit/1a83a261d2cc2ce2c921eaf50c843d0e8989d662))
### Features
* add load exact method ([709c8e3](https://github.com/eik-lib/common/commit/709c8e350d6f9a24c5d41981cca27b8183bf3268))
### BREAKING CHANGES
* Codebase is now ESM only, Common JS is no longer supported.
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2024-08-06)
### Bug Fixes
* lint ([edc595f](https://github.com/eik-lib/common/commit/edc595f6f4baf465e736bed8a4cb2e0eb8efe382))
* **deps:** update dependency glob to v8 ([#225](https://github.com/eik-lib/common/issues/225)) ([fd01a56](https://github.com/eik-lib/common/commit/fd01a566b404164bdc847cc7a1803b124e131e41))
* **deps:** update dependency validate-npm-package-name to v4 ([#222](https://github.com/eik-lib/common/issues/222)) ([c3721ab](https://github.com/eik-lib/common/commit/c3721abf058c93d4e500945c3c014c748c1f2acd))
* update ajv-formats ([131dbf2](https://github.com/eik-lib/common/commit/131dbf25fcf8e2d128ac9e660076b538c441fa55))
* update glob to 9.0.0 ([ee132ce](https://github.com/eik-lib/common/commit/ee132ceb256244df74839dc9495c57c1e2b36af2))
* update glog to 11.0.0 ([ae24324](https://github.com/eik-lib/common/commit/ae2432458bd8c3ec95f7ca59d6d86ed87e1686d2))
* update validate-npm-package-name ([00c57e7](https://github.com/eik-lib/common/commit/00c57e7a2c6f0c2666493ebb1a6eae446582037f))
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2022-07-26)
### chore
* convert codebase to ESM ([1a83a26](https://github.com/eik-lib/common/commit/1a83a261d2cc2ce2c921eaf50c843d0e8989d662))
### Features
* add load exact method ([709c8e3](https://github.com/eik-lib/common/commit/709c8e350d6f9a24c5d41981cca27b8183bf3268))
### BREAKING CHANGES
* Codebase is now ESM only, Common JS is no longer supported.
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2024-08-04)
### Bug Fixes

@@ -23,3 +61,63 @@

* **deps:** update dependency validate-npm-package-name to v4 ([#222](https://github.com/eik-lib/common/issues/222)) ([c3721ab](https://github.com/eik-lib/common/commit/c3721abf058c93d4e500945c3c014c748c1f2acd))
* update ajv-formats ([131dbf2](https://github.com/eik-lib/common/commit/131dbf25fcf8e2d128ac9e660076b538c441fa55))
* update glob to 9.0.0 ([ee132ce](https://github.com/eik-lib/common/commit/ee132ceb256244df74839dc9495c57c1e2b36af2))
* update glog to 11.0.0 ([ae24324](https://github.com/eik-lib/common/commit/ae2432458bd8c3ec95f7ca59d6d86ed87e1686d2))
* update validate-npm-package-name ([00c57e7](https://github.com/eik-lib/common/commit/00c57e7a2c6f0c2666493ebb1a6eae446582037f))
### chore
* convert codebase to ESM ([1a83a26](https://github.com/eik-lib/common/commit/1a83a261d2cc2ce2c921eaf50c843d0e8989d662))
### BREAKING CHANGES
* Codebase is now ESM only, Common JS is no longer supported.
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2024-08-01)
### Bug Fixes
* **deps:** update dependency glob to v8 ([#225](https://github.com/eik-lib/common/issues/225)) ([fd01a56](https://github.com/eik-lib/common/commit/fd01a566b404164bdc847cc7a1803b124e131e41))
* **deps:** update dependency validate-npm-package-name to v4 ([#222](https://github.com/eik-lib/common/issues/222)) ([c3721ab](https://github.com/eik-lib/common/commit/c3721abf058c93d4e500945c3c014c748c1f2acd))
* update ajv-formats ([131dbf2](https://github.com/eik-lib/common/commit/131dbf25fcf8e2d128ac9e660076b538c441fa55))
* update validate-npm-package-name ([00c57e7](https://github.com/eik-lib/common/commit/00c57e7a2c6f0c2666493ebb1a6eae446582037f))
### chore
* convert codebase to ESM ([1a83a26](https://github.com/eik-lib/common/commit/1a83a261d2cc2ce2c921eaf50c843d0e8989d662))
### BREAKING CHANGES
* Codebase is now ESM only, Common JS is no longer supported.
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2024-07-31)
### Bug Fixes
* **deps:** update dependency glob to v8 ([#225](https://github.com/eik-lib/common/issues/225)) ([fd01a56](https://github.com/eik-lib/common/commit/fd01a566b404164bdc847cc7a1803b124e131e41))
* **deps:** update dependency validate-npm-package-name to v4 ([#222](https://github.com/eik-lib/common/issues/222)) ([c3721ab](https://github.com/eik-lib/common/commit/c3721abf058c93d4e500945c3c014c748c1f2acd))
### chore
* convert codebase to ESM ([1a83a26](https://github.com/eik-lib/common/commit/1a83a261d2cc2ce2c921eaf50c843d0e8989d662))
### BREAKING CHANGES
* Codebase is now ESM only, Common JS is no longer supported.
# [4.0.0-next.5](https://github.com/eik-lib/common/compare/v4.0.0-next.4...v4.0.0-next.5) (2024-07-31)
### Bug Fixes
* **deps:** update dependency glob to v8 ([#225](https://github.com/eik-lib/common/issues/225)) ([fd01a56](https://github.com/eik-lib/common/commit/fd01a566b404164bdc847cc7a1803b124e131e41))
* **deps:** update dependency validate-npm-package-name to v4 ([#222](https://github.com/eik-lib/common/issues/222)) ([c3721ab](https://github.com/eik-lib/common/commit/c3721abf058c93d4e500945c3c014c748c1f2acd))
## [3.0.1](https://github.com/eik-lib/common/compare/v3.0.0...v3.0.1) (2022-05-04)

@@ -26,0 +124,0 @@

2

eikjson.d.ts

@@ -1,2 +0,2 @@

/* tslint:disable */
/* eslint-disable */
/**

@@ -3,0 +3,0 @@ * This file was automatically generated by json-schema-to-typescript.

{
"name": "@eik/common",
"workspaces": [
"packages/config-loader",
"packages/utils",
"packages/schemas",
"packages/validators"
"version": "4.0.0",
"description": "Common utilities for Eik modules",
"main": "lib/index.js",
"types": "types/index.d.ts",
"type": "module",
"files": [
"CHANGELOG.md",
"package.json",
"lib",
"types",
"eikjson.d.ts"
],
"version": "4.0.0-next.7"
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint --fix .",
"schema:types": "json2ts lib/schemas/eikjson.schema.json > eikjson.d.ts",
"schema:outdated": "npm run schema:types && git diff --exit-code HEAD:eikjson.d.ts eikjson.d.ts",
"test": "tap --disable-coverage --allow-empty-coverage",
"types": "tsc"
},
"repository": {
"type": "git",
"url": "git+https://github.com/eik-lib/common.git"
},
"keywords": [],
"author": "",
"license": "ISC",
"bugs": {
"url": "https://github.com/eik-lib/common/issues"
},
"homepage": "https://github.com/eik-lib/common#readme",
"dependencies": {
"ajv": "8.6.2",
"ajv-formats": "3.0.1",
"glob": "11.0.0",
"is-glob": "4.0.1",
"mime-types": "2.1.29",
"semver": "7.0.0",
"validate-npm-package-name": "5.0.1"
},
"devDependencies": {
"@babel/eslint-parser": "7.25.1",
"@babel/plugin-syntax-import-assertions": "7.24.7",
"@eslint/js": "9.8.0",
"@hapi/hapi": "21.3.10",
"@semantic-release/changelog": "6.0.3",
"@semantic-release/git": "10.0.1",
"@types/glob": "8.1.0",
"@types/is-glob": "4.0.4",
"@types/semver": "7.5.8",
"@types/validate-npm-package-name": "4.0.2",
"eslint": "9.8.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.2.1",
"express": "4.19.2",
"fastify": "4.28.1",
"globals": "15.9.0",
"json-schema-to-typescript": "15.0.0",
"prettier": "3.3.3",
"semantic-release": "24.0.0",
"stoppable": "1.1.0",
"tap": "21.0.0",
"typescript": "5.5.4"
}
}

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

# Eik Commons
# Eik Common
This package contains common utilities and schemas
## ESM ONLY
From v4, this module is ESM only and cannot be used with Common JS.
## APIs

@@ -14,3 +18,3 @@

```js
const { schemas, assert } = require('@eik/common');
import { schemas, assert } from '@eik/common';
```

@@ -131,4 +135,4 @@

```js
const express = require('express');
const { helpers } = require('@eik/common');
import express from 'express';
import { helpers } from '@eik/common';
const app = express();

@@ -184,3 +188,3 @@ await helpers.localAssets(app);

```js
const { helpers } = require('@eik/common');
import { helpers } from '@eik/common';
const url = await helpers.packageURL('esm.js');

@@ -187,0 +191,0 @@ ```

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