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

@matrixai/resources

Package Overview
Dependencies
Maintainers
4
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@matrixai/resources - npm Package Compare versions

Comparing version 1.1.3 to 1.1.4

25

package.json
{
"name": "@matrixai/resources",
"version": "1.1.3",
"version": "1.1.4",
"author": "Roger Qiu",

@@ -15,11 +15,14 @@ "description": "Resource context management",

"prepare": "tsc -p ./tsconfig.build.json",
"build": "rm -r ./dist || true; tsc -p ./tsconfig.build.json",
"ts-node": "ts-node -r tsconfig-paths/register",
"build": "rimraf ./dist && tsc -p ./tsconfig.build.json",
"postversion": "npm install --package-lock-only --ignore-scripts --silent",
"ts-node": "ts-node",
"test": "jest",
"lint": "eslint '{src,tests}/**/*.{js,ts}'",
"lintfix": "eslint '{src,tests}/**/*.{js,ts}' --fix",
"docs": "rm -r ./docs || true; typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src"
"lint": "eslint '{src,tests,scripts,benches}/**/*.{js,ts}'",
"lintfix": "eslint '{src,tests,scripts,benches}/**/*.{js,ts}' --fix",
"lint-shell": "find ./src ./tests ./scripts -type f -regextype posix-extended -regex '.*\\.(sh)' -exec shellcheck {} +",
"docs": "rimraf ./docs && typedoc --gitRevision master --tsconfig ./tsconfig.build.json --out ./docs src"
},
"devDependencies": {
"@types/jest": "^27.0.2",
"@swc/core": "^1.2.215",
"@types/jest": "^28.1.3",
"@types/node": "^16.11.7",

@@ -33,6 +36,8 @@ "@typescript-eslint/eslint-plugin": "^5.23.0",

"eslint-plugin-prettier": "^4.0.0",
"jest": "^27.2.5",
"jest": "^28.1.1",
"jest-junit": "^14.0.0",
"prettier": "^2.6.2",
"ts-jest": "^27.0.5",
"ts-node": "^10.4.0",
"rimraf": "^3.0.2",
"ts-jest": "^28.0.5",
"ts-node": "^10.9.1",
"tsconfig-paths": "^3.9.0",

@@ -39,0 +44,0 @@ "typedoc": "^0.22.15",

24

README.md
# js-resources
[![pipeline status](https://gitlab.com/MatrixAI/open-source/js-resources/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/js-resources/commits/master)
staging:[![pipeline status](https://gitlab.com/MatrixAI/open-source/js-resources/badges/staging/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/js-resources/commits/staging)
master:[![pipeline status](https://gitlab.com/MatrixAI/open-source/js-resources/badges/master/pipeline.svg)](https://gitlab.com/MatrixAI/open-source/js-resources/commits/master)

@@ -42,5 +43,25 @@ Resource context management inspired by Python's `with` context manager and Haskell's bracket pattern.

Publishing is handled automatically by the staging pipeline.
Prerelease:
```sh
# npm login
npm version prepatch --preid alpha # premajor/preminor/prepatch
git push --follow-tags
```
Release:
```sh
# npm login
npm version patch # major/minor/patch
git push --follow-tags
```
Manually:
```sh
# npm login
npm version patch # major/minor/patch
npm run build

@@ -50,2 +71,1 @@ npm publish --access public

git push --tags
```
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