Skip to content
Myr

Remove @napi-rs/uuid to fix CI

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Andrey Sitnik · committed by Andrey Sitnik · parent defe20f · Browse files · 4 files+2 added−136 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

4 files+2 added−136 removed

  • tests:+0 added−4 removed
  • other:+2 added−132 removed

4 files+2 added−136 removed

modified:.github/workflows/test.yml+1 added-1 removed
modified:test/benchmark.js-4 removed
1#!/usr/bin/env node23let { uid: uidSecure } = require('uid/secure')4let { v4: lukeed4 } = require('@lukeed/uuid')5let { v4: napiv4 } = require('@napi-rs/uuid')5let { v4: uuid4 } = require('uuid')6let benchmark = require('benchmark')7let shortid = require('shortid')8let uidSafe = require('uid-safe')
22 unmodified lines
31suite32 .add('crypto.randomUUID', () => {33 crypto.randomUUID()34 })36 .add('@napi-rs/uuid', () => {37 napiv4()38 })35 .add('uid/secure', () => {36 uidSecure(32)37 })38 .add('@lukeed/uuid', () => {
75 unmodified lines
modified:package.json+1 added-3 removed
10 unmodified lines
11 "scripts": {12 "clean": "rm -R coverage",13 "unit": "uvu . .test.js$",14 "test": "c8 pnpm unit && eslint . && pnpm clean && size-limit",15 "start": "vite test/demo/ --open",16 "benchmark": "node ./test/benchmark.js"15 "start": "vite test/demo/ --open"16 },17 "engines": {18 "node": "^10 || ^12 || ^13.7 || ^14 || >=15.0.1"19 },
14 unmodified lines
34 "devDependencies": {35 "@babel/core": "^7.17.2",36 "@logux/eslint-config": "^46.1.1",37 "@lukeed/uuid": "^2.0.0",39 "@napi-rs/uuid": "^0.2.0",38 "@originjs/vite-plugin-commonjs": "^1.0.2",39 "@size-limit/dual-publish": "^7.0.8",40 "@size-limit/file": "^7.0.8",41 "@size-limit/webpack": "^7.0.8",
129 unmodified lines
modified:pnpm-lock.yaml-128 removed
2 unmodified lines
3specifiers:4 '@babel/core': ^7.17.25 '@logux/eslint-config': ^46.1.16 '@lukeed/uuid': ^2.0.07 '@napi-rs/uuid': ^0.2.07 '@originjs/vite-plugin-commonjs': ^1.0.28 '@size-limit/dual-publish': ^7.0.89 '@size-limit/file': ^7.0.810 '@size-limit/webpack': ^7.0.8
25 unmodified lines
36devDependencies:37 '@babel/core': 7.17.238 '@logux/eslint-config': 46.1.1_cd7f45d1cba51a736d2df3e99513a1a439 '@lukeed/uuid': 2.0.041 '@napi-rs/uuid': 0.2.040 '@originjs/vite-plugin-commonjs': 1.0.241 '@size-limit/dual-publish': 7.0.8_24c433b8572c6d8a3a69f812fcb06aa842 '@size-limit/file': 7.0.8_size-limit@7.0.843 '@size-limit/webpack': 7.0.8_size-limit@7.0.8
313 unmodified lines
357 dependencies:358 '@lukeed/csprng': 1.0.1359 dev: true360363 /@napi-rs/uuid-android-arm-eabi/0.2.0:364 resolution: {integrity: sha512-oXrdam4nPEAIbVarDgCjCgUcfS/zO1yPBJkrQmbww5VtWi4z5qpfXJIDkS9oKWHE0gnjNXsG4wDokdl7BpcrUA==}365 engines: {node: '>= 10'}366 cpu: [arm]367 os: [android]368 requiresBuild: true369 dev: true370 optional: true371372 /@napi-rs/uuid-android-arm64/0.2.0:373 resolution: {integrity: sha512-UppZr5o/ZyNAhj5koB60UqGPKkvt/J6tzULhdXHzXl02+BC3WACu63vNBhxMYIaq6ptKzy98yXEUk+txaZkdIg==}374 engines: {node: '>= 10'}375 cpu: [arm64]376 os: [android]377 requiresBuild: true378 dev: true379 optional: true380381 /@napi-rs/uuid-darwin-arm64/0.2.0:382 resolution: {integrity: sha512-Zzflpi2y8ngiNplORAhRYt/aQeGBTa+n3AGz4NbkKsQH6+gB15/yaeJne1Q34yRmpveOyFffYjgdEvFiu7Kz4w==}383 engines: {node: '>= 10'}384 cpu: [arm64]385 os: [darwin]386 requiresBuild: true387 dev: true388 optional: true389390 /@napi-rs/uuid-darwin-x64/0.2.0:391 resolution: {integrity: sha512-S1JZZXL4bxN/CocZIxnHTYCgzxJK+ySFzWCqFLov7z1vAIFVwhP19otgkDIdoEEHGq5e9f09isLbynGZXx+EMw==}392 engines: {node: '>= 10'}393 cpu: [x64]394 os: [darwin]395 requiresBuild: true396 dev: true397 optional: true398399 /@napi-rs/uuid-freebsd-x64/0.2.0:400 resolution: {integrity: sha512-ovshM+VJ+XXEcmEu0UeLhKFLVL8+vzDyUKgMBJI+nj2ptDycypqsKsRKVfgL5QViKrU36h19wMxc2bu3R2tb0w==}401 engines: {node: '>= 10'}402 cpu: [x64]403 os: [freebsd]404 requiresBuild: true405 dev: true406 optional: true407408 /@napi-rs/uuid-linux-arm-gnueabihf/0.2.0:409 resolution: {integrity: sha512-tuHEN7UWAxJ0aVihbdb3GjehFebx4V/EHLJ8o+laXKZzGLd9RiajG4mkjkZwVEimvIBXpXsvuEWFqtnqzoKvnA==}410 engines: {node: '>= 10'}411 cpu: [arm]412 os: [linux]413 requiresBuild: true414 dev: true415 optional: true416417 /@napi-rs/uuid-linux-arm64-gnu/0.2.0:418 resolution: {integrity: sha512-ko1hT+OVBUnem49YoiyFoXQ6e6zmXPUscSMkg5IBDA70NzbDL11pGrVSGuIzz7Zzt4z+3bE0CI2EaRIZ92NW9g==}419 engines: {node: '>= 10'}420 cpu: [arm64]421 os: [linux]422 requiresBuild: true423 dev: true424 optional: true425426 /@napi-rs/uuid-linux-arm64-musl/0.2.0:427 resolution: {integrity: sha512-r9KIhJz+hzcPulcdRCnioouZMdRPRnLy0dbfkYiw0mOkt9kfbVXpRzbt7xz8B/Zf/d5LEWZsIFJHbiKxuIfPSA==}428 engines: {node: '>= 10'}429 cpu: [arm64]430 os: [linux]431 requiresBuild: true432 dev: true433 optional: true434435 /@napi-rs/uuid-linux-x64-gnu/0.2.0:436 resolution: {integrity: sha512-iX+WBrBv5sjO690/zjuWvf7tt9/Jge+Qkrogh/es5u8+EMXSGTl9gW7PajL8pnNzDcdkVNgr41VrqmVGWzLFVw==}437 engines: {node: '>= 10'}438 cpu: [x64]439 os: [linux]440 requiresBuild: true441 dev: true442 optional: true443444 /@napi-rs/uuid-linux-x64-musl/0.2.0:445 resolution: {integrity: sha512-ekDiT4iKKR8Vzop7JXxLpmRp4fHmGZYiOImN69DX+5nJUewwwLbIR7784qNBRUHJi7tzIhAM+5TfO3rmGTkmgw==}446 engines: {node: '>= 10'}447 cpu: [x64]448 os: [linux]449 requiresBuild: true450 dev: true451 optional: true452453 /@napi-rs/uuid-win32-arm64-msvc/0.2.0:454 resolution: {integrity: sha512-zgq38ZQazk8bijAosK3SgJcUxpp3u8UOkNbUswsXPjurb3tLcM9HP5e79ujaHsUogFdN87l7fh/kXzHNEvwEsA==}455 engines: {node: '>= 10'}456 cpu: [arm64]457 os: [win32]458 requiresBuild: true459 dev: true460 optional: true461462 /@napi-rs/uuid-win32-x64-msvc/0.2.0:463 resolution: {integrity: sha512-SJ79IKI6BpmRxixUHGhCjOZ8TwXv3pfJJ8WxQvbcU8HMrfv+lW4X8/iq3eZ8tCu6Pb6KxPh92B4FQ3XJnHL+GA==}464 engines: {node: '>= 10'}465 cpu: [x64]466 os: [win32]467 requiresBuild: true468 dev: true469 optional: true470471 /@napi-rs/uuid/0.2.0:472 resolution: {integrity: sha512-iwoDZeVB1W1dOkWvTTMIrDejySBF9hPgDUG/bJbKmLKruSCVjbJPFcDJtiRX6OD1qy7ObxtUrn8ofwcnRC/hJg==}473 engines: {node: '>= 10'}474 optionalDependencies:475 '@napi-rs/uuid-android-arm-eabi': 0.2.0476 '@napi-rs/uuid-android-arm64': 0.2.0477 '@napi-rs/uuid-darwin-arm64': 0.2.0478 '@napi-rs/uuid-darwin-x64': 0.2.0479 '@napi-rs/uuid-freebsd-x64': 0.2.0480 '@napi-rs/uuid-linux-arm-gnueabihf': 0.2.0481 '@napi-rs/uuid-linux-arm64-gnu': 0.2.0482 '@napi-rs/uuid-linux-arm64-musl': 0.2.0483 '@napi-rs/uuid-linux-x64-gnu': 0.2.0484 '@napi-rs/uuid-linux-x64-musl': 0.2.0485 '@napi-rs/uuid-win32-arm64-msvc': 0.2.0486 '@napi-rs/uuid-win32-x64-msvc': 0.2.0487 dev: true488361 /@nodelib/fs.scandir/2.1.5:362 resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==}363 engines: {node: '>= 8'}364 dependencies:
2581 unmodified lines