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

@embroider/shared-internals

Package Overview
Dependencies
Maintainers
9
Versions
415
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@embroider/shared-internals - npm Package Compare versions

Comparing version 2.5.2-unstable.d68fbec to 2.5.2-unstable.d6b87d7

2

package.json
{
"name": "@embroider/shared-internals",
"version": "2.5.2-unstable.d68fbec",
"version": "2.5.2-unstable.d6b87d7",
"private": false,

@@ -5,0 +5,0 @@ "description": "Utilities shared among the other embroider packages",

@@ -51,2 +51,4 @@ "use strict";

exports.emberVirtualPackages.add('@glimmer/manager');
// ember-data pre 4.12 failed to declare this as a peer dependency of @ember-data/debug
exports.emberVirtualPeerDeps.add('@ember-data/store');
// These are the known names that people use to import template precomiplation

@@ -53,0 +55,0 @@ // macros from.

@@ -66,17 +66,17 @@ "use strict";

ownerOfFile(filename) {
let segments = filename.split(path_1.sep);
let segments = filename.replace(/\\/g, '/').split(path_1.posix.sep);
// first we look through our cached packages for any that are rooted right
// at or above the file.
for (let length = segments.length; length >= 0; length--) {
if (segments[length - 1] === 'node_modules') {
// once we hit a node_modules, we're leaving the package we were in, so
// any higher caches don't apply to us
if (segments[length - 1] === 'node_modules' || segments[length - 1] === '') {
// once we hit a node_modules or the filesystem root, we're leaving the
// package we were in, so any higher caches don't apply to us
break;
}
let usedSegments = segments.slice(0, length);
let candidate = usedSegments.join(path_1.sep);
let candidate = usedSegments.join(path_1.posix.sep);
if (this.rootCache.has(candidate)) {
return this.rootCache.get(candidate);
}
if (getCachedExists([...usedSegments, 'package.json'].join(path_1.sep))) {
if (getCachedExists([...usedSegments, 'package.json'].join(path_1.posix.sep))) {
return this.get(candidate);

@@ -83,0 +83,0 @@ }

@@ -57,2 +57,5 @@ "use strict";

var _a;
if (state.associate) {
return;
}
let template = getTemplate(path, state);

@@ -93,2 +96,5 @@ if (!template) {

ExportNamedDeclaration(path, state) {
if (state.associate) {
return;
}
let template = getTemplate(path, state);

@@ -95,0 +101,0 @@ if (!template) {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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