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

@endo/compartment-mapper

Package Overview
Dependencies
Maintainers
5
Versions
58
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@endo/compartment-mapper - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

14

package.json
{
"name": "@endo/compartment-mapper",
"version": "1.2.1",
"version": "1.2.2",
"description": "The compartment mapper assembles Node applications in a sandbox",

@@ -58,6 +58,6 @@ "keywords": [

"dependencies": {
"@endo/cjs-module-analyzer": "^1.0.6",
"@endo/module-source": "^1.0.1",
"@endo/zip": "^1.0.6",
"ses": "^1.7.0"
"@endo/cjs-module-analyzer": "^1.0.7",
"@endo/module-source": "^1.0.2",
"@endo/zip": "^1.0.7",
"ses": "^1.8.0"
},

@@ -74,3 +74,3 @@ "devDependencies": {

"prettier": "^3.2.5",
"typescript": "5.5.2"
"typescript": "~5.6.1-rc"
},

@@ -114,3 +114,3 @@ "files": [

},
"gitHead": "444c81ad3ecc1b0a449023a9c65e9be2fa17db21"
"gitHead": "cb060b7e22c92cc951fb03d86cdbceeae82fec34"
}

@@ -18,3 +18,3 @@ /**

maybeRead: (location: string) => Promise<Buffer | undefined>;
fileURLToPath: (location: string) => string;
fileURLToPath: typeof import("url").fileURLToPath;
pathToFileURL: ((path: string) => string) | typeof import("url").pathToFileURL;

@@ -21,0 +21,0 @@ canonical: (location: string) => Promise<string>;

@@ -13,3 +13,5 @@ /* Provides mechanisms for interacting with Compartment Map runtime policies.

const { create, entries, values, assign, keys, freeze } = Object;
const { create, entries, values, assign, freeze, getOwnPropertyDescriptors } =
Object;
const { ownKeys } = Reflect;
const q = JSON.stringify;

@@ -23,3 +25,5 @@

/**
* Copies properties (optionally limited to a specific list) from one object to another.
* Copies properties (optionally limited to a specific list) from one object
* to another. By default, copies all enumerable, own, string- and
* symbol-named properties.
*

@@ -33,3 +37,8 @@ * @param {object} from

if (!list) {
list = keys(from);
const descs = getOwnPropertyDescriptors(from);
list = ownKeys(from).filter(
key =>
// @ts-expect-error TypeScript still confused about a symbol as index
descs[key].enumerable,
);
}

@@ -36,0 +45,0 @@ for (let index = 0; index < list.length; index += 1) {

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