@wixc3/browser
Advanced tools
Comparing version 2.2.0 to 3.0.0
{ | ||
"name": "@wixc3/browser", | ||
"version": "2.2.0", | ||
"description": "Common utils, usable in all environments", | ||
"module": "dist/index.js", | ||
"version": "3.0.0", | ||
"description": "Browser only utils", | ||
"main": "dist/cjs/index.js", | ||
"module": "dist/esm/index.js", | ||
"author": "Wix.com", | ||
@@ -11,3 +12,4 @@ "sideEffects": false, | ||
"src", | ||
"!dist/tsconfig.tsbuildinfo" | ||
"!dist/*/test", | ||
"!dist/*/tsconfig.tsbuildinfo" | ||
], | ||
@@ -14,0 +16,0 @@ "license": "MIT", |
@@ -0,1 +1,5 @@ | ||
/** | ||
* Loads a script in browser | ||
* @returns | ||
*/ | ||
export const loadScript = (src: string, document: Document): Promise<void> => | ||
@@ -2,0 +6,0 @@ new Promise<void>((resolve, reject) => { |
{ | ||
"extends": "../../../tsconfig.base.json", | ||
"compilerOptions": { | ||
"outDir": "../dist", | ||
"module": "esnext", | ||
"outDir": "../dist/cjs", | ||
"lib": ["dom", "ES2022"] | ||
}, | ||
"references": [] | ||
} | ||
} |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
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
No README
QualityPackage does not have a README. This may indicate a failed publish or a low quality package.
Found 1 instance in 1 package
13009
31
207
1
23
1