New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@types/web

Package Overview
Dependencies
Maintainers
1
Versions
198
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/web - npm Package Compare versions

Comparing version 0.0.37 to 0.0.38

iterable.d.ts

2

package.json
{
"name": "@types/web",
"version": "0.0.37",
"version": "0.0.38",
"description": "Types for the DOM, and other web technologies in browsers",

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

@@ -11,2 +11,16 @@ ### `@types/web` - Types for the DOM and most web-related APIs

With TypeScript 4.5+ using [lib replacement](https://github.com/microsoft/TypeScript/pull/45771), you can swap the DOM lib with this dependency:
```sh
pnpm add @typescript/lib-dom@npm:@types/web --save-dev
npm install @typescript/lib-dom@npm:@types/web --save-dev
yarn add @typescript/lib-dom@npm:@types/web --dev
```
That's all.
<details>
<summary>TypeScript 4.4 and below</summary>
<br/>
To use `@types/web` you need to do two things:

@@ -21,4 +35,7 @@

That's all.
Removing `"dom"` gives @types/web the chance to provide the same set of global declarations. However, It's possible that your dependencies pull in the TypeScript DOM library, in which case you can either try to make that not happen, or use TypeScript 4.5 to systematically replace the library.
</details>
## SemVer

@@ -35,2 +52,2 @@

You can read what changed in version 0.0.37 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.37.
You can read what changed in version 0.0.38 at https://github.com/microsoft/TypeScript-DOM-lib-generator/releases/tag/%40types%2Fweb%400.0.38.

Sorry, the diff of this file is too big to display

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