Skip to content

Commit b1b09ec

Browse files
committed
Update dependencies
1 parent dd8d4a6 commit b1b09ec

File tree

4 files changed

+7
-9
lines changed

4 files changed

+7
-9
lines changed

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
# purescript-media-types
22

3-
[![Latest release](http://img.shields.io/bower/v/purescript-media-types.svg)](https://github.com/purescript-contrib/purescript-media-types/releases)
3+
[![Latest release](http://img.shields.io/github/release/purescript-contrib/purescript-media-types.svg)](https://github.com/purescript-contrib/purescript-media-types/releases)
44
[![Build Status](https://travis-ci.org/purescript-contrib/purescript-media-types.svg?branch=master)](https://travis-ci.org/purescript-contrib/purescript-media-types)
5-
[![Dependency Status](https://www.versioneye.com/user/projects/575589687757a0004a1de097/badge.svg?style=flat)](https://www.versioneye.com/user/projects/575589687757a0004a1de097)
65
[![Maintainer: garyb](https://img.shields.io/badge/maintainer-garyb-lightgrey.svg)](http://github.com/garyb)
76

87
Internet media / content / MIME types.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@
1717
"package.json"
1818
],
1919
"dependencies": {
20-
"purescript-generics": "^1.0.0"
20+
"purescript-generics": "^3.0.0"
2121
}
2222
}

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@
55
"build": "pulp build --censor-lib --strict"
66
},
77
"devDependencies": {
8-
"pulp": "^9.0.0",
8+
"pulp": "^9.0.1",
99
"purescript-psa": "^0.3.9",
10-
"purescript": "^0.9.1",
11-
"rimraf": "^2.5.0"
10+
"purescript": "^0.10.1",
11+
"rimraf": "^2.5.4"
1212
}
1313
}

src/Data/MediaType.purs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,11 @@ module Data.MediaType where
33
import Prelude
44

55
import Data.Generic (class Generic)
6+
import Data.Newtype (class Newtype)
67

78
newtype MediaType = MediaType String
89

9-
unMediaType :: MediaType -> String
10-
unMediaType (MediaType s) = s
11-
10+
derive instance newtypeMediaType :: Newtype MediaType
1211
derive instance eqMediaType :: Eq MediaType
1312
derive instance ordMediaType :: Ord MediaType
1413
derive instance genericMediaType :: Generic MediaType

0 commit comments

Comments
 (0)