omit-empty-es
Advanced tools
Comparing version 0.0.0-canary-2020115151612 to 0.0.0-canary-202108182517
@@ -1,5 +0,21 @@ | ||
# 1.0.3 | ||
## 1.1.0 | ||
## 0.0.0-canary-2020115151612 | ||
## 0.0.0-canary-202108182517 | ||
### Patch Changes | ||
- [`e3e0c6a`](https://github.com/emmenko/omit-empty-es/commit/e3e0c6af13ab7defb57a717df965b9ff0271a628) [#10](https://github.com/emmenko/omit-empty-es/pull/10) Thanks [@renovate](https://github.com/apps/renovate)! - chore(deps): update all dependencies | ||
## 1.1.2 | ||
### Patch Changes | ||
- [`e0e7cc1`](https://github.com/emmenko/omit-empty-es/commit/e0e7cc18a3d8d3cc0c3ee25595c01cfbbdbce8b3) Thanks [@emmenko](https://github.com/emmenko)! - Remove postinstall script | ||
## 1.1.1 | ||
### Patch Changes | ||
- [`4abfbae`](https://github.com/emmenko/omit-empty-es/commit/4abfbaea37c6d5daa1fbb11873c5d999243649e5) Thanks [@emmenko](https://github.com/emmenko)! - Fix wrong production bundles | ||
### Minor Changes | ||
@@ -9,14 +25,16 @@ | ||
## 1.0.3 | ||
- bundle using [Rollup](https://rollupjs.org/) | ||
# 1.0.2 | ||
## 1.0.2 | ||
- remove UMD build | ||
# 1.0.1 | ||
## 1.0.1 | ||
- define module entry points and UMD bundle | ||
# 1.0.0 | ||
## 1.0.0 | ||
Publish `omit-empty-es` as a production bundle using [Parcel](https://parceljs.org/). |
@@ -1,12 +0,2 @@ | ||
// are you seeing an error that a default export doesn't exist but your source file has a default export? | ||
// you should run `yarn` or `yarn preconstruct dev` if preconstruct dev isn't in your postinstall hook | ||
// curious why you need to? | ||
// this file exists so that you can import from the entrypoint normally | ||
// except that it points to your source file and you don't need to run build constantly | ||
// which means we need to re-export all of the modules from your source file | ||
// and since export * doesn't include default exports, we need to read your source file | ||
// to check for a default export and re-export it if it exists | ||
// it's not ideal, but it works pretty well ¯\_(ツ)_/¯ | ||
export * from "../src/index"; | ||
export { default } from "../src/index"; | ||
export * from "./declarations/src/index"; | ||
export { default } from "./declarations/src/index"; |
@@ -1,16 +0,7 @@ | ||
"use strict"; | ||
// this file might look strange and you might be wondering what it's for | ||
// it's lets you import your source files by importing this entrypoint | ||
// as you would import it if it was built with preconstruct build | ||
// this file is slightly different to some others though | ||
// it has a require hook which compiles your code with Babel | ||
// this means that you don't have to set up @babel/register or anything like that | ||
// but you can still require this module and it'll be compiled | ||
'use strict'; | ||
// this bit of code imports the require hook and registers it | ||
let unregister = require("../node_modules/@preconstruct/hook").___internalHook(typeof __dirname === 'undefined' ? undefined : __dirname, "..", ".."); | ||
// this re-exports the source file | ||
module.exports = require("../src/index.ts"); | ||
unregister(); | ||
if (process.env.NODE_ENV === "production") { | ||
module.exports = require("./omit-empty-es.cjs.prod.js"); | ||
} else { | ||
module.exports = require("./omit-empty-es.cjs.dev.js"); | ||
} |
{ | ||
"name": "omit-empty-es", | ||
"description": "(fork of omit-empty) Recursively omit empty properties from an object. Omits empty objects, arrays, strings or zero.", | ||
"version": "0.0.0-canary-2020115151612", | ||
"version": "0.0.0-canary-202108182517", | ||
"homepage": "https://github.com/emmenko/omit-empty-es", | ||
@@ -22,3 +22,2 @@ "repository": { | ||
"scripts": { | ||
"postinstall": "preconstruct dev", | ||
"build": "preconstruct build", | ||
@@ -32,20 +31,20 @@ "watch": "preconstruct watch", | ||
"dependencies": { | ||
"@babel/runtime": "7.12.1", | ||
"@babel/runtime-corejs3": "7.12.1" | ||
"@babel/runtime": "7.12.5", | ||
"@babel/runtime-corejs3": "7.12.5" | ||
}, | ||
"devDependencies": { | ||
"@babel/plugin-transform-runtime": "7.12.1", | ||
"@babel/preset-env": "7.12.1", | ||
"@babel/preset-typescript": "7.12.1", | ||
"@babel/plugin-transform-runtime": "7.12.10", | ||
"@babel/preset-env": "7.12.11", | ||
"@babel/preset-typescript": "7.12.7", | ||
"@changesets/changelog-github": "0.2.7", | ||
"@changesets/cli": "2.11.2", | ||
"@changesets/cli": "2.12.0", | ||
"@commitlint/cli": "11.0.0", | ||
"@commitlint/config-conventional": "11.0.0", | ||
"@preconstruct/cli": "2.0.0", | ||
"@types/node": "14.14.6", | ||
"@typescript-eslint/eslint-plugin": "4.6.1", | ||
"@typescript-eslint/parser": "4.6.1", | ||
"@preconstruct/cli": "2.0.1", | ||
"@types/node": "14.14.20", | ||
"@typescript-eslint/eslint-plugin": "4.12.0", | ||
"@typescript-eslint/parser": "4.12.0", | ||
"babel-jest": "26.6.3", | ||
"cross-env": "7.0.3", | ||
"eslint": "7.12.1", | ||
"eslint": "7.17.0", | ||
"eslint-config-prettier": "6.15.0", | ||
@@ -56,5 +55,5 @@ "eslint-formatter-pretty": "4.0.0", | ||
"eslint-plugin-import": "2.22.1", | ||
"eslint-plugin-jest": "24.1.0", | ||
"eslint-plugin-prettier": "3.1.4", | ||
"husky": "4.3.4", | ||
"eslint-plugin-jest": "24.1.3", | ||
"eslint-plugin-prettier": "3.3.1", | ||
"husky": "4.3.7", | ||
"jest": "26.6.3", | ||
@@ -64,4 +63,4 @@ "lint-staged": "10.5.3", | ||
"rimraf": "3.0.2", | ||
"ts-jest": "26.4.3", | ||
"typescript": "4.0.5" | ||
"ts-jest": "26.4.4", | ||
"typescript": "4.1.3" | ||
}, | ||
@@ -68,0 +67,0 @@ "keywords": [ |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
Install scripts
Supply chain riskInstall scripts are run when the package is installed. The majority of malware in npm is hidden in install scripts.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
35958
12
929
0
1
+ Added@babel/runtime@7.12.5(transitive)
+ Added@babel/runtime-corejs3@7.12.5(transitive)
- Removed@babel/runtime@7.12.1(transitive)
- Removed@babel/runtime-corejs3@7.12.1(transitive)
Updated@babel/runtime@7.12.5