Socket
Socket
Sign inDemoInstall

rdtsc

Package Overview
Dependencies
1
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.0.0 to 3.0.0

dist/binding/binding.cjs

102

package.json
{
"name": "rdtsc",
"version": "2.0.0",
"version": "3.0.0",
"description": "The most high resolution cross platform timing in NodeJs that use processor command RDTSC. Calculate performance with accuracy +/- 4 processor cycles.",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"engines": {
"node": ">= 12.4.0"
"node": ">=12.4.0",
"pnpm": "^7.1.6"
},
"main": "src/index.js",
"scripts": {
"lint": "eslint --plugin markdown --ext js,md .",
"prepublish": "npm run precommit",
"precommit": "npm run lint && npm run build && npm run test",
"build": "node-gyp configure && node-gyp build",
"test": "mocha",
"watch": "mocha --watch --watch-extensions .*",
"test-cov": "istanbul cover node_modules/mocha/bin/_mocha -- --reporter dot --check-leaks test/",
"test-travis": "istanbul cover node_modules/mocha/bin/_mocha --report lcovonly -- --reporter spec --check-leaks test/"
"repository": {
"type": "git",
"url": "git+https://github.com/NikolayMakhonin/nodejs-rdtsc.git"
},

@@ -34,28 +31,67 @@ "keywords": [

],
"author": {
"name": "Nikolay Makhonin",
"url": "https://github.com/NikolayMakhonin/"
},
"license": "Unlimited Free",
"bugs": {
"url": "https://github.com/NikolayMakhonin/nodejs-rdtsc/issues"
},
"repository": {
"type": "git",
"url": "git+ssh://git@github.com:NikolayMakhonin/nodejs-rdtsc.git"
"homepage": "https://github.com/NikolayMakhonin/nodejs-rdtsc",
"publishConfig": {
"access": "public"
},
"author": {
"name": "Nikolay Makhonin",
"url": "https://github.com/NikolayMakhonin/"
},
"license": "CC0-1.0",
"devDependencies": {
"eslint": "^6.3.0",
"eslint-config-standard": "^14.1.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-markdown": "^1.0.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1",
"istanbul": "^0.4.5",
"mocha": "^5.2.0",
"node-gyp": "^5.0.3",
"wavefile": "^8.4.5"
"@flemist/copy-glob-flat": "0.0.5",
"@flemist/test-utils": "0.0.7",
"@flemist/test-variants": "0.0.14",
"@rollup/plugin-alias": "3.1.9",
"@rollup/plugin-commonjs": "=21.1.0",
"@rollup/plugin-json": "4.1.0",
"@rollup/plugin-node-resolve": "13.3.0",
"@rollup/plugin-replace": "4.0.0",
"@rollup/plugin-typescript": "8.3.3",
"@rollup/pluginutils": "^4.2.1",
"@types/assert": "1.5.6",
"@types/fs-extra": "9.0.13",
"@types/mocha": "9.1.1",
"@types/node": "18.0.0",
"@zerollup/ts-transform-paths": "1.7.18",
"cpy-cli": "=3.1.1",
"eslint": "8.18.0",
"eslint-config-pro": "3.0.14",
"fs-extra": "10.1.0",
"globby": "=11.1.0",
"i": "^0.3.7",
"mocha": "9.2.2",
"nodemon": "2.0.16",
"npm": "^8.13.1",
"nyc": "15.1.0",
"rimraf": "3.0.2",
"rollup": "2.75.7",
"rollup-plugin-delete": "2.0.0",
"rollup-plugin-multi-input": "1.3.1",
"ts-node": "=10.8.0",
"tsconfig-paths": "4.0.0",
"typescript": "^4.7.4"
},
"dependencies": {}
}
"dependencies": {
"tslib": "^2.4.0"
},
"scripts": {
"audit": "pnpm audit --prod",
"lint": "eslint ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:fix": "eslint --fix ./**/*.{js,cjs,mjs,ts,tsx}",
"lint:wizard": "eslint-nibble --cache --multi ./**/*.{js,cjs,mjs,ts,tsx}",
"build:js": "rimraf dist && cpy \"**/assets/**\" \"**/*.{js,cjs,mjs}\" \"../dist/\" --parents --cwd=src && rollup -c",
"build:gyp": "rimraf build && node-gyp configure && node-gyp build && cpy src/binding/import.cjs build/Release/",
"build": "pnpm run build:gyp && pnpm run build:js",
"coverage:merge": "rimraf tmp/coverage/{all,merge} && cp-flat \"tmp/coverage/*/json/**/*.json\" \"tmp/coverage/merge\" && nyc report -r lcov --report-dir tmp/coverage/all/lcov --temp-dir \"tmp/coverage/merge/\"",
"coverage:check": "pnpm run coverage:merge && nyc check-coverage --report-dir tmp/coverage/all/lcov --lines 50 --functions 50 --branches 50 --statements 50",
"test:mocha": "mocha ./src/**/*.test.*",
"test:mocha:coverage": "rimraf tmp/coverage/mocha && nyc --all mocha ./src/**/*.test.*",
"test:mocha:watch": "mocha --watch ./src/**/*.test.*",
"test:mocha:ci": "rimraf tmp/coverage/mocha && nyc --all mocha ./{src,dist}/**/*.test.*",
"coveralls": "pnpm run coverage:check && nyc report --reporter=text-lcov --temp-dir \"tmp/coverage/merge/\" | coveralls"
}
}
[![NPM Version][npm-image]][npm-url]
[![NPM Downloads][downloads-image]][downloads-url]
[![Node.js Version][node-version-image]][node-version-url]
[![Build Status][travis-image]][travis-url]
[![Build Status][github-image]][github-url]
[![Test Coverage][coveralls-image]][coveralls-url]

@@ -235,13 +234,11 @@

[CC0-1.0](LICENSE)
[Unlimited Free](LICENSE)
[npm-image]: https://img.shields.io/npm/v/rdtsc.svg
[npm-url]: https://npmjs.org/package/rdtsc
[node-version-image]: https://img.shields.io/node/v/rdtsc.svg
[node-version-url]: https://nodejs.org/en/download/
[travis-image]: https://travis-ci.org/NikolayMakhonin/nodejs-rdtsc.svg
[travis-url]: https://travis-ci.org/NikolayMakhonin/nodejs-rdtsc
[downloads-image]: https://img.shields.io/npm/dm/rdtsc.svg
[downloads-url]: https://npmjs.org/package/rdtsc
[github-image]: https://github.com/NikolayMakhonin/nodejs-rdtsc/actions/workflows/test.yml/badge.svg
[github-url]: https://github.com/NikolayMakhonin/nodejs-rdtsc/actions
[coveralls-image]: https://coveralls.io/repos/github/NikolayMakhonin/nodejs-rdtsc/badge.svg
[coveralls-url]: https://coveralls.io/github/NikolayMakhonin/nodejs-rdtsc
[downloads-image]: https://img.shields.io/npm/dm/rdtsc.svg
[downloads-url]: https://npmjs.org/package/rdtsc

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc