@fluidframework/map
Advanced tools
Comparing version 0.26.1 to 0.26.2
@@ -6,8 +6,11 @@ "use strict"; | ||
*/ | ||
var __importDefault = (this && this.__importDefault) || function (mod) { | ||
return (mod && mod.__esModule) ? mod : { "default": mod }; | ||
var __importStar = (this && this.__importStar) || function (mod) { | ||
if (mod && mod.__esModule) return mod; | ||
var result = {}; | ||
if (mod != null) for (var k in mod) if (Object.hasOwnProperty.call(mod, k)) result[k] = mod[k]; | ||
result["default"] = mod; | ||
return result; | ||
}; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const assert_1 = require("assert"); | ||
const path_1 = __importDefault(require("path")); | ||
const common_utils_1 = require("@fluidframework/common-utils"); | ||
@@ -17,11 +20,9 @@ const protocol_base_1 = require("@fluidframework/protocol-base"); | ||
const shared_object_base_1 = require("@fluidframework/shared-object-base"); | ||
const path = __importStar(require("path-browserify")); | ||
const debug_1 = require("./debug"); | ||
const localValues_1 = require("./localValues"); | ||
const packageVersion_1 = require("./packageVersion"); | ||
// path-browserify only supports posix functionality but doesn't have a path.posix to enforce it. But we need to | ||
// enforce posix when using the normal node module on Windows (otherwise it will use path.win32). Also including an | ||
// assert here to help protect in case path-browserify changes in the future, because we only want posix path | ||
// functionality. | ||
const posix = path_1.default.posix || path_1.default; | ||
assert_1.strict(posix.sep === "/"); | ||
// We use path-browserify since this code can run safely on the server or the browser. | ||
// We standardize on using posix slashes everywhere. | ||
const posix = path.posix; | ||
const snapshotFileName = "header"; | ||
@@ -28,0 +29,0 @@ function serializeDirectory(root) { |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/map"; | ||
export declare const pkgVersion = "0.26.1"; | ||
export declare const pkgVersion = "0.26.2"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -10,3 +10,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/map"; | ||
exports.pkgVersion = "0.26.1"; | ||
exports.pkgVersion = "0.26.2"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -6,3 +6,2 @@ /*! | ||
import { strict as assert } from "assert"; | ||
import path from "path"; | ||
import { fromBase64ToUtf8 } from "@fluidframework/common-utils"; | ||
@@ -12,11 +11,9 @@ import { addBlobToTree } from "@fluidframework/protocol-base"; | ||
import { SharedObject, ValueType } from "@fluidframework/shared-object-base"; | ||
import * as path from "path-browserify"; | ||
import { debug } from "./debug"; | ||
import { LocalValueMaker, makeSerializable, valueTypes, } from "./localValues"; | ||
import { pkgVersion } from "./packageVersion"; | ||
// path-browserify only supports posix functionality but doesn't have a path.posix to enforce it. But we need to | ||
// enforce posix when using the normal node module on Windows (otherwise it will use path.win32). Also including an | ||
// assert here to help protect in case path-browserify changes in the future, because we only want posix path | ||
// functionality. | ||
const posix = path.posix || path; | ||
assert(posix.sep === "/"); | ||
// We use path-browserify since this code can run safely on the server or the browser. | ||
// We standardize on using posix slashes everywhere. | ||
const posix = path.posix; | ||
const snapshotFileName = "header"; | ||
@@ -23,0 +20,0 @@ function serializeDirectory(root) { |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/map"; | ||
export declare const pkgVersion = "0.26.1"; | ||
export declare const pkgVersion = "0.26.2"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/map"; | ||
export const pkgVersion = "0.26.1"; | ||
export const pkgVersion = "0.26.2"; | ||
//# sourceMappingURL=packageVersion.js.map |
{ | ||
"name": "@fluidframework/map", | ||
"version": "0.26.1", | ||
"version": "0.26.2", | ||
"description": "Distributed map", | ||
@@ -57,8 +57,9 @@ "homepage": "https://fluidframework.com", | ||
"@fluidframework/common-utils": "^0.23.0", | ||
"@fluidframework/core-interfaces": "^0.26.1", | ||
"@fluidframework/datastore-definitions": "^0.26.1", | ||
"@fluidframework/core-interfaces": "^0.26.2", | ||
"@fluidframework/datastore-definitions": "^0.26.2", | ||
"@fluidframework/protocol-base": "^0.1012.0", | ||
"@fluidframework/protocol-definitions": "^0.1012.0", | ||
"@fluidframework/shared-object-base": "^0.26.1", | ||
"debug": "^4.1.1" | ||
"@fluidframework/shared-object-base": "^0.26.2", | ||
"debug": "^4.1.1", | ||
"path-browserify": "^1.0.1" | ||
}, | ||
@@ -68,4 +69,4 @@ "devDependencies": { | ||
"@fluidframework/eslint-config-fluid": "^0.19.1", | ||
"@fluidframework/mocha-test-setup": "^0.26.1", | ||
"@fluidframework/test-runtime-utils": "^0.26.1", | ||
"@fluidframework/mocha-test-setup": "^0.26.2", | ||
"@fluidframework/test-runtime-utils": "^0.26.2", | ||
"@microsoft/api-extractor": "^7.7.2", | ||
@@ -72,0 +73,0 @@ "@types/debug": "^4.1.5", |
@@ -7,3 +7,2 @@ /*! | ||
import { strict as assert } from "assert"; | ||
import path from "path"; | ||
import { fromBase64ToUtf8 } from "@fluidframework/common-utils"; | ||
@@ -24,2 +23,3 @@ import { addBlobToTree } from "@fluidframework/protocol-base"; | ||
import { SharedObject, ValueType } from "@fluidframework/shared-object-base"; | ||
import * as path from "path-browserify"; | ||
import { debug } from "./debug"; | ||
@@ -45,8 +45,6 @@ import { | ||
// path-browserify only supports posix functionality but doesn't have a path.posix to enforce it. But we need to | ||
// enforce posix when using the normal node module on Windows (otherwise it will use path.win32). Also including an | ||
// assert here to help protect in case path-browserify changes in the future, because we only want posix path | ||
// functionality. | ||
const posix = path.posix || path; | ||
assert(posix.sep === "/"); | ||
// We use path-browserify since this code can run safely on the server or the browser. | ||
// We standardize on using posix slashes everywhere. | ||
const posix: typeof import("path").posix = path.posix; | ||
const snapshotFileName = "header"; | ||
@@ -53,0 +51,0 @@ |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/map"; | ||
export const pkgVersion = "0.26.1"; | ||
export const pkgVersion = "0.26.2"; |
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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1355146
9
15046
+ Addedpath-browserify@^1.0.1
+ Addedpath-browserify@1.0.1(transitive)