@eik/common
Advanced tools
Comparing version 4.0.0-next.7 to 4.0.0
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 @@ |
@@ -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 @@ ``` |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Network access
Supply chain riskThis module accesses the network.
Found 1 instance in 1 package
Filesystem access
Supply chain riskAccesses the file system, and could potentially read sensitive data.
Found 1 instance in 1 package
No contributors or author data
MaintenancePackage does not specify a list of contributors or an author in package.json.
Found 1 instance in 1 package
No bug tracker
MaintenancePackage does not have a linked bug tracker in package.json.
Found 1 instance in 1 package
No repository
Supply chain riskPackage does not have a linked source code repository. Without this field, a package will have no reference to the location of the source code use to generate the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
1
0
191
0
1
Yes
69369
7
22
59
1506
+ Addedajv@8.6.2
+ Addedajv-formats@3.0.1
+ Addedglob@11.0.0
+ Addedis-glob@4.0.1
+ Addedmime-types@2.1.29
+ Addedsemver@7.0.0
+ Added@isaacs/cliui@8.0.2(transitive)
+ Addedajv@8.6.2(transitive)
+ Addedajv-formats@3.0.1(transitive)
+ Addedansi-regex@5.0.16.1.0(transitive)
+ Addedansi-styles@4.3.06.2.1(transitive)
+ Addedbalanced-match@1.0.2(transitive)
+ Addedbrace-expansion@2.0.1(transitive)
+ Addedcolor-convert@2.0.1(transitive)
+ Addedcolor-name@1.1.4(transitive)
+ Addedcross-spawn@7.0.6(transitive)
+ Addedeastasianwidth@0.2.0(transitive)
+ Addedemoji-regex@8.0.09.2.2(transitive)
+ Addedfast-deep-equal@3.1.3(transitive)
+ Addedforeground-child@3.3.0(transitive)
+ Addedglob@11.0.0(transitive)
+ Addedis-extglob@2.1.1(transitive)
+ Addedis-fullwidth-code-point@3.0.0(transitive)
+ Addedis-glob@4.0.1(transitive)
+ Addedisexe@2.0.0(transitive)
+ Addedjackspeak@4.0.2(transitive)
+ Addedjson-schema-traverse@1.0.0(transitive)
+ Addedlru-cache@11.0.2(transitive)
+ Addedmime-db@1.46.0(transitive)
+ Addedmime-types@2.1.29(transitive)
+ Addedminimatch@10.0.1(transitive)
+ Addedminipass@7.1.2(transitive)
+ Addedpackage-json-from-dist@1.0.1(transitive)
+ Addedpath-key@3.1.1(transitive)
+ Addedpath-scurry@2.0.0(transitive)
+ Addedpunycode@2.3.1(transitive)
+ Addedrequire-from-string@2.0.2(transitive)
+ Addedsemver@7.0.0(transitive)
+ Addedshebang-command@2.0.0(transitive)
+ Addedshebang-regex@3.0.0(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedstring-width@4.2.35.1.2(transitive)
+ Addedstrip-ansi@6.0.17.1.0(transitive)
+ Addeduri-js@4.4.1(transitive)
+ Addedvalidate-npm-package-name@5.0.1(transitive)
+ Addedwhich@2.0.2(transitive)
+ Addedwrap-ansi@7.0.08.1.0(transitive)