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

argtor

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

argtor - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

dist/cjs/argtor.js.map

2

dist/cjs/argtor.js

@@ -25,1 +25,3 @@ "use strict";

exports.argtor = argtor;
//# sourceMappingURL=argtor.js.map

@@ -37,1 +37,3 @@ "use strict";

}
//# sourceMappingURL=index.js.map

@@ -30,1 +30,3 @@ const argsOf = (x1)=>{

;
//# sourceMappingURL=argtor.js.map
export * from './argtor';
//# sourceMappingURL=index.js.map

31

package.json

@@ -6,3 +6,3 @@ {

"description": "Extracts destructured argument names from a function.",
"version": "1.0.1",
"version": "1.0.2",
"license": "MIT",

@@ -50,3 +50,3 @@ "repository": {

"prepush": "npm run lint && npm run test",
"prepare": "husky install && node .pull-configs.js"
"prepare": "husky install"
},

@@ -58,25 +58,25 @@ "trustedDependencies": [

"pull-configs",
"vite-open"
"vite-open",
"wtr-plugin-vite"
],
"devDependencies": {
"@n1kk/intspector": "1.0.2",
"@rollup/plugin-commonjs": "21.0.3",
"@stagas/jest-node-exports-resolver": "1.1.5-require-basedir-2",
"@swc-node/jest": "1.4.3",
"@swc/cli": "0.1.56",
"@swc/core": "1.2.160",
"@swc/cli": "0.1.57",
"@swc/core": "1.2.164",
"@tsconfig/node16": "1.0.2",
"@types/audioworklet": "0.0.26",
"@types/jest": "27.4.1",
"@types/node": "17.0.23",
"@typescript-eslint/eslint-plugin": "5.16.0",
"@typescript-eslint/parser": "5.16.0",
"@web/dev-server-rollup": "0.3.15",
"@types/webmidi": "2.0.6",
"@typescript-eslint/eslint-plugin": "5.18.0",
"@typescript-eslint/parser": "5.18.0",
"@web/test-runner": "0.13.27",
"bunzee": "^0.0.1",
"chokidar": "3.5.3",
"dprint": "0.24.1",
"esbuild": "0.14.27",
"eslint": "8.12.0",
"dprint": "0.24.4",
"eslint": "8.13.0",
"eslint-config-html-jsx": "1.0.0",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-import": "2.26.0",
"husky": "7.0.4",

@@ -89,10 +89,9 @@ "jest": "27.5.1",

"swcno": "0.1.1",
"terser": "5.12.1",
"ts-jest": "27.1.4",
"ts-node": "10.7.0",
"typescript": "4.6.3",
"vite-open": "^1.4.2",
"vite-web-test-runner-plugin": "0.1.0"
"vite-open": "^1.6.2",
"wtr-plugin-vite": "^0.0.1"
},
"types": "./dist/types/index.d.ts"
}
<h1>
argtor <a href="https://npmjs.org/package/argtor"><img src="https://img.shields.io/badge/npm-v1.0.1-F00.svg?colorA=000"/></a> <a href="src"><img src="https://img.shields.io/badge/loc-22-FFF.svg?colorA=000"/></a> <a href="https://cdn.jsdelivr.net/npm/argtor@1.0.1/dist/argtor.min.js"><img src="https://img.shields.io/badge/brotli-265b-333.svg?colorA=000"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000"/></a>
argtor <a href="https://npmjs.org/package/argtor"><img src="https://img.shields.io/badge/npm-v1.0.2-F00.svg?colorA=000"/></a> <a href="src"><img src="https://img.shields.io/badge/loc-22-FFF.svg?colorA=000"/></a> <a href="https://cdn.jsdelivr.net/npm/argtor@1.0.2/dist/argtor.min.js"><img src="https://img.shields.io/badge/brotli-265b-333.svg?colorA=000"/></a> <a href="LICENSE"><img src="https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000"/></a>
</h1>

@@ -21,3 +21,3 @@

<p> <details id="argtor$1" title="Function" open><summary><span><a href="#argtor$1">#</a></span> <code><strong>argtor</strong></code><em>(fn, keys)</em> &ndash; Extract destructured argument names from <code>fn</code>'s first argument and return a <code>Set</code> of <code>keys</code>.</summary> <a href="src/argtor.ts#L31">src/argtor.ts#L31</a> <ul><p></p> <p>
<p> <details id="argtor$1" title="Function" open><summary><span><a href="#argtor$1">#</a></span> <code><strong>argtor</strong></code><em>(fn, keys)</em> &ndash; Extract destructured argument names from <code>fn</code>'s first argument and return a <code>Set</code> of <code>keys</code>.</summary> <a href="src/argtor.ts#L31">src/argtor.ts#L31</a> <ul> <p> <p>

@@ -29,3 +29,4 @@ ```ts

<details id="fn$4" title="Function" ><summary><span><a href="#fn$4">#</a></span> <code><strong>fn</strong></code><em>(state)</em> </summary> <ul><p></p> <p> <details id="state$7" title="Parameter" ><summary><span><a href="#state$7">#</a></span> <code><strong>state</strong></code> </summary> <ul><p><a href="#T$3">T</a></p> </ul></details> <p><strong>fn</strong><em>(state)</em> &nbsp;=&gt; <ul>any</ul></p></p> </ul></details><details id="keys$8" title="Parameter" ><summary><span><a href="#keys$8">#</a></span> <code><strong>keys</strong></code> <span><span>&nbsp;=&nbsp;</span> <code>...</code></span> &ndash; A keys <code>Set</code> to fill in with the argument names.</summary> <ul><p><span>Set</span>&lt;string&gt;</p> </ul></details> <p><strong>argtor</strong>&lt;<span>T</span>&gt;<em>(fn, keys)</em> &nbsp;=&gt; <ul><span>Set</span>&lt;string&gt;</ul></p></p> </ul></details></p>
</p>
<details id="fn$4" title="Function" ><summary><span><a href="#fn$4">#</a></span> <code><strong>fn</strong></code><em>(state)</em> </summary> <ul> <p> <details id="state$7" title="Parameter" ><summary><span><a href="#state$7">#</a></span> <code><strong>state</strong></code> </summary> <ul><p><a href="#T$3">T</a></p> </ul></details> <p><strong>fn</strong><em>(state)</em> &nbsp;=&gt; <ul>any</ul></p></p> </ul></details><details id="keys$8" title="Parameter" ><summary><span><a href="#keys$8">#</a></span> <code><strong>keys</strong></code> <span><span>&nbsp;=&nbsp;</span> <code>...</code></span> &ndash; A keys <code>Set</code> to fill in with the argument names.</summary> <ul><p><span>Set</span>&lt;string&gt;</p> </ul></details> <p><strong>argtor</strong>&lt;<span>T</span>&gt;<em>(fn, keys)</em> &nbsp;=&gt; <ul><span>Set</span>&lt;string&gt;</ul></p></p> </ul></details></p>

@@ -32,0 +33,0 @@ ## Contributing

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