Socket
Socket
Sign inDemoInstall

@near-js/utils

Package Overview
Dependencies
Maintainers
2
Versions
27
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@near-js/utils - npm Package Compare versions

Comparing version 0.3.0-next.5 to 0.3.0

lib/constants.d.ts

33

package.json
{
"name": "@near-js/utils",
"version": "0.3.0-next.5",
"version": "0.3.0",
"description": "Common methods and constants for the NEAR API JavaScript client",
"main": "lib/esm/index.js",
"type": "module",
"main": "lib/index.js",
"keywords": [],

@@ -14,12 +13,9 @@ "author": "",

"mustache": "4.0.0",
"@near-js/types": "0.3.0-next.5"
"@near-js/types": "0.2.1"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/node": "20.0.0",
"jest": "29.7.0",
"ts-jest": "29.1.5",
"typescript": "5.4.5",
"build": "0.0.0",
"tsconfig": "0.0.0"
"@types/node": "18.11.18",
"jest": "26.0.1",
"ts-jest": "26.5.6",
"typescript": "4.9.4"
},

@@ -29,14 +25,9 @@ "files": [

],
"exports": {
"require": "./lib/commonjs/index.cjs",
"import": "./lib/esm/index.js"
},
"scripts": {
"build": "pnpm compile:esm && pnpm compile:cjs",
"compile:esm": "tsc -p tsconfig.json",
"compile:cjs": "tsc -p tsconfig.cjs.json && cjsify ./lib/commonjs",
"lint": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc",
"lint:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts test/**/*.ts --no-eslintrc --fix",
"test": "jest"
"build": "pnpm compile",
"compile": "tsc -p tsconfig.json",
"lint:ts": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc",
"lint:fix": "eslint -c ../../.eslintrc.ts.yml src/**/*.ts --no-eslintrc && eslint -c ../../.eslintrc.js.yml test/**/*.js --no-eslintrc --fix --no-error-on-unmatched-pattern",
"test": "jest test"
}
}
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