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

@fluidframework/synthesize

Package Overview
Dependencies
Maintainers
3
Versions
589
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fluidframework/synthesize - npm Package Compare versions

Comparing version 0.33.3 to 0.34.0-14942

1

dist/dependencyContainer.js

@@ -7,2 +7,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.DependencyContainer = void 0;
/**

@@ -9,0 +10,0 @@ * DependencyContainer is similar to a IoC Container. It takes providers and will

@@ -7,3 +7,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.IFluidDependencySynthesizer = void 0;
exports.IFluidDependencySynthesizer = "IFluidDependencySynthesizer";
//# sourceMappingURL=IFluidDependencySynthesizer.js.map

18

dist/index.js

@@ -6,8 +6,16 @@ "use strict";

*/
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
}) : (function(o, m, k, k2) {
if (k2 === undefined) k2 = k;
o[k2] = m[k];
}));
var __exportStar = (this && this.__exportStar) || function(m, exports) {
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
};
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("./dependencyContainer"));
__export(require("./IFluidDependencySynthesizer"));
__exportStar(require("./dependencyContainer"), exports);
__exportStar(require("./IFluidDependencySynthesizer"), exports);
__exportStar(require("./types"), exports);
//# sourceMappingURL=index.js.map

@@ -35,3 +35,2 @@ "use strict";

it(`One Optional Provider registered via value`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -44,6 +43,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Optional Provider registered via Promise value`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -56,6 +54,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Optional Provider registered via factory`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -69,6 +66,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Optional Provider registered via Promise factory`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -82,6 +78,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Required Provider registered via value`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -95,6 +90,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Required Provider registered via Promise value`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -108,6 +102,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Required Provider registered via factory`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -122,6 +115,5 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});
it(`One Required Provider registered via Promise factory`, async () => {
var _a;
const dc = new __1.DependencyContainer();

@@ -136,3 +128,3 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});

@@ -193,3 +185,2 @@ it(`Two Optional Modules all registered`, async () => {

it(`Optional Provider found in Parent`, async () => {
var _a;
const parentDc = new __1.DependencyContainer();

@@ -203,3 +194,3 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});

@@ -233,3 +224,2 @@ it(`Optional Modules found in Parent and Child`, async () => {

it(`Required Provider found in Parent`, async () => {
var _a;
const parentDc = new __1.DependencyContainer();

@@ -244,3 +234,3 @@ const mock = new MockLoadable();

assert_1.strict(loadable === mock, "IFluidLoadable is expected");
assert_1.strict(((_a = loadable) === null || _a === void 0 ? void 0 : _a.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
assert_1.strict((loadable === null || loadable === void 0 ? void 0 : loadable.handle.absolutePath) === mock.handle.absolutePath, "IFluidLoadable is valid");
});

@@ -247,0 +237,0 @@ it(`Required Modules found in Parent and Child`, async () => {

@@ -7,2 +7,3 @@ /*!

export * from "./IFluidDependencySynthesizer";
export * from "./types";
//# sourceMappingURL=index.js.map

@@ -0,1 +1,2 @@

export {};
//# sourceMappingURL=types.js.map
{
"name": "@fluidframework/synthesize",
"version": "0.33.3",
"version": "0.34.0-14942",
"description": "A library for synthesizing scope objects.",

@@ -60,24 +60,24 @@ "homepage": "https://fluidframework.com",

"dependencies": {
"@fluidframework/core-interfaces": "^0.33.3"
"@fluidframework/core-interfaces": "0.34.0-14942"
},
"devDependencies": {
"@fluidframework/build-common": "^0.19.2",
"@fluidframework/datastore": "^0.33.3",
"@fluidframework/eslint-config-fluid": "^0.21.0",
"@fluidframework/mocha-test-setup": "^0.33.3",
"@fluidframework/build-common": "^0.20.0-0",
"@fluidframework/datastore": "0.34.0-14942",
"@fluidframework/eslint-config-fluid": "^0.22.1-0",
"@fluidframework/mocha-test-setup": "0.34.0-14942",
"@microsoft/api-extractor": "^7.7.2",
"@types/mocha": "^5.2.5",
"@types/node": "^10.17.24",
"@typescript-eslint/eslint-plugin": "~4.2.0",
"@typescript-eslint/parser": "~4.2.0",
"@typescript-eslint/eslint-plugin": "~4.14.0",
"@typescript-eslint/parser": "~4.14.0",
"concurrently": "^5.2.0",
"copyfiles": "^2.1.0",
"cross-env": "^7.0.2",
"eslint": "~7.9.0",
"eslint": "~7.18.0",
"eslint-plugin-eslint-comments": "~3.2.0",
"eslint-plugin-import": "~2.22.0",
"eslint-plugin-import": "~2.22.1",
"eslint-plugin-no-null": "~1.0.2",
"eslint-plugin-prefer-arrow": "~1.2.2",
"eslint-plugin-react": "~7.21.2",
"eslint-plugin-unicorn": "~22.0.0",
"eslint-plugin-react": "~7.22.0",
"eslint-plugin-unicorn": "~26.0.1",
"mocha": "^8.1.1",

@@ -87,5 +87,5 @@ "mocha-junit-reporter": "^1.18.0",

"rimraf": "^2.6.2",
"typescript": "~3.7.4",
"typescript": "~4.1.3",
"typescript-formatter": "7.1.0"
}
}

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