@fluidframework/common-utils
Advanced tools
Comparing version 0.32.0-31336 to 0.32.0-32933
@@ -40,4 +40,9 @@ "use strict"; | ||
// by deferring to Node version, which uses a hash polyfill | ||
// When packed, this chunk will show as "FluidFramework-HashFallback" separately | ||
// from the main chunk and will be of non-trivial size. It will not be served | ||
// under normal circumstances. | ||
if (crypto.subtle === undefined) { | ||
return Promise.resolve().then(() => __importStar(require("./hashFileNode"))).then(async (m) => m.hashFile(file)); | ||
return Promise.resolve().then(() => __importStar(require( | ||
/* webpackChunkName: "FluidFramework-HashFallback" */ | ||
"./hashFileNode"))).then(async (m) => m.hashFile(file)); | ||
} | ||
@@ -44,0 +49,0 @@ const hash = await crypto.subtle.digest("SHA-1", file); |
@@ -25,2 +25,3 @@ /*! | ||
export * from "./delay"; | ||
export * from "./bufferShared"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -37,2 +37,3 @@ "use strict"; | ||
__exportStar(require("./delay"), exports); | ||
__exportStar(require("./bufferShared"), exports); | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/common-utils"; | ||
export declare const pkgVersion = "0.32.0-31336"; | ||
export declare const pkgVersion = "0.32.0-32933"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -11,3 +11,3 @@ "use strict"; | ||
exports.pkgName = "@fluidframework/common-utils"; | ||
exports.pkgVersion = "0.32.0-31336"; | ||
exports.pkgVersion = "0.32.0-32933"; | ||
//# sourceMappingURL=packageVersion.js.map |
@@ -18,4 +18,9 @@ /*! | ||
// by deferring to Node version, which uses a hash polyfill | ||
// When packed, this chunk will show as "FluidFramework-HashFallback" separately | ||
// from the main chunk and will be of non-trivial size. It will not be served | ||
// under normal circumstances. | ||
if (crypto.subtle === undefined) { | ||
return import("./hashFileNode").then(async (m) => m.hashFile(file)); | ||
return import( | ||
/* webpackChunkName: "FluidFramework-HashFallback" */ | ||
"./hashFileNode").then(async (m) => m.hashFile(file)); | ||
} | ||
@@ -22,0 +27,0 @@ const hash = await crypto.subtle.digest("SHA-1", file); |
@@ -25,2 +25,3 @@ /*! | ||
export * from "./delay"; | ||
export * from "./bufferShared"; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -25,2 +25,3 @@ /*! | ||
export * from "./delay"; | ||
export * from "./bufferShared"; | ||
//# sourceMappingURL=index.js.map |
@@ -8,3 +8,3 @@ /*! | ||
export declare const pkgName = "@fluidframework/common-utils"; | ||
export declare const pkgVersion = "0.32.0-31336"; | ||
export declare const pkgVersion = "0.32.0-32933"; | ||
//# sourceMappingURL=packageVersion.d.ts.map |
@@ -8,3 +8,3 @@ /*! | ||
export const pkgName = "@fluidframework/common-utils"; | ||
export const pkgVersion = "0.32.0-31336"; | ||
export const pkgVersion = "0.32.0-32933"; | ||
//# sourceMappingURL=packageVersion.js.map |
{ | ||
"name": "@fluidframework/common-utils", | ||
"version": "0.32.0-31336", | ||
"version": "0.32.0-32933", | ||
"description": "Collection of utility functions for Fluid", | ||
@@ -22,3 +22,3 @@ "homepage": "https://fluidframework.com", | ||
"build:compile": "concurrently npm:build:commonjs npm:build:esnext", | ||
"build:docs": "api-extractor run --local && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"build:docs": "api-extractor run --local --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"build:esnext": "tsc --project ./tsconfig.esnext.json", | ||
@@ -33,3 +33,3 @@ "build:full": "npm run build", | ||
"ci:build": "npm run build:genver && npm run build:compile", | ||
"ci:build:docs": "api-extractor run && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"ci:build:docs": "api-extractor run --typescript-compiler-folder ./node_modules/typescript && copyfiles -u 1 ./_api-extractor-temp/doc-models/* ../../../_api-extractor-temp/", | ||
"ci:test": "npm run test:report", | ||
@@ -36,0 +36,0 @@ "ci:test:coverage": "npm run test:coverage", |
@@ -20,4 +20,10 @@ /*! | ||
// by deferring to Node version, which uses a hash polyfill | ||
// When packed, this chunk will show as "FluidFramework-HashFallback" separately | ||
// from the main chunk and will be of non-trivial size. It will not be served | ||
// under normal circumstances. | ||
if (crypto.subtle === undefined) { | ||
return import("./hashFileNode").then(async (m) => m.hashFile(file)); | ||
return import( | ||
/* webpackChunkName: "FluidFramework-HashFallback" */ | ||
"./hashFileNode" | ||
).then(async (m) => m.hashFile(file)); | ||
} | ||
@@ -24,0 +30,0 @@ |
@@ -26,1 +26,2 @@ /*! | ||
export * from "./delay"; | ||
export * from "./bufferShared"; |
@@ -9,2 +9,2 @@ /*! | ||
export const pkgName = "@fluidframework/common-utils"; | ||
export const pkgVersion = "0.32.0-31336"; | ||
export const pkgVersion = "0.32.0-32933"; |
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
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
476933
280
6509