Socket
Socket
Sign inDemoInstall

js-tokens

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

js-tokens - npm Package Compare versions

Comparing version 8.0.1 to 8.0.2

7

index.d.ts

@@ -25,3 +25,3 @@ export declare type Token =

export default function jsTokens(
declare function jsTokens(
input: string,

@@ -31,3 +31,3 @@ options: { jsx: true }

export default function jsTokens(
declare function jsTokens(
input: string,

@@ -37,2 +37,3 @@ options?: { jsx?: boolean }

export default function jsTokens(input: string): Iterable<Token>;
// @ts-expect-error TypeScript complains about _both_ exporting types _and_ using `export =` but it seems to work fine in practice.
export = jsTokens;
{
"name": "js-tokens",
"version": "8.0.1",
"version": "8.0.2",
"author": "Simon Lydell",

@@ -5,0 +5,0 @@ "license": "MIT",

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