Comparing version 6.0.1 to 6.0.2
{ | ||
"name": "telejson", | ||
"version": "6.0.1", | ||
"version": "6.0.2", | ||
"description": "", | ||
@@ -23,18 +23,15 @@ "keywords": [ | ||
}, | ||
"license": "MIT", | ||
"exports": { | ||
"import": "./dist/index.mjs", | ||
"require": "./dist/index.js" | ||
}, | ||
"main": "dist/index.js", | ||
"module": "dist/index.mjs", | ||
"types": "dist/index.d.ts", | ||
"files": [ | ||
"dist/*" | ||
], | ||
"license": "MIT", | ||
"main": "dist/cjs/index.js", | ||
"types": "dist/types/index.d.ts", | ||
"module": "dist/esm/index.mjs", | ||
"exports": { | ||
"import": "./dist/esm/index.mjs", | ||
"require": "./dist/cjs/index.js" | ||
}, | ||
"scripts": { | ||
"build:cjs": "babel src --out-dir dist/cjs --extensions \".ts\"", | ||
"build:esm": "BABEL_ESM=true babel src --out-dir dist/esm --extensions \".ts\" --out-file-extension \".mjs\"", | ||
"build:tsc": "tsc --emitDeclarationOnly", | ||
"build": "yarn build:cjs && yarn build:esm && yarn build:tsc", | ||
"build": "tsup", | ||
"lint": "eslint src --ext .js,.ts", | ||
@@ -47,8 +44,11 @@ "prepublish": "yarn build", | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true | ||
}, | ||
"extends": [ | ||
"@storybook/eslint-config-storybook" | ||
], | ||
"env": { | ||
"browser": true | ||
} | ||
"ignorePatterns": [ | ||
"dist/*" | ||
] | ||
}, | ||
@@ -81,2 +81,3 @@ "jest": {}, | ||
"regenerator-runtime": "^0.13.7", | ||
"tsup": "^5.12.7", | ||
"typescript": "^4.2.3" | ||
@@ -86,3 +87,15 @@ }, | ||
"access": "public" | ||
}, | ||
"tsup": { | ||
"entry": [ | ||
"src/index.ts" | ||
], | ||
"format": [ | ||
"esm", | ||
"cjs" | ||
], | ||
"sourcemap": true, | ||
"clean": true, | ||
"dts": true | ||
} | ||
} |
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
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Uses eval
Supply chain riskPackage uses eval() which is a dangerous function. This prevents the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
81181
16
7
813
7