@yarnpkg/core
Advanced tools
Comparing version 4.0.2 to 4.0.3
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node/http" /> | ||
@@ -9,3 +8,2 @@ /// <reference types="got/dist/source/core/utils/timed-out" /> | ||
import { IncomingHttpHeaders } from 'http'; | ||
import { URL } from 'url'; | ||
import { Configuration } from './Configuration'; | ||
@@ -12,0 +10,0 @@ import { WrapNetworkRequestInfo } from './Plugin'; |
@@ -10,3 +10,2 @@ "use strict"; | ||
const tunnel_1 = tslib_1.__importDefault(require("tunnel")); | ||
const url_1 = require("url"); | ||
const MessageName_1 = require("./MessageName"); | ||
@@ -21,3 +20,3 @@ const Report_1 = require("./Report"); | ||
function parseProxy(specifier) { | ||
const url = new url_1.URL(specifier); | ||
const url = new URL(specifier); | ||
const proxy = { host: url.hostname, headers: {} }; | ||
@@ -112,3 +111,3 @@ if (url.port) | ||
const mergableKeys = Object.keys(mergedNetworkSettings); | ||
const url = typeof target === `string` ? new url_1.URL(target) : target; | ||
const url = typeof target === `string` ? new URL(target) : target; | ||
for (const [glob, config] of networkSettings) { | ||
@@ -186,3 +185,3 @@ if (micromatch_1.default.isMatch(url.hostname, glob)) { | ||
async function requestImpl(target, body, { configuration, headers, jsonRequest, jsonResponse, method = Method.GET }) { | ||
const url = typeof target === `string` ? new url_1.URL(target) : target; | ||
const url = typeof target === `string` ? new URL(target) : target; | ||
const networkConfig = getNetworkSettings(url, { configuration }); | ||
@@ -189,0 +188,0 @@ if (networkConfig.enableNetwork === false) |
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
/// <reference types="node" /> | ||
import { PortablePath } from '@yarnpkg/fslib'; | ||
import { CommandClass } from 'clipanion'; | ||
import { Writable, Readable } from 'stream'; | ||
import { URL } from 'url'; | ||
import { PluginConfiguration, Configuration, ConfigurationDefinitionMap, PackageExtensionData } from './Configuration'; | ||
@@ -9,0 +7,0 @@ import { Fetcher } from './Fetcher'; |
{ | ||
"name": "@yarnpkg/core", | ||
"version": "4.0.2", | ||
"version": "4.0.3", | ||
"license": "BSD-2-Clause", | ||
@@ -15,4 +15,4 @@ "main": "./lib/index.js", | ||
"@types/treeify": "^1.0.0", | ||
"@yarnpkg/fslib": "^3.0.1", | ||
"@yarnpkg/libzip": "^3.0.0", | ||
"@yarnpkg/fslib": "^3.0.2", | ||
"@yarnpkg/libzip": "^3.0.1", | ||
"@yarnpkg/parsers": "^3.0.0", | ||
@@ -53,5 +53,5 @@ "@yarnpkg/shell": "^4.0.0", | ||
"@types/tunnel": "^0.0.0", | ||
"@yarnpkg/cli": "^4.0.2", | ||
"@yarnpkg/cli": "^4.1.0", | ||
"@yarnpkg/plugin-link": "^3.0.0", | ||
"@yarnpkg/plugin-npm": "^3.0.0", | ||
"@yarnpkg/plugin-npm": "^3.0.1", | ||
"@yarnpkg/plugin-pnp": "^4.0.2", | ||
@@ -58,0 +58,0 @@ "comment-json": "^2.2.0", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
801229
14710
+ Added@types/node@22.10.0(transitive)
- Removed@types/node@22.10.1(transitive)
Updated@yarnpkg/fslib@^3.0.2
Updated@yarnpkg/libzip@^3.0.1