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

@apollo/query-planner-wasm

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@apollo/query-planner-wasm - npm Package Compare versions

Comparing version 0.2.1 to 0.2.2

6

CHANGELOG.md

@@ -7,6 +7,10 @@ # CHANGELOG for `@apollo/query-planner-wasm`

- _Nothing yet! Stay tuned!_
- _Nothing yet! Stay tuned!_
## v0.2.2
- Fix an error caused by a lacking relatively prefix on the items in `exports`, following up [PR #270](https://github.com/ap ollographql/federation/pull/270)
## v0.2.0
- To facilitate interoperability with bundlers (e.g., Webpack) attempting to bundle this package which includes a WASM module, we will also now generate a ECMAScript Module (ESM) entry-point for this package _in addition to the existing CommonJS (CJS) bundle. This new ESM entry-point is conveyed via the [`exports` object within the `package.json`](https://nodejs.org/api/packages.html#packages_exports) of the published package. It's worth noting that package has always had a WebAssembly (WASM; `.wasm`) module inside of it which was produced with [`wasm-pack`](https://github.com/rustwasm/wasm-pack) but, prior to this change, we'd been specifying the [`--target nodejs`](https://rustwasm.github.io/wasm-pack/book/commands/build.html#target) flag to `wasm-pack build`. [PR #270](https://github.com/apollographql/federation/pull/270) [Issue #255](https://github.com/apollographql/federation/issues/255)

8

package.json
{
"name": "@apollo/query-planner-wasm",
"version": "0.2.1",
"version": "0.2.2",
"description": "Bridge code written in Rust to Javascript/Typescript, to be internally used by Apollo Gateway. This package is not meant to be independently consumed.",

@@ -34,7 +34,7 @@ "scripts": {

"exports": {
"require": "dist/index.js",
"import": "module/index.js"
"require": "./dist/index.js",
"import": "./module/index.js"
},
"types": "dist/index.d.ts",
"gitHead": "cbe0055d032dad704d25ffd68770f34997a4cc8a"
"gitHead": "8c4719fbdc0196165f6be0cea055c8951a97b690"
}
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