Skip to content
This repository was archived by the owner on Nov 10, 2023. It is now read-only.

npm registry version 3.4.1 not match github master version #68

@youknowme09

Description

@youknowme09

Since I set the option.index = true , but not working.
I found from npm registry loopback-ds-timestamp-mixin is different from github master version.

The main diff is es6/time-stamp.js

// github version
const options = Object.assign({
    createdAt: 'createdAt',
    updatedAt: 'updatedAt',
    required: true,
    validateUpsert: false, // default to turning validation off
    silenceWarnings: false,
    index: false,
  }, bootOptions);
// npm version
  const options = Object.assign({
    createdAt: 'createdAt',
    updatedAt: 'updatedAt',
    required: true,
    validateUpsert: false, // default to turning validation off
    silenceWarnings: false,
  }, bootOptions);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions