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

@embroider/shared-internals

Package Overview
Dependencies
Maintainers
9
Versions
406
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.6.1-unstable.649e0eb to 2.6.1-unstable.6b85eb1

4

package.json
{
"name": "@embroider/shared-internals",
"version": "2.6.1-unstable.649e0eb",
"version": "2.6.1-unstable.6b85eb1",
"private": false,

@@ -56,3 +56,3 @@ "description": "Utilities shared among the other embroider packages",

"tmp": "^0.1.0",
"typescript": "^5.1.6"
"typescript": "^5.4.5"
},

@@ -59,0 +59,0 @@ "engines": {

@@ -9,4 +9,4 @@ import Package from './package';

get(packageRoot: string): Package;
ownerOfFile(filename: string): Package | undefined;
ownerOfFile(filenameInput: string): Package | undefined;
static shared(identifier: string, appRoot: string): PackageCache;
}

@@ -65,3 +65,8 @@ "use strict";

}
ownerOfFile(filename) {
ownerOfFile(filenameInput) {
let filename = filenameInput;
const virtualPrefix = 'embroider_virtual:';
if (filename.includes(virtualPrefix)) {
filename = filename.replace(/^.*embroider_virtual:/, '');
}
let segments = filename.replace(/\\/g, '/').split(path_1.posix.sep);

@@ -68,0 +73,0 @@ // first we look through our cached packages for any that are rooted right

@@ -24,9 +24,9 @@ import type { NodePath } from '@babel/traverse';

Program: {
enter(path: NodePath<Babel.types.Program>, state: State): void;
exit(path: NodePath<Babel.types.Program>, state: State): void;
enter(path: NodePath<t.Program>, state: State): void;
exit(path: NodePath<t.Program>, state: State): void;
};
ExportDefaultDeclaration(path: NodePath<Babel.types.ExportDefaultDeclaration>, state: State): void;
ExportNamedDeclaration(path: NodePath<Babel.types.ExportNamedDeclaration>, state: State): void;
ExportDefaultDeclaration(path: NodePath<t.ExportDefaultDeclaration>, state: State): void;
ExportNamedDeclaration(path: NodePath<t.ExportNamedDeclaration>, state: State): void;
};
};
export {};

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

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

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

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