You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sendscript

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendscript - npm Package Compare versions

Comparing version

to
1.0.3

7

CHANGELOG.md

@@ -7,4 +7,11 @@ ### Changelog

#### [v1.0.3](https://github.com/bas080/sendscript/compare/v1.0.2...v1.0.3)
- Make examples import module not relative file [`0a5e1c8`](https://github.com/bas080/sendscript/commit/0a5e1c8ec2527d63d1e248f63568668058de388c)
- Fix repository url in package.json [`d4f1e79`](https://github.com/bas080/sendscript/commit/d4f1e79a75daea28905c9b680b31e517526588d3)
#### [v1.0.2](https://github.com/bas080/sendscript/compare/v1.0.1...v1.0.2)
> 4 May 2025
- Improve the typescript example [`6f75ed6`](https://github.com/bas080/sendscript/commit/6f75ed6a4b4db94217fde41ae50bc6b92a2cffda)

@@ -11,0 +18,0 @@ - Move errors to own module [`90d69a3`](https://github.com/bas080/sendscript/commit/90d69a337f92518c8dd5c2ad47dd9b1add80d0c3)

2

example/typescript/docs/functions/add.md

@@ -11,3 +11,3 @@ [**sendscript**](../README.md)

Defined in: [math.ts:1](https://github.com/bas080/sendscript/blob/6f75ed6a4b4db94217fde41ae50bc6b92a2cffda/example/typescript/math.ts#L1)
Defined in: [math.ts:1](https://github.com/bas080/sendscript/blob/0a5e1c8ec2527d63d1e248f63568668058de388c/example/typescript/math.ts#L1)

@@ -14,0 +14,0 @@ ## Parameters

@@ -11,3 +11,3 @@ [**sendscript**](../README.md)

Defined in: [math.ts:2](https://github.com/bas080/sendscript/blob/6f75ed6a4b4db94217fde41ae50bc6b92a2cffda/example/typescript/math.ts#L2)
Defined in: [math.ts:2](https://github.com/bas080/sendscript/blob/0a5e1c8ec2527d63d1e248f63568668058de388c/example/typescript/math.ts#L2)

@@ -14,0 +14,0 @@ ## Parameters

@@ -25,3 +25,7 @@ **sendscript**

```bash
npm install --no-save socket.io socket.io-client
npm link &&
npm install --no-save \
socket.io \
socket.io-client \
sendscript
```

@@ -50,3 +54,3 @@

import { Server } from 'socket.io'
import Parse from '../parse.mjs'
import Parse from 'sendscript/parse.mjs'
import * as math from './math.mjs'

@@ -81,4 +85,4 @@

import socketClient from 'socket.io-client'
import stringify from '../stringify.mjs'
import module from '../module.mjs'
import stringify from 'sendscript/stringify.mjs'
import module from 'sendscript/module.mjs'
import * as math from './math.mjs'

@@ -85,0 +89,0 @@ import assert from 'node:assert'

{
"name": "sendscript",
"version": "1.0.2",
"version": "1.0.3",
"description": "Blur the line between server and client code.",

@@ -16,3 +16,3 @@ "module": true,

"type": "git",
"url": "git@github.com:bas080/sendscript.git"
"url": "git+ssh://git@github.com/bas080/sendscript.git"
},

@@ -19,0 +19,0 @@ "scripts": {

@@ -36,3 +36,7 @@ # SendScript

```bash
npm install --no-save socket.io socket.io-client
npm link &&
npm install --no-save \
socket.io \
socket.io-client \
sendscript
```

@@ -61,3 +65,3 @@

import { Server } from 'socket.io'
import Parse from '../parse.mjs'
import Parse from 'sendscript/parse.mjs'
import * as math from './math.mjs'

@@ -92,4 +96,4 @@

import socketClient from 'socket.io-client'
import stringify from '../stringify.mjs'
import module from '../module.mjs'
import stringify from 'sendscript/stringify.mjs'
import module from 'sendscript/module.mjs'
import * as math from './math.mjs'

@@ -224,8 +228,8 @@ import assert from 'node:assert'

```bash
npm install --no-save \
typedoc \
typedoc-plugin-markdown
typedoc --plugin typedoc-plugin-markdown --out ./example/typescript/docs ./example/typescript/math.ts
```
```
[info] Loaded plugin typedoc-plugin-markdown
[info] markdown generated at ./example/typescript/docs
```

@@ -249,7 +253,7 @@ You can see the docs [here](./example/typescript/docs/globals.md)

> sendscript@1.0.2 test
> sendscript@1.0.3 test
> tap -R silent
> sendscript@1.0.2 test
> sendscript@1.0.3 test
> tap report text-summary

@@ -256,0 +260,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet