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

active-model-adapter

Package Overview
Dependencies
Maintainers
3
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

active-model-adapter - npm Package Compare versions

Comparing version 2.1.0 to 2.1.1

14

app/initializers/active-model-adapter.js

@@ -6,13 +6,7 @@ import ActiveModelAdapter from "active-model-adapter";

name: 'active-model-adapter',
initialize: function(app) {
if (arguments.length === 1) {
// support the old registration API
app.register('adapter:-active-model', ActiveModelAdapter);
app.register('serializer:-active-model', ActiveModelSerializer);
} else {
let registry = app;
registry.register('adapter:-active-model', ActiveModelAdapter);
registry.register('serializer:-active-model', ActiveModelSerializer);
}
initialize: function() {
var application = arguments[1] || arguments[0];
application.register('adapter:-active-model', ActiveModelAdapter);
application.register('serializer:-active-model', ActiveModelSerializer);
}
};

@@ -5,4 +5,8 @@ # Ember Data ActiveModel Adapter Changelog

## 2.1.0
## 2.1.1 February 17, 2016
- Restore old initializer code from 2.0.3
## 2.1.0 February 17, 2016
- [#80](https://github.com/ember-data/active-model-adapter/pull/80) [bugfix] Allow relationships to not have the _id suffix

@@ -9,0 +13,0 @@ - [#51](https://github.com/ember-data/active-model-adapter/pull/51) [bugfix] add tests around errors

{
"name": "active-model-adapter",
"version": "2.1.0",
"version": "2.1.1",
"repository": "https://github.com/ember-data/active-model-adapter",

@@ -5,0 +5,0 @@ "description": "The default blueprint for ember-cli addons.",

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