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

buttercms

Package Overview
Dependencies
Maintainers
1
Versions
50
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

buttercms - npm Package Compare versions

Comparing version 1.2.8 to 1.2.9

1

lib/butter.d.ts

@@ -44,2 +44,3 @@ import { AxiosInstance } from "axios";

list(page_type: string, params?: any): Promise<Response>;
search(query: string, params?: any): Promise<Response>;
}

@@ -46,0 +47,0 @@

2

package.json
{
"name": "buttercms",
"version": "1.2.8",
"version": "1.2.9",
"description": "ButterCMS API Client",

@@ -5,0 +5,0 @@ "keywords": [

@@ -20,3 +20,3 @@ # ButterCMS JS client

```html
<script src="https://cdnjs.buttercms.com/buttercms-1.1.4.min.js"></script>
<script src="https://cdnjs.buttercms.com/buttercms-1.2.8.min.js"></script>
```

@@ -29,3 +29,3 @@

```js
var butter = require('buttercms')('api_token_567abe');
const butter = require('buttercms')('api_token_567abe');
```

@@ -43,3 +43,3 @@

```js
import Butter = require('buttercms');
import Butter from 'buttercms';
const butter = Butter('api_token_567abe');

@@ -52,3 +52,3 @@ ```

<script>
var butter = Butter('api_token_567abe');
const butter = Butter('api_token_567abe');
</script>

@@ -98,3 +98,3 @@ ```

```js
var butter = require('buttercms')('your butter API token', true);
const butter = require('buttercms')('your butter API token', true);
```

@@ -105,3 +105,3 @@

```js
var butter = require('buttercms')('your butter API token', process.env.BUTTER_PREVIEW_MODE);
const butter = require('buttercms')('your butter API token', process.env.BUTTER_PREVIEW_MODE);
```

@@ -135,3 +135,3 @@

```js
var butter = require('buttercms')('your butter API token', false, 5000);
const butter = require('buttercms')('your butter API token', false, 5000);
```

@@ -152,3 +152,3 @@

var butter = require('buttercms')('your butter API token', false, 5000, axiosHook);
const butter = require('buttercms')('your butter API token', false, 5000, axiosHook);
```

@@ -155,0 +155,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