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

material

Package Overview
Dependencies
Maintainers
3
Versions
72
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

material - npm Package Compare versions

Comparing version 0.8.0 to 0.8.1

2

package.json
{
"name": "material",
"version": "0.8.0",
"version": "0.8.1",
"description": "A lightweight implementation of Material Design Components for the web - ES6",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -24,3 +24,3 @@ const request = async (url, method = 'GET', body = null, headers = {}, signal = null, debug = false) => {

if (!response.ok) {
throw new Error(`Network response was not ok! ${response.status}`)
console.log('Error', response)
}

@@ -35,4 +35,7 @@

} catch (error) {
console.error('There has been a problem with your fetch operation:', error)
return { error }
if (headers.Accept === 'text/xml') {
return error
} else {
return { error }
}
}

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