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

@atlaspack/core

Package Overview
Dependencies
Maintainers
0
Versions
301
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atlaspack/core - npm Package Compare versions

Comparing version 2.12.1-canary.3393 to 2.12.1-canary.3394

13

lib/requests/AssetGraphRequestRust.js

@@ -156,3 +156,3 @@ "use strict";

filePath: (0, _projectPath.toProjectPath)(options.projectRoot, asset.filePath),
symbols: asset.hasSymbols ? new Map(asset.symbols.map(mapSymbols)) : null
symbols: asset.symbols != null ? new Map(asset.symbols.map(mapSymbols)) : null
};

@@ -170,2 +170,3 @@ cachedAssets.set(id, asset.code);

} else if (node.type === 'dependency') {
var _dependency$symbols;
let id = node.value.id;

@@ -183,2 +184,6 @@ let dependency = node.value.dependency;

contentKey: id,
loc: dependency.loc ? {
...dependency.loc,
filePath: (0, _projectPath.toProjectPath)(options.projectRoot, dependency.loc.filePath)
} : undefined,
sourcePath: dependency.sourcePath ? (0, _projectPath.toProjectPath)(options.projectRoot, dependency.sourcePath) : null,

@@ -189,7 +194,3 @@ symbols:

// make this consistant when we re-visit packaging.
dependency.hasSymbols || dependency.env.shouldScopeHoist ? new Map(dependency.symbols.map(mapSymbols)) : undefined,
loc: dependency.loc ? {
...dependency.loc,
filePath: (0, _projectPath.toProjectPath)(options.projectRoot, dependency.loc.filePath)
} : undefined
dependency.symbols != null || dependency.env.shouldScopeHoist ? new Map((_dependency$symbols = dependency.symbols) === null || _dependency$symbols === void 0 ? void 0 : _dependency$symbols.map(mapSymbols)) : undefined
};

@@ -196,0 +197,0 @@ let usedSymbolsDown = new Set();

{
"name": "@atlaspack/core",
"version": "2.12.1-canary.3393+1c13c1943",
"version": "2.12.1-canary.3394+27c593e9c",
"license": "MIT",

@@ -23,16 +23,16 @@ "publishConfig": {

"dependencies": {
"@atlaspack/cache": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/diagnostic": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/events": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/feature-flags": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/fs": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/graph": "3.2.1-canary.3393+1c13c1943",
"@atlaspack/logger": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/package-manager": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/plugin": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/profiler": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/rust": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/types": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/utils": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/workers": "2.12.1-canary.3393+1c13c1943",
"@atlaspack/cache": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/diagnostic": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/events": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/feature-flags": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/fs": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/graph": "3.2.1-canary.3394+27c593e9c",
"@atlaspack/logger": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/package-manager": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/plugin": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/profiler": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/rust": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/types": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/utils": "2.12.1-canary.3394+27c593e9c",
"@atlaspack/workers": "2.12.1-canary.3394+27c593e9c",
"@mischnic/json-sourcemap": "^0.1.0",

@@ -59,3 +59,3 @@ "@parcel/source-map": "^2.1.1",

},
"gitHead": "1c13c194368d45bdede0f3f79f0d4dc3a83c67ca"
"gitHead": "27c593e9ceebbbb84b5821f0875f6511b678a94e"
}

@@ -189,5 +189,4 @@ // @flow strict-local

filePath: toProjectPath(options.projectRoot, asset.filePath),
symbols: asset.hasSymbols
? new Map(asset.symbols.map(mapSymbols))
: null,
symbols:
asset.symbols != null ? new Map(asset.symbols.map(mapSymbols)) : null,
};

@@ -221,12 +220,2 @@

contentKey: id,
sourcePath: dependency.sourcePath
? toProjectPath(options.projectRoot, dependency.sourcePath)
: null,
symbols:
// Dependency.symbols are always set to an empty map when scope hoisting
// is enabled. Some tests will fail if this is not the case. We should
// make this consistant when we re-visit packaging.
dependency.hasSymbols || dependency.env.shouldScopeHoist
? new Map(dependency.symbols.map(mapSymbols))
: undefined,
loc: dependency.loc

@@ -241,2 +230,12 @@ ? {

: undefined,
sourcePath: dependency.sourcePath
? toProjectPath(options.projectRoot, dependency.sourcePath)
: null,
symbols:
// Dependency.symbols are always set to an empty map when scope hoisting
// is enabled. Some tests will fail if this is not the case. We should
// make this consistant when we re-visit packaging.
dependency.symbols != null || dependency.env.shouldScopeHoist
? new Map(dependency.symbols?.map(mapSymbols))
: undefined,
};

@@ -243,0 +242,0 @@ let usedSymbolsDown = new Set();

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