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

@types/punycode

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/punycode - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

5

punycode/index.d.ts

@@ -1,6 +0,1 @@

// Type definitions for punycode 2.1
// Project: https://mths.be/punycode
// Definitions by: Dmitry Guketlev <https://github.com/yavanosta>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export function decode(input: string): string;

@@ -7,0 +2,0 @@ export function encode(input: string): string;

16

punycode/package.json
{
"name": "@types/punycode",
"version": "2.1.0",
"version": "2.1.1",
"description": "TypeScript definitions for punycode",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/punycode",
"license": "MIT",

@@ -9,16 +10,17 @@ "contributors": [

"name": "Dmitry Guketlev",
"url": "https://github.com/yavanosta",
"githubUsername": "yavanosta"
"githubUsername": "yavanosta",
"url": "https://github.com/yavanosta"
}
],
"main": "",
"types": "index",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/punycode"
},
"scripts": {},
"dependencies": {},
"typesPublisherContentHash": "31a45f9ef418d35aa10865256c376697cc9e2f581fade087587340fff3d55061",
"typeScriptVersion": "2.0"
"typesPublisherContentHash": "09dda3fa871cbc11a2ad0e62cd7db99aa6cd3d4ecbee615a5ef08cc2f6ffa90c",
"typeScriptVersion": "4.5"
}

@@ -8,10 +8,24 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/punycode
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/punycode.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/punycode/index.d.ts)
````ts
export function decode(input: string): string;
export function encode(input: string): string;
export function toUnicode(input: string): string;
export function toASCII(input: string): string;
Additional Details
* Last updated: Fri, 07 Dec 2018 19:11:36 GMT
export namespace ucs2 {
function decode(string: string): number[];
function encode(array: ReadonlyArray<number>): string;
}
export const version: string;
````
### Additional Details
* Last updated: Wed, 18 Oct 2023 05:47:09 GMT
* Dependencies: none
* Global values: none
# Credits
These definitions were written by Dmitry Guketlev <https://github.com/yavanosta>.
These definitions were written by [Dmitry Guketlev](https://github.com/yavanosta).

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