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

@thi.ng/hex

Package Overview
Dependencies
Maintainers
1
Versions
92
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@thi.ng/hex - npm Package Compare versions

Comparing version 1.0.4 to 2.0.0

67

CHANGELOG.md

@@ -6,14 +6,25 @@ # Change Log

## [1.0.4](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@1.0.3...@thi.ng/hex@1.0.4) (2021-08-17)
# [2.0.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@1.0.4...@thi.ng/hex@2.0.0) (2021-10-12)
**Note:** Version bump only for package @thi.ng/hex
### Build System
* major update of ALL pkgs (export maps, ESM only) ([0d1d6ea](https://github.com/thi-ng/umbrella/commit/0d1d6ea9fab2a645d6c5f2bf2591459b939c09b6))
### BREAKING CHANGES
## [1.0.3](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@1.0.2...@thi.ng/hex@1.0.3) (2021-08-08)
* discontinue CommonJS & UMD versions
**Note:** Version bump only for package @thi.ng/hex
- only ESM modules will be published from now on
- CJS obsolete due to ESM support in recent versions of node:
- i.e. launch NodeJS via:
- `node --experimental-specifier-resolution=node --experimental-repl-await`
- in the node REPL use `await import(...)` instead of `require()`
- UMD obsolete due to widespread browser support for ESM
Also:
- normalize/restructure/reorg all package.json files
- cleanup all build scripts, remove obsolete
- switch from mocha to @thi.ng/testament for all tests

@@ -23,50 +34,14 @@

## [1.0.2](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@1.0.1...@thi.ng/hex@1.0.2) (2021-08-08)
**Note:** Version bump only for package @thi.ng/hex
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.1.3...@thi.ng/hex@0.2.0) (2021-02-20)
### Features
- **hex:** add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4c2fe3eeb664b4131aabe592d612573703))
# 0.1.0 (2020-11-24)
## [1.0.1](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.2.7...@thi.ng/hex@1.0.1) (2021-08-08)
### Features
**Note:** Version bump only for package @thi.ng/hex
## [0.2.7](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.2.6...@thi.ng/hex@0.2.7) (2021-07-01)
**Note:** Version bump only for package @thi.ng/hex
## [0.2.6](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.2.5...@thi.ng/hex@0.2.6) (2021-06-08)
**Note:** Version bump only for package @thi.ng/hex
# [0.2.0](https://github.com/thi-ng/umbrella/compare/@thi.ng/hex@0.1.3...@thi.ng/hex@0.2.0) (2021-02-20)
### Features
* **hex:** add uuid() ([c8417b4](https://github.com/thi-ng/umbrella/commit/c8417b4c2fe3eeb664b4131aabe592d612573703))
# 0.1.0 (2020-11-24)
### Features
* **hex:** import as new package ([1c2f331](https://github.com/thi-ng/umbrella/commit/1c2f331bfbdc01fd0153e01dcecbab79307a7598))
- **hex:** import as new package ([1c2f331](https://github.com/thi-ng/umbrella/commit/1c2f331bfbdc01fd0153e01dcecbab79307a7598))
{
"name": "@thi.ng/hex",
"version": "1.0.4",
"version": "2.0.0",
"description": "Hex string formatters for 4/8/16/24/32/48/64bit words",
"type": "module",
"module": "./index.js",
"main": "./lib/index.js",
"umd:main": "./lib/index.umd.js",
"typings": "./index.d.ts",
"sideEffects": false,
"repository": {

@@ -27,20 +27,14 @@ "type": "git",

"scripts": {
"build": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module",
"build:release": "yarn clean && yarn build:es6 && node ../../scripts/bundle-module all",
"build:es6": "tsc --declaration",
"build:test": "rimraf build && tsc -p test/tsconfig.json",
"build:check": "tsc --isolatedModules --noEmit",
"test": "mocha test",
"cover": "nyc mocha test && nyc report --reporter=lcov",
"clean": "rimraf *.js *.d.ts *.map .nyc_output build coverage doc lib",
"doc:readme": "ts-node -P ../../tools/tsconfig.json ../../tools/src/readme.ts",
"doc": "typedoc --excludePrivate --out doc --theme ../../tools/doc/typedoc-theme src/index.ts",
"build": "yarn clean && tsc --declaration",
"clean": "rimraf *.js *.d.ts *.map doc",
"doc": "typedoc --excludePrivate --excludeInternal --out doc src/index.ts",
"doc:ae": "mkdir -p .ae/doc .ae/temp && node_modules/.bin/api-extractor run --local --verbose",
"pub": "yarn build:release && yarn publish --access public"
"doc:readme": "yarn doc:stats && ../../scripts/node-esm ../../tools/src/readme.ts",
"doc:stats": "../../scripts/node-esm ../../tools/src/module-stats.ts",
"pub": "yarn build && yarn publish --access public",
"test": "testament test"
},
"files": [
"*.js",
"*.d.ts",
"lib"
],
"devDependencies": {
"@thi.ng/testament": "^0.1.0"
},
"keywords": [

@@ -56,3 +50,11 @@ "binary",

},
"sideEffects": false,
"files": [
"*.js",
"*.d.ts"
],
"exports": {
".": {
"import": "./index.js"
}
},
"thi.ng": {

@@ -64,3 +66,3 @@ "related": [

},
"gitHead": "3365151f112c39f224541f5ac4cedf3370eb9ba4"
"gitHead": "9ac1344b38b565eb894306fbf72233b6c0b2d115"
}

@@ -41,11 +41,19 @@ <!-- This file is generated - DO NOT EDIT! -->

ES module import:
```html
// ES module
<script type="module" src="https://unpkg.com/@thi.ng/hex?module" crossorigin></script>
<script type="module" src="https://cdn.skypack.dev/@thi.ng/hex"></script>
```
// UMD
<script src="https://unpkg.com/@thi.ng/hex/lib/index.umd.js" crossorigin></script>
[Skypack documentation](https://docs.skypack.dev/)
For NodeJS (v14.6+):
```text
node --experimental-specifier-resolution=node --experimental-repl-await
> const hex = await import("@thi.ng/hex");
```
Package sizes (gzipped, pre-treeshake): ESM: 358 bytes / CJS: 469 bytes / UMD: 525 bytes
Package sizes (gzipped, pre-treeshake): ESM: 358 bytes

@@ -52,0 +60,0 @@ ## Dependencies

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