Comparing version 1.2.10 to 1.2.11
# Changelog | ||
### 1.0.0 (Apr 9, 2016) | ||
## 1.2.11 (April 17, 2023) | ||
- Initial release | ||
### Updated | ||
- Updated axios from 1.2.5 to ^1.3.5 | ||
- Fixed bug with axios.create() | ||
## 1.2.10 (Feb 27, 2023) | ||
### Added | ||
- Added webpack-cli to run webpack from CLI | ||
### Updated | ||
- Updated dependencies: | ||
- Updated axios from ~0.21.1 to ^1.2.5 | ||
- Updated uglify-js from ^2.8.22 to ^3.17.4 | ||
- Updated async from 2.6.3 to 2.6.4 | ||
- Updated tar from 4.4.13 to 4.4.19 | ||
- Updated ini from 1.3.5 to 1.3.8 | ||
- Updated decode-uri-component from 0.2.0 to 0.2.2 | ||
- Updated webpack from 2.7.0 to 5.75.0, | ||
- Updated README.md to bump the JavaScript version | ||
### Removed | ||
- Removed json5 and loader-utils as they are no longer used after updating webpack dependency | ||
## 1.0.0 (Apr 9, 2016) | ||
- Initial release |
'use strict'; | ||
var BUTTER_CLIENT_VERSION = '1.2.5'; | ||
var BUTTER_CLIENT_VERSION = '1.2.11'; | ||
var axios = require('axios'); | ||
const axios = require('axios').default; | ||
@@ -38,2 +38,3 @@ var resources = { | ||
Butter.prototype = { | ||
version: BUTTER_CLIENT_VERSION, | ||
_prepResources: function(requestMethods) { | ||
@@ -40,0 +41,0 @@ for (var name in resources) { |
{ | ||
"name": "buttercms", | ||
"version": "1.2.10", | ||
"version": "1.2.11", | ||
"description": "ButterCMS API Client", | ||
@@ -16,3 +16,5 @@ "keywords": [ | ||
"scripts": { | ||
"build": "webpack && uglifyjs ./dist/butter.js -c -m -o ./dist/butter.min.js" | ||
"build": "webpack && uglifyjs ./dist/butter.js -c -m -o ./dist/butter.min.js", | ||
"run-implementation-test": "cd tests && python3 -m http.server", | ||
"test-build": "webpack && uglifyjs ./dist/butter.js -c -m -o ./tests/lib/butter.min.js" | ||
}, | ||
@@ -28,3 +30,3 @@ "homepage": "https://github.com/buttercms/buttercms-js", | ||
"dependencies": { | ||
"axios": "^1.2.5" | ||
"axios": "^1.3.5" | ||
}, | ||
@@ -31,0 +33,0 @@ "license": "MIT", |
@@ -20,3 +20,3 @@ # ButterCMS JS client | ||
```html | ||
<script src="https://cdnjs.buttercms.com/buttercms-1.2.9.min.js"></script> | ||
<script src="https://cdnjs.buttercms.com/buttercms-1.2.11.min.js"></script> | ||
``` | ||
@@ -23,0 +23,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
57353
21
631
0
Updatedaxios@^1.3.5