New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

option-t

Package Overview
Dependencies
Maintainers
1
Versions
333
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

option-t - npm Package Compare versions

Comparing version 6.0.0 to 6.1.0

es6/index.d.ts

12

CHANGELOG.md

@@ -5,2 +5,14 @@ # Changelog

## 6.1.0
### Enhancement
- Enhancement for tree shaking via a bundler ([#177](https://github.com/saneyuki/option-t.js/pull/177)).
- Add ES module syntax version to `es6/` directory.
- You can use them with `option-t/es6/**`.
- By this change, the output code size may be more smaller
if you use a bundler which supports tree shaking like [webpack2](https://webpack.js.org/guides/tree-shaking/)
or [rollup.js](https://github.com/rollup/rollup).
## 6.0.0

@@ -7,0 +19,0 @@

17

package.json
{
"name": "option-t",
"version": "6.0.0",
"version": "6.1.0",
"description": "Option type implementation whose APIs are inspired by Rust's `Option<T>`.",

@@ -9,2 +9,3 @@ "main": "lib/index.js",

"docs/",
"es6",
"LICENSE.MIT",

@@ -20,7 +21,11 @@ "package.json",

"clean_type_test": "del ./__type_test",
"prebuild": "del ./lib",
"build": "npm-run-all --parallel build_js build_type_definition build_ts",
"build_js": "babel ./src --out-dir ./lib/ --extensions=.js --no-babelrc --plugins transform-es2015-modules-commonjs",
"build_type_definition": "cpx './src/**/*.d.ts' ./lib/ --preserve",
"build_ts": "tsc -p ./tsconfig_lib.json",
"prebuild": "del ./lib ./es6",
"build": "npm-run-all --parallel build_cjs build_es6",
"build_cjs": "npm-run-all --parallel build_cjs_js build_cjs_type_definition build_cjs_ts",
"build_cjs_js": "babel ./src --out-dir ./lib/ --extensions=.js --no-babelrc --plugins transform-es2015-modules-commonjs",
"build_cjs_type_definition": "cpx './src/**/*.d.ts' ./lib/ --preserve",
"build_cjs_ts": "tsc -p ./tsconfig_lib.json",
"build_es6": "npm-run-all --parallel build_es6_js build_es6_ts",
"build_es6_js": "cpx './src/**/*.{js,d.ts}' ./es6/ --preserve",
"build_es6_ts": "tsc -p ./tsconfig_es6.json",
"test_preprocess": "babel test/ --out-dir ./__test_cache/ --extensions .js,.jsx --source-maps inline",

@@ -27,0 +32,0 @@ "lint": "eslint . ./**/.eslintrc.js --ext .js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc