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

runme

Package Overview
Dependencies
Maintainers
3
Versions
38
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

runme - npm Package Compare versions

Comparing version 0.2.4 to 0.4.0

deno.lock

2

dist/cli.js

@@ -39,3 +39,3 @@ import os from 'node:os';

const [version, type, target, ext] = [RUNME_VERSION, platform.TYPE.toLocaleLowerCase(), platform.TARGET, platform.EXTENSION];
const url = `https://download.stateful.com/runme/${version}/runme_${type}_${target}.${ext}${os.type().includes('Windows') ?? '.exe'}`;
const url = `https://download.stateful.com/runme/${version}/runme_${type}_${target}.${ext}${os.type().includes('Windows') ? '.exe' : ''}`;
const res = await fetch(url);

@@ -42,0 +42,0 @@ if (!res.body) {

@@ -1,2 +0,2 @@

export const RUNME_VERSION = '0.2.4';
export const RUNME_VERSION = '0.4.0';
export const SUPPORTE_PLATFORMS = [

@@ -3,0 +3,0 @@ {

@@ -9,4 +9,4 @@ import { loadWasm } from './runtime/node.js';

*/
if (typeof globalThis.GetDocument === 'function') {
return;
if (globalThis.Runme) {
return globalThis.Runme;
}

@@ -26,10 +26,12 @@ const wasmBuffer = await loadWasm();

*/
if (typeof globalThis.GetDocument === 'undefined') {
if (typeof globalThis.Runme === 'undefined') {
await initPromise;
}
const { Runme } = globalThis;
return Runme;
}
export async function parse(content) {
await initWasm();
const { document } = await globalThis.GetDocument(content);
return document;
const Runme = await initWasm();
const { cells } = await Runme.deserialize(content);
return cells;
}
{
"name": "runme",
"version": "0.2.4",
"version": "0.4.0",
"author": "Christian Bromann <christian@stateful.com>",

@@ -35,16 +35,16 @@ "license": "Apache-2.0",

"@octokit/rest": "^19.0.5",
"@types/node": "^18.11.9",
"@types/node": "^18.11.16",
"@types/tar-fs": "^2.0.1",
"@vitest/coverage-c8": "^0.24.5",
"@vitest/coverage-c8": "^0.25.8",
"c8": "^7.12.0",
"npm-run-all": "^4.1.5",
"release-it": "^15.5.0",
"release-it": "^15.5.1",
"rimraf": "^3.0.2",
"typescript": "^4.8.4",
"vitest": "^0.24.5"
"typescript": "^4.9.4",
"vitest": "^0.25.8"
},
"dependencies": {
"node-fetch": "^3.2.10",
"node-fetch": "^3.3.0",
"tar-fs": "^2.1.1"
}
}

@@ -14,2 +14,8 @@ # runme

```sh { name=update-brew }
$ brew update
```
Install runme:
```sh

@@ -28,2 +34,34 @@ $ brew install stateful/tap/runme

## Commands
### Help
```sh { interactive=false }
$ runme help
```
### List
```sh
$ runme list
```
### Print
```sh { interactive=false }
$ runme print hello-world
```
### Run selected command, Example: Update brew
```sh
$ runme run update-brew
```
### Example Command
```sh { name=hello-world }
echo "hello world"
```
## Contributing & Feedback

@@ -30,0 +68,0 @@

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