@microsoft/dynamicproto-js
Advanced tools
Comparing version 0.0.7 to 0.1.0
{ | ||
"name": "@microsoft/dynamicproto-js", | ||
"author": "Microsoft Application Insights Team", | ||
"version": "0.0.7", | ||
"version": "0.1.0", | ||
"description": "Microsoft Dynamic Proto Utility", | ||
@@ -15,4 +15,4 @@ "keywords": [ | ||
], | ||
"main": "./dist/dynamicproto-js.js", | ||
"module": "./dist/dynamicproto-js.js", | ||
"main": "./dist/node/dynamicproto-js.js", | ||
"module": "./dist/esm/dynamicproto-js.js", | ||
"types": "./types/dynamicproto-js.d.ts", | ||
@@ -19,0 +19,0 @@ "directories": { |
{ | ||
"name": "@microsoft/dynamicproto-js", | ||
"description": "Microsoft Dynamic Proto Utility", | ||
"version": "0.0.7", | ||
"version": "0.1.0", | ||
"keywords": [ | ||
@@ -14,4 +14,4 @@ "javascript", | ||
], | ||
"main": "./lib/dist/dynamicproto-js.js", | ||
"module": "./lib/dist/dynamicproto-js.js", | ||
"main": "./lib/dist/node/dynamicproto-js.js", | ||
"module": "./lib/dist/esm/dynamicproto-js.js", | ||
"types": "./lib/types/dynamicproto-js.d.ts", | ||
@@ -18,0 +18,0 @@ "directories": { |
@@ -162,2 +162,17 @@ # Dynamic Proto JavaScript | ||
## Included NPM distribution formats | ||
As part of the build / publish formats via NPM we include the following module formats: | ||
* dist/esm – Used as the "module" definition for npm, which keeps the bundle as an ES module file, suitable for other bundlers and inclusion as a < amd – Asynchronous Module Definition, used with module loaders like RequireJS | ||
* dist/node - Used as the "main" npm entry point for the utility, using the umd format with any third party modules located and included using the [Node resolution algorithm](https://nodejs.org/api/modules.html#modules_all_together) | ||
### Other included formats | ||
* dist/cjs – CommonJS, suitable for Node and other bundlers | ||
script type=module> tag in modern browsers | ||
* dist/iife – A self-executing function, suitable for inclusion as a <script> tag. (If you want to create a bundle for your application, you probably want to use this.) | ||
* dist/umd – Universal Module Definition, works as amd, cjs and iife all in one | ||
* dist/system – Native format of the SystemJS loader | ||
## Browser Support | ||
@@ -164,0 +179,0 @@ |
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
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
Deprecated
MaintenanceThe maintainer of the package marked it as deprecated. This could indicate that a single version should not be used, or that the package is no longer maintained and any new vulnerabilities will not be fixed.
Found 1 instance in 1 package
1782457
45
4545
214