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

jsh

Package Overview
Dependencies
Maintainers
1
Versions
103
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jsh - npm Package Compare versions

Comparing version 0.4.0 to 0.4.1

bin/jsh-local.mjs

15

package.json
{
"name": "jsh",
"version": "0.4.0",
"version": "0.4.1",
"description": "Helpers for Bash like shell scripting in JavaScript",

@@ -19,11 +19,12 @@ "author": "Brady Holt",

],
"main": "dist/cjs/index.js",
"module": "dist/mjs/index.js",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"type": "module",
"exports": {
".": {
"require": "./dist/cjs/index.js",
"import": "./dist/mjs/index.mjs"
"require": "./dist/index.cjs",
"import": "./dist/index.mjs"
}
},
"types": "dist/index.d.ts",
"bin": "./bin/jsh.mjs",

@@ -39,6 +40,6 @@ "devDependencies": {

"scripts": {
"build": "rm -rf dist/ && tsc -p src/tsconfig.mjs.json && tsc -p src/tsconfig.cjs.json && mv ./dist/mjs/index.js ./dist/mjs/index.mjs",
"build": "rm -rf dist/ && tsc -p src/tsconfig.mjs.json && mv ./dist/index.js ./dist/index.mjs && tsc -p src/tsconfig.cjs.json && mv ./dist/index.js ./dist/index.cjs",
"test": "jest --clearCache && jest --silent",
"prepublishOnly": "npm run build && bin/local-run.mjs ./scripts/source-version-prefix.mjs"
"prepublishOnly": "npm run build && bin/jsh-local.mjs ./scripts/source-version-prefix.mjs"
}
}

@@ -97,3 +97,3 @@ # jsh

You can refer to the [definition file](https://github.com/bradymholt/jsh/blob/main/dist/cjs/index.d.ts) for a full list of the helpers and JSDoc documentation for arguments and usage.
You can refer to the [definition file](https://github.com/bradymholt/jsh/blob/main/dist/index.d.ts) for a full list of the helpers and JSDoc documentation for arguments and usage.

@@ -269,3 +269,3 @@ ## Command Execution

```
wget -O jsh.js https://raw.githubusercontent.com/bradymholt/jsh/main/dist/cjs/index.js
wget -O jsh.js https://raw.githubusercontent.com/bradymholt/jsh/main/dist/index.cjs
```

@@ -272,0 +272,0 @@

@@ -5,5 +5,5 @@ {

"module": "CommonJS",
"outDir": "../dist/cjs"
"outDir": "../dist"
},
"files": ["./index.ts"]
}
{
"extends": "../tsconfig.json",
"compilerOptions": {
"outDir": "../dist/mjs"
"outDir": "../dist"
},
"files": ["./index.ts"]
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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