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

babel-plugin-inline-import-graphql-ast

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

babel-plugin-inline-import-graphql-ast - npm Package Compare versions

Comparing version 2.4.0 to 2.4.1

6

CHANGELOG.md
# ChangeLog
## v2.4.1 (May 27, 2018)
### Maintenance
* Deprecate this package in favor of `babel-plugin-import-graphql` (see README)
## v2.4.0 (May 18, 2018)

@@ -4,0 +10,0 @@

2

package.json
{
"name": "babel-plugin-inline-import-graphql-ast",
"version": "2.4.0",
"version": "2.4.1",
"description": "Babel plugin to make .gql/.graphql files importable",

@@ -5,0 +5,0 @@ "author": "Alexander Roberts <detrohutt@gmail.com>",

@@ -10,2 +10,38 @@ [![npm Version](https://img.shields.io/npm/v/babel-plugin-inline-import-graphql-ast.svg)](https://www.npmjs.com/package/babel-plugin-inline-import-graphql-ast)

---
<h2 style="color: red;">***Deprecated***</h2>
* As of May 27, 2018, the `babel-plugin-inline-import-graphql-ast` package name and the corresponding GitHub repo are deprecated. Please use [`babel-plugin-import-graphql` (NPM)](https://www.npmjs.com/package/babel-plugin-import-graphql) and [the new GitHub repo](https://github.com/detrohutt/babel-plugin-import-graphql) instead.
* `babel-plugin-import-graphql@2.x` will remain backwards compatible with the previous package so switching over is safe and easy.
* `babel-plugin-import-graphql@2.4.2` is identical to `2.4.0` and `2.4.1` of `babel-plugin-inline-import-graphql-ast`, with the exception of the package name and `README.md` file.
### Migrating to babel-plugin-import-graphql
#### Update your `package.json` file
###### Update the package name in `devDependencies`:
`babel-plugin-inline-import-graphql-ast` -> `babel-plugin-import-graphql`.
###### Make sure your version string is compatible:
The first published version of `babel-plugin-import-graphql` is `2.4.2` so please make sure your version string matches that. For instance, `"babel-plugin-import-graphql": "^2.0.0"` is fine because of the caret.
If you've pinned to a specific version, you'll need to upgrade and pin to at least `2.4.2` or widen your version range to include it.
#### Update your babel configuration
###### Update `plugins` array:
`babel-plugin-inline-import-graphql-ast` (or `inline-import-graphql-ast`) -> `import-graphql`.
Congratulations, you're all set!
> If you enjoy my package go [star the new repo](https://github.com/detrohutt/babel-plugin-import-graphql) or share on Twitter (and [follow me](https://twitter.com/detrohutt) for updates)!
---
### Install

@@ -12,0 +48,0 @@

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