Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@changesets/types

Package Overview
Dependencies
Maintainers
1
Versions
25
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@changesets/types - npm Package Compare versions

Comparing version 0.1.0 to 0.1.2

dist/declarations/src/index.d.ts

7

CHANGELOG.md
# @changesets/types
## 0.1.2
### Patch Changes
- [a15abbf9](https://github.com/changesets/changesets/commit/a15abbf9) - Previous release shipped unbuilt code - fixing that
## 0.1.0
### Minor Changes

@@ -5,0 +12,0 @@

12

dist/types.cjs.js

@@ -1,7 +0,7 @@

"use strict";
'use strict';
let unregister = require("/Users/bconolly/Development/changesets/node_modules/@preconstruct/hook/dist/hook.cjs.js").___internalHook("/Users/bconolly/Development/changesets");
module.exports = require("/Users/bconolly/Development/changesets/packages/types/src/index.ts");
unregister();
if (process.env.NODE_ENV === "production") {
module.exports = require("./types.cjs.prod.js");
} else {
module.exports = require("./types.cjs.dev.js");
}

@@ -1,15 +0,1 @@

// 👋 hey!!
// you might be reading this and seeing .esm in the filename
// and being confused why there is commonjs below this filename
// DON'T WORRY!
// this is intentional
// it's only commonjs with `preconstruct dev`
// when you run `preconstruct build`, it will be ESM
// why is it commonjs?
// we need to re-export every export from the source file
// but we can't do that with ESM without knowing what the exports are (because default exports aren't included in export/import *)
// and they could change after running `preconstruct dev` so we can't look at the file without forcing people to
// run preconstruct dev again which wouldn't be ideal
// this solution could change but for now, it's working
module.exports = require("/Users/bconolly/Development/changesets/packages/types/src/index.ts")
// NB: Bolt check uses a different dependnecy set to every other package.
{
"name": "@changesets/types",
"version": "0.1.0",
"version": "0.1.2",
"description": "Common types shared between changeset packages",

@@ -5,0 +5,0 @@ "main": "dist/types.cjs.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